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 [2016/07/20 21:08]
cyril palette
software:gnuplot [2024/04/19 09:54] (current)
cyril autotitle
Line 59: Line 59:
 set x2label "" set x2label ""
 set y2label "" set y2label ""
 +</code>
 +
 +  * Log scale.<code gnuplot>
 +set logscale x 2
 +set logscale y 10
 </code> </code>
  
Line 69: 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 232: 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.1469048923.txt.gz ยท Last modified: 2016/07/20 21:08 by cyril
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0