help-octave
[Top][All Lists]
Advanced

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

Re: legend titles?


From: Rick
Subject: Re: legend titles?
Date: Tue, 19 Jan 99 09:53:16 -0500

> say I do 
> plot(t, x1, t, x2, t, x3)
> I get like in the upper right hand corner:
> line 1 -----
> line 2 -----
> 
> how do I change those captions (line x) to the equation... I don't need it
> 

Ah...a question for me!  I felt the same way and added this ability
about 18 months ago to Octave.  It never got very well documented though!

Try:

octave:1> plot(sin([0:.1:3]),";sin(x);")

The semi-colons delimit the label.  Other plot options are also
possible within the same quoted options string.  For more
documentation try:

"type __pltopt__"

and read the top comments.

        Good Luck,
        Rick Niles.



reply via email to

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