ytics in gnuplot

In GnuPlot you can add extra tics to your y-axis (or x-axis, whatever you like) by adding this

set ytics add ("label" value)

for instance

set ytics add ("max" STATS_max_y)
set ytics add ("min" STATS_min_y)

Variables in gnuplot

Gnuplot gives you lots of extra values, if you use the following commands:

data = "datafile.dat"
# version > 4.2
stats data 1:2
# first a dummy plot
plot data u 1:2

And the following command reveals them

show variables
Subscribe to RSS - gnuplot