This page’s menu:
#sudo apt-get install gnuplot
plot 'dataset.dat' u 1:4 every ::2::283 pt 2 t 'plot lines 3-284'
set terminal postscript eps color blacktext dashed enhance dl 4.0 lw 2.0 18
set xtics out auto font 'Helvetica,16' nomirror set ytics out auto font 'Helvetica,16' nomirrorand in the label, key and plot commands:
set xlabel '{/Helvetica=16 x (mm)}'
set ylabel '{/Helvetica=16 S_{total} (g/kg)}'
set key title '{/Helvetica=16 C_0: 0.08 g/l}'
plot '.data.dat' using 1:2 title 'small font title'
set size 1.0,2.0
set border 15 lw 0.3
set rmargin 0
set lmargin 0
set tmargin 0
set bmargin 0
set multiplot
set origin 0.1,1.60
set size 0.8,0.35
set key title '{/Helvetica=16 LABELTEXT}'
plot ....
set origin 0.1,1.10
set size 0.8,0.35
set key title '{/Times=14 LABELTEXT}'
plot ....
set origin 0.1,0.60
set size 0.8,0.35
set key title '{/Times/Italic=16 LABELTEXT}'
plot ....
set origin 0.1,0.10
set size 0.8,0.35
set xlabel '{/Helvetica=16 x (mm)}'
set ylabel '{/Times/Italic=16 S@^{0}_{max} (g/kg)}'
set key title '{/Helvetica=16 LABELTEXT}'
plot ....
Use the @ to get the sub and super scripts directly above each other.
set encoding iso_8859_1 set output 'postscriptoutput.eps' set size 1,1 set origin 0.0,0.0
replot rereadstart gnuplot and initialize your plot the way you want it to look on the screen. Then plot it once, and then load the script.
#gnuplot Terminal type set to 'wxt' gnuplot> plot 'test.dat' u 1:2 t '1', '' u 1:3 t '2', '' u 1:4 t '3' gnuplot> load 'replot.gpl'Press Ctrl + C to stop reloading
Last modified: March 21 2012 11:41:46.