help-octave
[Top][All Lists]
Advanced

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

Re: color line


From: David Bateman
Subject: Re: color line
Date: Sat, 29 Sep 2007 15:05:03 +0200
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

Luca Delucchi wrote:
> I don't ottain the color line that I would like, I use some commands
> like this plot(x1,prea5173,"r",";prea;"). What is the corrett command?
> 
> thank's
> Luca

Looks like you are trying to use the old Octave specific method of
setting the legend. The correct syntax for the above is

plot(x1,prea5173,"r;prea;");

though it might be better to use the "legend" command like

plot(x1,prea5173,"r");
legend("prea");

D.


reply via email to

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