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

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

[Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' proper


From: Rik
Subject: [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree
Date: Thu, 9 Mar 2017 23:55:19 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #5, bug #50496 (project octave):

Can you re-state the problem?  Everything seems to be fine to me.

The "DisplayName" property is text that is used for the label of an object
when displayed in a legend.  This property defaults to "".  It can be filled
in manually, or will be assigned by legend() if it is empty.

Example 1: Explicit assignment


hl = line ([0 1], [0 1], 'DisplayName', 'MyLineObject');
legend show


Example 1: No assignment


close all
hl = line ([0 1], [0 1]);
legend ('LineObject2')


The "interpreter" property doesn't exist on Matlab primitives like line
(http://www.mathworks.com/help/matlab/ref/primitiveline-properties.html) or
surface.  The fact that it does in Octave is an artifact of an earlier
implementation and should probably be removed from graphics.in.h.  I just
tried that and Octave compiles just fine.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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