help-octave
[Top][All Lists]
Advanced

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

Re: Octave plot with multiple colors in one plt


From: Francesco Potortì
Subject: Re: Octave plot with multiple colors in one plt
Date: Fri, 25 Jul 2014 16:13:24 +0200

>just plotting (t,deltaT) plots all the graphs using a default picture. i
>have 10 graphs in one plot (t,deltaT). I just want to each graph to show
>different colors on the figure.

I am not sure to understand what you are asking.  Anyway, this code
plots ten lines wit ten different colours on the same plot:

hold on;
for z=1:10
  plot(1:2, [z z], "color", color(z,:))
endfor
hold off

Unfortunatly, as I wrote on my previous mail, I cannot make use of the
"colororder" property, which would make it possible to plot all ten
lines with a single call to plot().

I can post a bug report if someone confirms that indeed "colororder"
does not work as expected.

-- 
Francesco Potortì (ricercatore)        Voice:  +39.050.621.3058
ISTI - Area della ricerca CNR          Mobile: +39.348.8283.107
via G. Moruzzi 1, I-56124 Pisa         Skype:  wnlabisti
(entrance 20, 1st floor, room C71)     Web:    http://fly.isti.cnr.it



reply via email to

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