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

[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, 08 May 2014 18:02:03 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0

Follow-up Comment #25, bug #40064 (project octave):

Issue 1 is the result of the chase for Matlab compatibility.  A legend is an
axes object, but it cannot inherit from DefaultAxesInterpreter because Matlab
does not have such a property.  Therefore we hardcode the initial value to
'tex' which accords with their documentation.  If they have gotten more
sensible about things and changed the default then we can too.  The most
sensible value would be DefaultTextInterpreter which is what my quick patch
would do.  If someone with Matlab can run the following code we can see
whether they have changed things.


set (0, 'DefaultTextInterpreter', 'none');
plot (rand (3, 1));
hl = legend ('A_1');
get (hl, 'interpreter')


If they follow their own documentation this will still return 'tex'.

Issue 2--I hate coding for gnuplot--is resolved by cset e5ab507687ee that I
just checked in on the stable branch.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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