Verified Commit 1e027406 authored by Max Ehrlich's avatar Max Ehrlich
Browse files

Fix sizing and x-axis tics for relu

parent ea730558
...@@ -3,20 +3,22 @@ ...@@ -3,20 +3,22 @@
load "common.gp" load "common.gp"
load "relu_styles.gp" load "relu_styles.gp"
set size 1.0, 1.2
set ylabel 'Average Accuracy (%)' set ylabel 'Average Accuracy (%)'
set ytics 0.2
set xlabel 'Number of Spatial Frequencies' set xlabel 'Number of Spatial Frequencies'
set xrange ['1':'15'] set xrange [1:15]
set xtics 1 set xtics 1,2,15
set output "relu_accuracy.eps" set output "relu_accuracy.eps"
plot "data/MNIST_relu_accuracy.csv" using ($0+1):1 with lines linestyle spatial notitle, \ plot "data/MNIST_relu_accuracy.csv" using ($0+1):1 with lines linestyle spatial notitle, \
"data/CIFAR10_relu_accuracy.csv" using ($0+1):1 with lines linestyle spatial notitle, \ "data/CIFAR10_relu_accuracy.csv" using ($0+1):1 with lines linestyle spatial notitle, \
"data/CIFAR100_relu_accuracy.csv" using ($0+1):1 with lines linestyle spatial notitle, \ "data/CIFAR100_relu_accuracy.csv" using ($0+1):1 with lines linestyle spatial notitle, \
"data/MNIST_relu_accuracy.csv" using ($0+1):2 with linespoints linestyle asm_mnist title (columnhead(2)." MNIST"), \
"data/CIFAR10_relu_accuracy.csv" using ($0+1):2 with linespoints linestyle asm_cifar10 title (columnhead(2)." CIFAR10"), \
"data/CIFAR100_relu_accuracy.csv" using ($0+1):2 with linespoints linestyle asm_cifar100 title (columnhead(2)." CIFAR100"), \
"data/MNIST_relu_accuracy.csv" using ($0+1):3 with linespoints linestyle apx_mnist title (columnhead(3)." MNIST"), \ "data/MNIST_relu_accuracy.csv" using ($0+1):3 with linespoints linestyle apx_mnist title (columnhead(3)." MNIST"), \
"data/CIFAR10_relu_accuracy.csv" using ($0+1):3 with linespoints linestyle apx_cifar10 title (columnhead(3)." CIFAR10"), \ "data/CIFAR10_relu_accuracy.csv" using ($0+1):3 with linespoints linestyle apx_cifar10 title (columnhead(3)." CIFAR10"), \
"data/CIFAR100_relu_accuracy.csv" using ($0+1):3 with linespoints linestyle apx_cifar100 title (columnhead(3)." CIFAR100") "data/CIFAR100_relu_accuracy.csv" using ($0+1):3 with linespoints linestyle apx_cifar100 title (columnhead(3)." CIFAR100"), \
"data/MNIST_relu_accuracy.csv" using ($0+1):2 with linespoints linestyle asm_mnist title (columnhead(2)." MNIST"), \
"data/CIFAR10_relu_accuracy.csv" using ($0+1):2 with linespoints linestyle asm_cifar10 title (columnhead(2)." CIFAR10"), \
"data/CIFAR100_relu_accuracy.csv" using ($0+1):2 with linespoints linestyle asm_cifar100 title (columnhead(2)." CIFAR100")
\ No newline at end of file
...@@ -3,11 +3,16 @@ ...@@ -3,11 +3,16 @@
load "common.gp" load "common.gp"
load "relu_styles.gp" load "relu_styles.gp"
set size 1.0, 1.1
set key horizontal
set ylabel 'Average RMSE' set ylabel 'Average RMSE'
set ytics 0.1
set xlabel 'Number of Spatial Frequencies' set xlabel 'Number of Spatial Frequencies'
set xrange ['1':'15'] set xrange [1:15]
set xtics 1 set xtics 1,2,15
set output "relu_blocks.eps" set output "relu_blocks.eps"
plot "data/relu_blocks.csv" using ($0+1):2 with linespoints linestyle apx_block title columnhead, \ plot "data/relu_blocks.csv" using ($0+1):2 with linespoints linestyle apx_block title columnhead, \
......
set size 1.0, 1.0
# method colors # method colors
apx_color = 0.85 apx_color = "#e69f00"
asm_color = 0.35 asm_color = "#009e73"
# dataset point types # dataset point types
mnist_point = 7 mnist_point = 7
...@@ -13,25 +15,25 @@ set style line 1 linewidth 8 dashtype 2 linetype rgb "black" ...@@ -13,25 +15,25 @@ set style line 1 linewidth 8 dashtype 2 linetype rgb "black"
spatial = 1 spatial = 1
# mnist lines # mnist lines
set style line 2 linewidth 8 pointsize 4 pointtype mnist_point palette frac asm_color set style line 2 linewidth 8 pointsize 4 pointtype mnist_point linecolor rgb asm_color
set style line 3 linewidth 8 pointsize 4 pointtype mnist_point palette frac apx_color set style line 3 linewidth 8 pointsize 4 pointtype mnist_point linecolor rgb apx_color
asm_mnist = 2 asm_mnist = 2
apx_mnist = 3 apx_mnist = 3
# cifar10 lines # cifar10 lines
set style line 4 linewidth 8 pointsize 5 pointtype cifar10_point palette frac asm_color set style line 4 linewidth 8 pointsize 5 pointtype cifar10_point linecolor rgb asm_color
set style line 5 linewidth 8 pointsize 5 pointtype cifar10_point palette frac apx_color set style line 5 linewidth 8 pointsize 5 pointtype cifar10_point linecolor rgb apx_color
asm_cifar10 = 4 asm_cifar10 = 4
apx_cifar10 = 5 apx_cifar10 = 5
# cifar100 lines # cifar100 lines
set style line 6 linewidth 8 pointsize 4 pointtype cifar100_point palette frac asm_color set style line 6 linewidth 8 pointsize 4 pointtype cifar100_point linecolor rgb asm_color
set style line 7 linewidth 8 pointsize 4 pointtype cifar100_point palette frac apx_color set style line 7 linewidth 8 pointsize 4 pointtype cifar100_point linecolor rgb apx_color
asm_cifar100 = 6 asm_cifar100 = 6
apx_cifar100 = 7 apx_cifar100 = 7
# block lines # block lines
set style line 8 linewidth 8 pointsize 4 pointtype block_point palette frac asm_color set style line 8 linewidth 8 pointsize 4 pointtype block_point linecolor rgb asm_color
set style line 9 linewidth 8 pointsize 4 pointtype block_point palette frac apx_color set style line 9 linewidth 8 pointsize 4 pointtype block_point linecolor rgb apx_color
asm_block = 8 asm_block = 8
apx_block = 9 apx_block = 9
\ No newline at end of file
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