octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63213] Contour plots erroneous labels


From: Tommi Höynälänmaa
Subject: [Octave-bug-tracker] [bug #63213] Contour plots erroneous labels
Date: Sun, 16 Oct 2022 12:01:20 -0400 (EDT)

Follow-up Comment #8, bug #63213 (project octave):

The following patch for scripts/plot/appearance/__clabel__.m helps for at
least the plots in this bug report:


106,107c106,108
<       tpos = sum (c(:,i+j-1:i+j), 2) / 2;
< 
---
>       #tpos = sum (c(:,i+j-1:i+j), 2) / 2;
>       tpos = sum (c(:,i+j:i+j+1), 2) / 2;
>       
110,111c111,114
<         trot = 180 / pi * atan2 (diff (c(2,i+j-1:i+j)) * yspacing,
<                                  diff (c(1,i+j-1:i+j)) * xspacing);
---
>         ## trot = 180 / pi * atan2 (diff (c(2,i+j-1:i+j)) * yspacing,
>         ##                          diff (c(1,i+j-1:i+j)) * xspacing);
>         trot = 180 / pi * atan2 (diff (c(2,i+j:i+j+1)) * yspacing,
>                                  diff (c(1,i+j:i+j+1)) * xspacing);




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63213>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]