help-octave
[Top][All Lists]
Advanced

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

Re: set(h,'color',[1,0,0 ; 0,1,0 ; 0,0,0]) or set(h,'color',mat2cell(ra


From: kloof
Subject: Re: set(h,'color',[1,0,0 ; 0,1,0 ; 0,0,0]) or set(h,'color',mat2cell(rainbow(3))) ??
Date: Thu, 5 Jan 2012 08:37:42 -0800 (PST)

Dear all,

I have done as Ben has proposed above. Now I'd like to define the colors
like above 

( set(gca,'colororder',rainbow(200)) )

and then do 

plot(x,y)
plot(x,y2)
...etc

It seems that the 'colororder' is obeyed by the first plot command, but the
second one 'resets' it: the color of 'y2' is blue again, i.e. the standard
color order is put back by the second plot command.

Is there a way around this? (to fix the color order during the session).


--
View this message in context: 
http://octave.1599824.n4.nabble.com/set-h-color-1-0-0-0-1-0-0-0-0-or-set-h-color-mat2cell-rainbow-3-tp3046817p4266166.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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