[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/
- [Octave-bug-tracker] [bug #56271] scatter function format options produces incorrect plot, anonymous, 2019/05/05
- [Octave-bug-tracker] [bug #56271] scatter function format options produces incorrect plot, anonymous, 2019/05/05
- [Octave-bug-tracker] [bug #56271] plot function default "linestyle" option when "marker" is specified, Mike Miller, 2019/05/05
- [Octave-bug-tracker] [bug #56271] plot function default "linestyle" option when "marker" is specified, anonymous, 2019/05/05
- [Octave-bug-tracker] [bug #56271] plot function default "linestyle" option when "marker" is specified, Rik, 2019/05/06
- [Octave-bug-tracker] [bug #56271] plot function default "linestyle" option when "marker" is specified,
Mike Miller <=
- [Octave-bug-tracker] [bug #56271] plot function default "linestyle" option when "marker" is specified, Mike Miller, 2019/05/09
- [Octave-bug-tracker] [bug #56271] plot function default "linestyle" option when "marker" is specified, Martin Gaudreault, 2019/05/12
- [Octave-bug-tracker] [bug #56271] plot function default "linestyle" option when "marker" is specified, Mike Miller, 2019/05/12
- [Octave-bug-tracker] [bug #56271] plot function default "linestyle" option when "marker" is specified, Martin Gaudreault, 2019/05/12
- [Octave-bug-tracker] [bug #56271] Improve documentation of plot function style argument when it specifies only one of linestyle or marker, Rik, 2019/05/18