|
From: | Dmitri A. Sergatskov |
Subject: | Re: Matlab compat question |
Date: | Mon, 20 Jun 2016 00:17:06 -0500 |
Le 20/06/2016 à 04:55, Daniel J Sebald a écrit :
On 06/14/2016 10:02 AM, Dmitri A. Sergatskov wrote:
Thanks Ray!
So fltk and qt do it right and gnuplot does it wrong...
Dmitri.
I don't know if this is classified wrong. The gnuplot toolkit accepts 'y' as yellow, but that is not a valid color in Octave (and Matlab?) definitions (only 'k' 'r' 'g' 'b' 'm' 'c' 'w'). That's along the same lines that Octave accepts "endwhile" as syntax whereas Matlab would throw and error. In both cases, different behavior for syntax not defined. It would be easy to change 'y' to black for gnuplot toolkit, but I don't know if it makes a difference one way or another.
'y' is also the shortcut for yellow in Matlab:
http://fr.mathworks.com/help/matlab/ref/plot.html?requestedDomain=www.mathworks.com#inputarg_LineSpec
So, Octave should support 'y' in all graphics toolkits.
@++
Julien
[Prev in Thread] | Current Thread | [Next in Thread] |