[Top][All Lists]

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

Re: Changing the legend

From: John W. Eaton
Subject: Re: Changing the legend
Date: Fri, 28 Aug 1998 02:17:17 -0500 (CDT)

On 11-Aug-1998, John Logsdon <address@hidden> wrote:

| Assuming you use the default gnuplot, try
| m=1:10;plot(m,m,"-;Hello;")
| n=1.5:9.5;l=10-n;hold on
| plot(n,l,"@1;There;")
| j=2.5:.75:7.5;j2=j.*j/5;plot(j2,j,"+-;;")
| This will produce a 45 degree line, a -45 degree set of points and a third
| a line with '+'s that is a curve that goes through the intersection.  The
| label of the first is Hello, the second is There and there is no third
| label. 
| There are various other options.  I don't think you can move the position
| of the legend though - perhaps by getting into the gnuplot commands this
| can be done.

I don't think I saw anyone else mention that with recent beta releases
of gnuplot 3.6 it's possible to move the key around.  See the gnuplot
help for set key for details.  I don't know when this feature was
added to gnuplot, but it is in my copy of beta 340.


reply via email to

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