Monday, January 17, 2011

Very important commands in Gnuplot

Plot two or more plots in the same window:

set multiplot

Plots with lines:

plot "file.dat" w l

Plot with yerrorbars. The third column of the input data is the lenght of the errorbar:

plot "file.dat" with errorbars

Hide the legend:

unset key