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

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

[Octave-bug-tracker] [bug #56271] plot function default "linestyle" opti


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #56271] plot function default "linestyle" option when "marker" is specified
Date: Tue, 7 May 2019 14:54:38 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36

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

Confirmed. So Octave's current behavior agrees with Matlab. Apologies to the
reporter, but the current inconsistent behavior is the correct one, so we have
to keep it.

If it helps, we could improve the documentation of the plot function to help
explain this apparent difference. Do you have any suggestions?

One way of looking at it is that the shortcut "LineSpec" option must contain
all three of line style, marker style, and color. If you only specify "k+"
instead of "k+-", you are intentionally declaring that the line style is none,
not that the line style should be the default. There is no way to use the
shortcut syntax and say "use the default line style".

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56271>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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