gnuplot: Basics
Simple usage boils down to something like:
- Configure general chart options using
set
e.g. title, palette, terminal to plot with. - Draw the chart using
plot
Notes on plotting:
plot
takes one or more files/functions/datasets to plot:plot 'info.dat'
plot
expects each dataset to have the appropriate number of columns for the chart type configured- by default
plot
uses first data column asx
and second asy
:plot 'info.dat'
- override defaults to use particular columns for each dataset with
using
:plot 'info.dat' using 3:1
Published on: 10 Jul 2021