forked from davetcoleman/scriptbots
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplot.pg
More file actions
33 lines (23 loc) · 862 Bytes
/
Copy pathplot.pg
File metadata and controls
33 lines (23 loc) · 862 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/gnuplot
reset
#set terminal png
set terminal pngcairo size 1920,1080
set xlabel "Epoch"
set ylabel "Population"
#set yrange [0:1000]
set autoscale
set title "ScriptBots Pred vs Prey Plotting"
set key reverse Left inside
set grid
set style data lines
#set style line 1 lw 6
set datafile separator ","
plot "report.csv" using 1:2 title 'Herbivores' linecolor rgb "green", \
"report.csv" using 1:3 title 'Carnivores' linecolor rgb "red", \
"report.csv" using 1:4 title 'Top Herbivore' linecolor rgb "blue", \
"report.csv" using 1:5 title 'Top Carnivores' linecolor rgb "orange", \
"report.csv" using 1:6 title 'Brain Stand Dev' linecolor rgb "violet", \
"report.csv" using 1:7 title 'Avg Age' linecolor rgb "yellow", \
"report.csv" using 1:8 title 'Agents Added' linecolor rgb "black" lw 3
#pause 10
#reread