You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

28 lines
747 B

#
set terminal pdfcairo size 4in,3in font "Arial,12"
#
if (!exists("infile")) infile = 'output.dat'
if (!exists("outfile")) outfile = 'path_length_plot.pdf'
set output outfile
set xlabel "generation"
set ylabel "path length"
set grid
set xrange [0:100]
set yrange [0:80]
set xtics 10
set ytics 10
#
set datafile separator ","
#
# $0 0
# 1:min, 2:avg, 3:max
plot infile using 0:1 with lines title "Min", \
'' using 0:2 with lines title "Avg", \
'' using 0:3 with lines title "Max"