[Top][All Lists]

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

[Octave-bug-tracker] [bug #49400] Document that plot() ignores "defaulta

From: Martin Kunz
Subject: [Octave-bug-tracker] [bug #49400] Document that plot() ignores "defaultaxesbox" property
Date: Mon, 24 Oct 2016 16:09:14 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #4, bug #49400 (project octave):

Hi Pantxo,

I agree that the paragraph just before the "newplot" documentation would be a
valid choice for putting an additional explanation. However, facing the
unexpected result from two plot commands from comment #2, I would not search
there. How about adding two sentences to 15.3.5, 'Managing Default
Properties'? Below is a first draft with the new bits in the middle

"[...]The line in the second figure window is red because it inherits its
color from the global root figure parent object.

_For compatibility with MATLAB, high level functions like plot ignore
"defaultaxesbox" when creating a new axis and set the "box" property to "on".
Consider these examples:
[Examples from comment #2, nicely formatted]
If the box around axes is off by default, the two figures will look different
as "hold on" creates a default axis while "plot" does not._

   To remove a user-defined default setting, set the default property to the
value "remove".[...]"

If you find the suggestion with example too lengthy, we could just use the
first sentence.
I don't know how many other default properties are ignored by "plot" and the
like, is it possible to include a complete list at this point in the


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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