octave-maintainers
[Top][All Lists]
Advanced

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

Re: more graphics changes.


From: John W. Eaton
Subject: Re: more graphics changes.
Date: Wed, 21 Mar 2007 08:46:56 -0400

On 21-Mar-2007, David Bateman wrote:

| Another issue I just noticed that
| 
| plot(cos([1:10]),"-*g;;")
| 
| Doesn't respect the line colors and plots them all as Red.... Is this a
| bug or a missing feature?

Color properties are RGB triples in the graphics object.  The line
spec "-*g" is translated to a line type and RGB color.  Gnuplot 4.2
can handle the color directly, but earlier versions of gnuplot only
have a very limited number of line types with set colors so I did not
see that it was worth trying to map a color of [0,1,0] to a (possibly
terminal dependent) line type number to specify the color when that
can't possibly work for more than about six or seven colors.  I think
the solution is to use gnuplot 4.2.

jwe


reply via email to

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