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

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

[Octave-bug-tracker] [bug #48814] clabel: wrong label rotation


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #48814] clabel: wrong label rotation
Date: Thu, 18 Aug 2016 19:45:39 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0

Update of bug #48814 (project octave):

                 Summary: Rotated text in any print export => clabel: wrong
label rotation 

    _______________________________________________________

Follow-up Comment #1:

There are two issues here:
* On screen when using opengl based toolkits the labels are displayed with a
rotation = 0° because the actual "rotation" property of text objects is (a
bit) lower than 90°. 

...
h = clabel(c,h, power_scale_labels);
get (h, "rotation")

This is a known bug of the opengl text renderer, see #33118. The only
workaround is to use gnuplot toolkit. 

* The computed rotation seams wrong: the orientation of the labels should be
parallel to the contour lines. See e.g. "demo clabel 1".
If you're happy with horizontal labels then a workaround is to set the
rotation manually

h = clabel(c,h, power_scale_labels);
set (h, "rotation", 0)
 

So finally it is the printed output that is correct :-). Retitling the report
to reflect the second issue.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48814>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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