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

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

[Octave-bug-tracker] [bug #38264] OpenGL: can't change color of text lab


From: Rik
Subject: [Octave-bug-tracker] [bug #38264] OpenGL: can't change color of text labels in the legend
Date: Wed, 20 Feb 2013 23:25:31 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0

Follow-up Comment #6, bug #38264 (project octave):

Ben,

At least you can get text color to work outside of the legend.  Using
FLTK-1.10 I can't change the color of any text object.  However printing to
pdf is working correctly.  I think Octave is failing to call some updater
after it changes the text color.  I can prove this because if I change the
text color, and then change the text string forcing an update, both the string
and color are updated.

Example that works for me:


plot (1:10);
[hl, hc] = legend ("foo");
# "foo" is in black text
ht = findobj (hc, "type", "text");
set (ht, "color", "m");  # magenta, which is really noticeable
# There is no change in the legend text color.  Now do the following command.
set (ht, "string", "bar")



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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