help-octave
[Top][All Lists]
Advanced

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

Re: changing the color of curves continuously


From: Robert A. Macy
Subject: Re: changing the color of curves continuously
Date: Wed, 27 Jul 2005 08:09:33 -0700

More colors than that.

try this...

>> x=randn(50,16);plot(x);

you will see a wide range of colors

or easier viewing...

>> x=randn(1,10);plot(x);hold on;for
i=2:16;plot(x+i-1);endfor;hold off;

from experience at trying to discern which plot line is
which on a 50 line plot [yes, colors are repeated], you
don't want more than a few basic colors, after that start
putting little symbols in there.  

                - Robert -

On Wed, 27 Jul 2005 16:10:47 +0200
 Julien Tailleur <address@hidden> wrote:
> Hi All,
> 
> I have a rather simple question, but did not manage to
> find any answer
> so far: can't octave provide more than the six usual
> colors? (red,
> green, blue, magenta, cyan, or white)
> 
> I have a family of data files - each one corresponding to
> a specific
> value of a parameter going from 0 to 1 - and I would like
> to plot some
> curves (one curve for each data file), changing
> continuously the color
> from yellow to red (for instance).
> 
> I know that there is a 'color' parameter for MATLAB which
> enables you to
> choose the rgb color of your plot, and was wondering
> where there was
> something similar for octave?
> 
> Thanks for any help you can provide
> 
> -- 
> Julien Tailleur
> Phd Student PMMH - UMR 7636 ESPCI
> 10 rue Vauquelin 75231 Paris Cedex 5 FRANCE
> Phone : (+33) 1 40 79 47 16
> Fax   : (+33) 1 40 79 45 23
> 



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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