Hello!

to plot col 2 vs. col 1:Quote:> Hi,

> I have a couple plotting/formating questions:

> 1)What is the proper syntax for plotting a datafile with one colunn specifying the x axis variable

> and other columns specifying y variables? For example, say the first column of the file contains

> the x variable and the next three the dependent variables as follows:

> x y1 y2 y3

> . . . .

> . . . .

> . . . .

plot 'datafilename.dat' using 1:2

or if you want to modify the values:

plot 'datafilename.dat' using ($1*123):(log($3)*1.234)

there's more than one possibility (parametric plot or not). TheQuote:> What is the synax for the 2-D plot command?

most simple possibility is

splot 'datafilename.dat' using 1:2:3

You should read the help via

help plot

help splot

help set parametric

and may be the subtopics.

help set xlabelQuote:> 2) How do i place a text legend that describes each plot? What is the syntax?

help plotQuote:> 3) Gnuplot prints the filename that is plotted in the upper left. How do you disable printing of

> the filename?

, too

plot 'datafilename.dat' using 1:3 title 'your title'

or

'datafilename.dat' using 1:3 notitle

and read

help set key

d!rkQuote:> Thank you in advance for your assistance,

------------------------------------------------------------------------

d!rk caspary

Institut fuer Physikalische Chemie Phone +49 (0)551 393135 (office)

der Universitaet Goettingen +49 (0)551 393142 (fax)

F.R. Germany +49 (0)551 5313337 (private)