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
0a2be12b
Verified
Commit
0a2be12b
authored
Dec 07, 2018
by
Max Ehrlich
Browse files
Move styles to common settings
parent
c3243659
Changes
3
Hide whitespace changes
Inline
Side-by-side
paper/plots/common.gp
View file @
0a2be12b
# common settings
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 ','
...
...
@@ -14,4 +13,42 @@ set key autotitle columnhead
unset colorbox
set key tmargin horizontal
set key above vertical maxrows 3
\ No newline at end of file
set key above vertical maxrows 3
# method colors
apx_color = 0.85
asm_color = 0.35
# dataset point types
mnist_point = 7
cifar10_point = 9
cifar100_point = 3
block_point = 2
# spatial lines
set style line 1 linewidth 8 dashtype 2 linetype rgb "black"
spatial = 1
# mnist lines
set style line 2 linewidth 8 pointsize 4 pointtype mnist_point palette frac asm_color
set style line 3 linewidth 8 pointsize 4 pointtype mnist_point palette frac apx_color
asm_mnist = 2
apx_mnist = 3
# cifar10 lines
set style line 4 linewidth 8 pointsize 5 pointtype cifar10_point palette frac asm_color
set style line 5 linewidth 8 pointsize 5 pointtype cifar10_point palette frac apx_color
asm_cifar10 = 4
apx_cifar10 = 5
# cifar100 lines
set style line 6 linewidth 8 pointsize 4 pointtype cifar100_point palette frac asm_color
set style line 7 linewidth 8 pointsize 4 pointtype cifar100_point palette frac apx_color
asm_cifar100 = 6
apx_cifar100 = 7
# block lines
set style line 8 linewidth 8 pointsize 4 pointtype block_point palette frac asm_color
set style line 9 linewidth 8 pointsize 4 pointtype block_point palette frac apx_color
asm_block = 8
apx_block = 9
\ No newline at end of file
paper/plots/relu_accuracy.gp
View file @
0a2be12b
...
...
@@ -9,11 +9,10 @@ set xrange ['1':'15']
set xtics 1
set output "relu_accuracy.eps"
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")
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/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/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")
paper/plots/relu_blocks.gp
View file @
0a2be12b
#!/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 RMSE'
set grid ytics
set key tmargin horizontal
set xlabel 'Number of Spatial Frequencies'
set xrange ['1':'15']
set xtics 1
set output "relu_blocks.eps"
plot "data/relu_blocks.csv" using ($0+1):2 with linespoints line
width 8 pointsize 5
title columnhead, \
"data/relu_blocks.csv" using ($0+1):1 with linespoints line
width 8 pointsize 5
title columnhead
plot "data/relu_blocks.csv" using ($0+1):2 with linespoints line
style apx_block
title columnhead, \
"data/relu_blocks.csv" using ($0+1):1 with linespoints line
style asm_block
title columnhead
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