[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #40064] Legend "interpreter" property not work
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #40064] Legend "interpreter" property not working correctly |
Date: |
Thu, 26 Sep 2013 23:08:36 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 |
Follow-up Comment #5, bug #40064 (project octave):
I've found the problem. At least for me, the default axes interpreter
property is "none". The legend object is implemented as an axes with a text
and a line child for each entry. In this case the text object does not
inherit the interpreter property from the axis object and the default
interpreter for text objects is "tex".
What does the following return for you?
clf;
hax = axes ();
get (hax, 'interpreter')
It really should return 'none'.
And then, how about the following?
clf;
plot (1:10);
hl = legend ('abc');
get (hl, 'interpreter')
It should also return 'none' since the legend is just an axes object. You
might also try
get (0, 'defaultaxesinterpreter')
to see that there is nothing accidentally set.
Since all the other objects which use the interpreter property are defaulting
to 'tex', I'm tempted to change the default for axes properties in
graphics.in.h. I just tested that and demo #12 now works for me.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40064>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #40064] Legend "interpreter" property not working correctly, Rik, 2013/09/18
- [Octave-bug-tracker] [bug #40064] Legend "interpreter" property not working correctly, Ben Abbott, 2013/09/26
- [Octave-bug-tracker] [bug #40064] Legend "interpreter" property not working correctly, Rik, 2013/09/26
- [Octave-bug-tracker] [bug #40064] Legend "interpreter" property not working correctly, Ben Abbott, 2013/09/26
- [Octave-bug-tracker] [bug #40064] Legend "interpreter" property not working correctly, Michael Goffioul, 2013/09/26
- [Octave-bug-tracker] [bug #40064] Legend "interpreter" property not working correctly,
Rik <=
- [Octave-bug-tracker] [bug #40064] Legend "interpreter" property not working correctly, Michael Goffioul, 2013/09/26
- [Octave-bug-tracker] [bug #40064] Legend "interpreter" property not working correctly, Rik, 2013/09/26
- [Octave-bug-tracker] [bug #40064] Legend "interpreter" property not working correctly, Michael Goffioul, 2013/09/26
- [Octave-bug-tracker] [bug #40064] Legend "interpreter" property not working correctly, Ben Abbott, 2013/09/26
- [Octave-bug-tracker] [bug #40064] Legend "interpreter" property not working correctly, Rik, 2013/09/27