|
From: Thomas S. <t.s...@fz...> - 2009-04-15 14:48:33
|
plot "file1.dat" using 1:(2.*$2) w lines, "file2.dat" w lines what you are searching for is - the manual: http://www.gnuplot.info/docs/gnuplot.html http://www.gnuplot.info/docs/node100.html - help information inside gnuplot: help plot Trillianx wrote: > > I tried searching for this on the forum but could not find it. I believe I > do not know what to search for. > > Well, Here is my problem: > > 1. I have two files "file1.dat" and file2.dat". > 2. Each of the files have two columns, x and y. The xrange for both the > files are the same, while the yrange is normalised to 1. > 3. I would like to multiply the y-value in "file1.dat" in order to plot > both the files one top of the other. > 4. Just typing: plot 2*"file1.dat" w lines, "file2.dat" w lines gives me > error. > > How do I work this out? > > -- View this message in context: http://www.nabble.com/Operations-with-data-tp23060093p23060390.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |