help-octave
[Top][All Lists]
Advanced

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

WG: plotting legend labels for each curve


From: Matz Katja (K5/ESK5)
Subject: WG: plotting legend labels for each curve
Date: Thu, 30 Mar 2000 10:01:28 +0200

Hi,

is there also a way to do something programmable for labels like for
functions, like this:

> gset xrange [0:10]; gset yrange [-2:2]; z=(0:0.1:10)';
data=[z,sin(z),cos(z)]; label=[";sin;",";cos;"]; for i=1:2
plot(z,data(:,1+i),label(:,i)) endfor;

Thanks in advance.


> -----Ursprüngliche Nachricht-----
> Von:  address@hidden
> [SMTP:address@hidden
> Gesendet am:  Mittwoch, 29. März 2000 23:58
> An:   address@hidden; address@hidden
> Betreff:      Re: plotting legend labels for each curve
> 
> plot(t,sin(t),";sin;",t,cos(t),";cos;")
> 
> >Hi,
> >
> >I wondered if anybody could help me here;
> >
> >I can plot a key from octave,
> >but have had no luck actually labeling each curve in the key
> >
> >eg, if I had a sin and a cos curve
> >how can I put one as "sin" and one as "cos" in the key?
> >
> >Thanks in advance,
> >
> >David
> >-- 
> >David DS Barnes
> >     mechanical eng,imperial college         |       t:0171 594 7181
> >     exhibition rd, london, sw7 2bx          |       f:0171 594 7127
> >
> >
> >
> >-----------------------------------------------------------------------
> >Octave is freely available under the terms of the GNU GPL.
> >
> >Octave's home on the web:  http://www.che.wisc.edu/octave/octave.html
> >How to fund new projects:  http://www.che.wisc.edu/octave/funding.html
> >Subscription information:  http://www.che.wisc.edu/octave/archive.html
> >-----------------------------------------------------------------------
> >
> >
> >
> 
> 
> 
> -----------------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
> 
> Octave's home on the web:  http://www.che.wisc.edu/octave/octave.html
> How to fund new projects:  http://www.che.wisc.edu/octave/funding.html
> Subscription information:  http://www.che.wisc.edu/octave/archive.html
> -----------------------------------------------------------------------



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

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



reply via email to

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