[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Legends
From: |
Douglas Sturim |
Subject: |
Re: Legends |
Date: |
Wed, 26 Jan 2000 15:07:00 -0500 |
Yup that's it and you can also do....
plot(1:12,";your text here;g+")
will add color and plus signs.
Thanks,
"A. Scottedward Hodel" wrote:
>
> > on 1/26/00 1:20 PM, Douglas Sturim at address@hidden wrote:
>
> > I have been over the octave manual and the gnuplot manual and I still
> > have not found to change the text of keys. I did find a 1998 help
> > message but I would like to change the text of the key after the plot is
> > formed?
> >
> > Thanks,
> >
> > Doug
>
> I don't think this can be done with gnuplot. Due to gnuplot's details, the
> MATLAB/Octave plotting commands are not compatible, e.g.,
>
> MATLAB:
> plot(x,y,'-', ...); % This must go first
> xlabel('X value')
> ylabel('Y value')
> legend('Item 1', 'Item 2', ...)
> etc.
>
> Octave:
> xlabel("X value");
> ylabel("Y value");
> etc.
> plot(x,y,"-;Item 1;", ...) # this must go last, or use replot() after
> # xlabel, etc.)
>
> Octave is as MATLAB compatible as practical, but is not a MATLAB clone.
>
> --
> A S Hodel Assoc. Prof. Dept Elect and Computer Eng, Auburn Univ,AL
> 36849-5201
> On leave at NASA Marshall Space Flight Center (256) 544-1426
> Address until 31 July 2000:Mail Code TD-55, MSFC, Alabama, 35812
> http://www.eng.auburn.edu/~scotte
--
------------------------------------------------------------
Douglas Sturim Information Systems Technology Group
address@hidden MIT Lincoln Laboratory
(781) 981-4462 Lexington, MA 02420-9185
-----------------------------------------------------------------------
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
-----------------------------------------------------------------------
- Legends, Douglas Sturim, 2000/01/26
- Re: Legends, A. Scottedward Hodel, 2000/01/26
- Re: Legends,
Douglas Sturim <=