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

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

[Octave-bug-tracker] [bug #59534] Long form color like "black" not accep


From: Rik
Subject: [Octave-bug-tracker] [bug #59534] Long form color like "black" not accepted in LineSpec for functions like plot
Date: Thu, 26 Nov 2020 10:33:51 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36

Update of bug #59534 (project octave):

                 Summary: color format arguments like "black" do not work in
plots => Long form color like "black" not accepted in LineSpec for functions
like plot

    _______________________________________________________

Follow-up Comment #2:

It seems like kind of a nice feature.  Just to note, Matlab has not behaved
this way in the past and they don't document that the feature exists.  See
https://www.mathworks.com/help/matlab/ref/plot.html.

There are two parts to supporting this in Octave

1) Having "color" properties support long-form arguments
2) Having LineSpec parsed correctly.

Part 1 already exists in Octave.  For example, this code works:


h = plot (1:10, 'o-k')
set (h, 'MarkerEdgeColor', 'green')


The second part should be possible because there is a single routine for
decoding LineSpec.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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