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
925df178
Verified
Commit
925df178
authored
Dec 07, 2018
by
Max Ehrlich
Browse files
Factor out more common plot settings
parent
b20a6dd2
Changes
4
Hide whitespace changes
Inline
Side-by-side
paper/plots/common.gp
View file @
925df178
...
...
@@ -13,42 +13,4 @@ set key autotitle columnhead
unset colorbox
set key tmargin horizontal
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 = 5
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
set key above vertical maxrows 3
\ No newline at end of file
paper/plots/relu_accuracy.gp
View file @
925df178
#!/usr/bin/gnuplot -c
load "common.gp"
load "relu_styles.gp"
set ylabel 'Average Accuracy (%)'
...
...
paper/plots/relu_blocks.gp
View file @
925df178
#!/usr/bin/gnuplot -c
load "common.gp"
load "relu_styles.gp"
set ylabel 'Average RMSE'
...
...
paper/plots/relu_styles.gp
0 → 100644
View file @
925df178
# method colors
apx_color = 0.85
asm_color = 0.35
# dataset point types
mnist_point = 7
cifar10_point = 9
cifar100_point = 5
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
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