Verified Commit c3243659 authored by Max Ehrlich's avatar Max Ehrlich
Browse files

Factor out common settings

parent 8b03dc99
set terminal postscript enhanced color font "Helvetica, 30" eps
set size 3,2
set palette rgb 33,13,10
apx_color = 0.1
asm_color = 0.5
set datafile separator ','
set grid ytics
set key autotitle columnhead
unset colorbox
set key tmargin horizontal
set key above vertical maxrows 3
\ No newline at end of file
#!/usr/bin/gnuplot -c
set terminal postscript enhanced color font "Helvetica, 30" eps
set size 3,2
set datafile separator ','
load "common.gp"
set ylabel 'Average Accuracy (%)'
set grid ytics
set key tmargin horizontal
set key above vertical maxrows 3
set xlabel 'Number of Spatial Frequencies'
set xrange ['1':'15']
......@@ -18,14 +10,10 @@ set xtics 1
set output "relu_accuracy.eps"
unset colorbox
unset colorbox
set palette rgb 33,13,10
plot "data/MNIST_relu_accuracy.csv" using ($0+1):1 with lines linewidth 8 dashtype 2 palette frac 0.20 title (columnhead(1)." MNIST"), \
"data/CIFAR10_relu_accuracy.csv" using ($0+1):1 with lines linewidth 8 dashtype 2 palette frac 0.75 title (columnhead(1)." CIFAR10"), \
"data/MNIST_relu_accuracy.csv" using ($0+1):2 with linespoints linewidth 8 pointsize 5 pointtype 6 palette frac 0.28 title (columnhead(2)." MNIST"), \
"data/CIFAR10_relu_accuracy.csv" using ($0+1):2 with linespoints linewidth 8 pointsize 5 pointtype 6 palette frac 0.8 title (columnhead(2)." CIFAR10"), \
"data/MNIST_relu_accuracy.csv" using ($0+1):3 with linespoints linewidth 8 pointsize 5 pointtype 4 palette frac 0.40 title (columnhead(3)." MNIST"), \
"data/CIFAR10_relu_accuracy.csv" using ($0+1):3 with linespoints linewidth 8 pointsize 5 pointtype 4 palette frac 0.95 title (columnhead(3)." CIFAR10")
plot "data/MNIST_relu_accuracy.csv" using ($0+1):1 with lines linewidth 8 dashtype 2 linetype rgb "black" notitle, \
"data/CIFAR10_relu_accuracy.csv" using ($0+1):1 with lines linewidth 8 dashtype 2 linetype rgb "black" notitle, \
"data/MNIST_relu_accuracy.csv" using ($0+1):2 with linespoints linewidth 8 pointsize 4 pointtype 7 palette frac asm_color title (columnhead(2)." MNIST"), \
"data/CIFAR10_relu_accuracy.csv" using ($0+1):2 with linespoints linewidth 8 pointsize 5 pointtype 9 palette frac asm_color title (columnhead(2)." CIFAR10"), \
"data/MNIST_relu_accuracy.csv" using ($0+1):3 with linespoints linewidth 8 pointsize 4 pointtype 7 palette frac apx_color title (columnhead(3)." MNIST"), \
"data/CIFAR10_relu_accuracy.csv" using ($0+1):3 with linespoints linewidth 8 pointsize 5 pointtype 9 palette frac apx_color title (columnhead(3)." CIFAR10")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment