Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Max Ehrlich
cdcnn
Commits
c3243659
Verified
Commit
c3243659
authored
Dec 07, 2018
by
Max Ehrlich
Browse files
Factor out common settings
parent
8b03dc99
Changes
2
Hide whitespace changes
Inline
Side-by-side
paper/plots/common.gp
0 → 100644
View file @
c3243659
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
paper/plots/relu_accuracy.gp
View file @
c3243659
#!/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")
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment