Page 1 of 1

Basic plot example in GNUPlot

Posted: Sat Jan 08, 2022 5:38 am
by amh
1. Add data file

Code: Select all

# data.dat
2. Set linestyle

Code: Select all

set style line 1 \
    linecolor rgb '#0000' \
    linetype 1 linewidth 3 \
    pointtype 7 pointsize 2
3. Plot the graph

Code: Select all

plot 'data.dat' with linespoints linestyle 1