Skip to content

Commit

Permalink
update plot script
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yoshimi committed Jun 26, 2019
1 parent 2062e99 commit 9c38915
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion samples/plt/find_lambda_opt.plt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ set terminal postscript eps enhanced color font "Times-Roman, 22" size 5, 3
# set output "| epstopdf -f -o=find_lambda_opt.pdf"
set output (exists("flag_pdf")) ? "| epstopdf -f -o=find_lambda_opt.pdf" : "find_lambda_opt.eps"
set xlabel "log_{10} {/Symbol-Oblique l}"
set ylabel "Reduction log_{10} ( {/Times-Italic f} / {/Symbol-Oblique c}^2 )"
set ylabel "Reduction log_{10} ( {/Times-Italic f} / 2{/Symbol-Oblique c}^2 )"
set xrange[*:*]
set yrange[*:*]
# set logscale
Expand Down
6 changes: 3 additions & 3 deletions samples/plt/lambda_dep.plt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# To get PDF instead of EPS, execute this script with the option -e "flag_pdf=1"

reset
set key
set key right bottom

set style line 1 lt 1 lw 2 lc 1 pt 6 ps 2.0
set style line 2 lt 1 lw 2 lc 4 pt 2 ps 2.0
Expand All @@ -20,8 +20,8 @@ set logscale
set format "10^{%L}"
set grid

plot "lambda_dep.dat"u 1:2 title"RMSE (from x')" w lp ls 1,\
""u 1:3 title"RMSE (from x)" w lp ls 2,\
plot "lambda_dep.dat"u 1:2 title"2{/Symbol-Oblique c}^2 ({/Symbol-Oblique r}')" w lp ls 1,\
""u 1:3 title"2{/Symbol-Oblique c}^2 ({/Symbol-Oblique r})" w lp ls 2,\
""u 1:4 title"L1" w lp ls 3

set output

0 comments on commit 9c38915

Please sign in to comment.