From help-octave-request at bevo dot che dot wisc dot edu Wed Jan 26 14:07:40 2000 Subject: Re: Legends From: Douglas Sturim To: "A. Scottedward Hodel" , help-octave@bevo.che.wisc.edu 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 sturim at sst dot ll dot mit dot edu 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 sturim at ll dot mit dot edu 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 -----------------------------------------------------------------------