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 04:15:26 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0

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

@Glenn: I got 4 copies of your e-mail direct from the bug tracker so no need
to send me anything.

You are right that for legend objects the default interpreter is 'tex'.  This
was done for Matlab compatibility.  Matlab axes objects do not have an
"interpreter" property hence a Matlab legend can't inherit from
DefaultAxesInterpreter.  With Octave we tried to be as compatible as possible
which means legend objects must have an interpreter property and according to
the documentation it defaults to 'tex' 
(http://www.mathworks.com/help/matlab/ref/legend.html).  It would be quite
straightforward to default it to DefaultTextInterpreter.  I've attached a
quick patch against the development code which does that.  We could consider
making that change if some of the other maintainers think its appropriate.


(file #31333)
    _______________________________________________________

Additional Item Attachment:

File name: legend_interpreter.patch       Size:0 KB


    _______________________________________________________

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]