Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software:gnuplot [2024/04/19 09:47]
cyril [set]
software:gnuplot [2024/04/19 09:54] (current)
cyril autotitle
Line 74: Line 74:
 set key left bottom set key left bottom
 set key 100,100 set key 100,100
 +</code>
 +
 +  * Automatic legend.<code gnuplot>
 +set key autotitle columnheader
 </code> </code>
  
Line 237: Line 241:
 plot for [file in "run1.dat run2.dat run3.dat"] file using 1:2 plot for [file in "run1.dat run2.dat run3.dat"] file using 1:2
 </code><code gnuplot> </code><code gnuplot>
-plot for [i=1:3] run.dat using i+plot for [i=1:3] run.dat using i t sprintf("curve %s", columnheader(i))
 </code><code gnuplot> </code><code gnuplot>
 file(n) = sprintf("run_%d.dat",n) file(n) = sprintf("run_%d.dat",n)
software/gnuplot.1713520038.txt.gz ยท Last modified: 2024/04/19 09:47 by cyril
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0