|
From: Thomas S. <t.s...@fz...> - 2011-10-03 09:27:12
|
this 'additional stuff' can be removed by set key off the error messages " ... line xx: ';' expected" are due to wrong syntax. it should be " ... with points pt 1 ps 1" note the space between "pt" or "ps" and the number. to get black points you need to specify a linetype or line color in addition: " ... with points pt 1 ps 1 lt 0" " ... with points pt 1 ps 1 lc rgb 'black'" are you using your plot commands file via "load" or via "call"? Matthias_D wrote: > > I can plot every file now, but only one file per plot! > > Before it worked for two or three files, not more. > Is it because I use Windows? I don't understand this behaviour of gnuplot. > > I didn't know how to set a path for the files, so I put all the files into > the > directory with gnuplot.exe. But this shouldn't be the problem. > > "1:(2*$2)" doesn't work with me, too. But I already changed the values > in the datafiles, so it's ok for me to use "1:2", "1:3". > _____________________________________________________ > I finally found a way to plot it. > I copied all the columns into one file, then plot: > plot for [i=2:60:2] "001-030.txt" using 1:i with lines,\ > for [i=3:61:2] "001-030.txt" using 1:i with points pt1 ps1 > > Looks like: > > http://old.nabble.com/file/p32580806/Output2.jpg > > Now only two problems left: > The point marker should not change but stay at "+" (black). > I don't want these additional stuff in the upper right corner. > > > Thomas Sefzick wrote: >> >> there should be no problem to use many datafiles and >> assign an individual y-value to each data set, e.g. >> >> plot "datafile_1" using 1:2 with lines,\ >> "" using 1:3 with points pt1 ps1,\ >> "datafile_2" using 1:(2*$2) with lines,\ >> "" using 1:(2*$3) with points pt1 ps1,\ >> "datafile_3" using 1:(3*$2) with lines,\ >> "" using 1:(3*$3) with points pt1 ps1 >> >> > -- View this message in context: http://old.nabble.com/Print-huge-data-into-a-single-plot-tp32578285p32581304.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |