help-octave
[Top][All Lists]
Advanced

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

Re: setting keys or legend!!


From: Matthew W. Roberts
Subject: Re: setting keys or legend!!
Date: Thu, 10 May 2001 11:37:20 -0500
User-agent: Mutt/1.2.5i

On Tue, May 08, 2001 at 10:40:33AM +0530, Viswanath P wrote:
>         I would like to set the legend title and the line type of the
> plot both color and points it should
> take automatically in the matlab way, since I am plotting with the
> command plot(x,y,'*') and
> not with gplot 'foo.dat' u 2:1 title '******'.

Try this:

t = 0:0.1:6.3;
plot (t, cos(t), "-;cos(t);", t, sin(t), "+3;sin(t);");

That should do what you want, if I understand your question
correctly.

Matt



-------------------------------------------------------------
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]