Gnuplot コマンド集 (メモ用)
フォント
set terminal pngcairo font "Times-Roman,12"
set ylabel "RMSD (\305)"
↑オングストロームの表記。
pm3d
set style data pm3d
set pm3d interpolate 10,10 # The two numbers 10,10 are the number of additional points along the x- and y-axis.
splot "out_pmf.dat" u 1:2:3
label
Placing label over mapped 3D graph in Gnuplot
set label "label in front" at 2.5,0.5 tc rgb "white" font ",30" front
set label 1 point pt 2 ps 3 at 4.90432, 3.14662 front
transparent
set term png transparent truecolor
set size (window size)
set size square
set size ratio 1 1
set grid
set xtics 45
set ytics 45
set grid
palette color
set palette rgbformulae 33,13,10
set palette defined (-1"black",0"blue",3.3"cyan",6.6"orange",10"red",11 "white")
boxplot #箱ひげ図
set key off #hide labels
set style boxplot nooutliers #hide outliers (point of out of range)
p 'all.dat' every 100 using (1.0):2:(0.3):1 with boxplot
PAUSE
pause -1 #keep graph window from script
座標のプロット
set label 1 point pt 2 ps 3 at 7.8,-2.1 front # pt: pattern of shape, ps: point size
↑frontって入れておくとカラーマップとか散布図のときに、下に埋もれずに図の最前面にラベルが表示される。
set style
set style data lines #plot data with lines