octave-maintainers
[Top][All Lists]
Advanced

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

Re: Matlab compat question


From: Julien Bect
Subject: Re: Matlab compat question
Date: Mon, 20 Jun 2016 07:02:16 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.1.0

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




reply via email to

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