こんなこともわかりません
◎グラフの説明を消す
unset key
◎グラフの凡例に名前をつける
plot ~ title "TITLE"
◎グラフ出力
set terminal postscript eps (モノクロ)
set terminal postscript enhanced color (カラー)
◎グラフ出力後、もとに戻す
set output
set terminal x11
◎グラフの線を太くする
plot ~ lw 3
◎グラフでfitting
fit f(x) '~.txt' us 1:2 via a,b
◎グラフ中に部分的にグラフを書く
f(x) = (x<0) ? 1/0 : ((x>5) ? 1/0 : sin(x))
plot f(x)
◎グラフ中に矢印を書く
set arrow from x,y to w,z (nohead)
set style arrow 1 (head) (filled) (front) ls lt lw
set arrow from x,y to w,z arrowstyle 1
◎グラフ中に文字を書く
set label at x,y, "TITLE" font ",size" rotate by 25 front
※fontの種類 :Arial
◎対数目盛の表示
set format y "10^{%L}"
◎説明を外に書く
set key outside
◎グラフを塗りつぶす
set style fill solid 1 (pattern 1) (border 1)
plot x with filledcurves x1(or x2)
それ以降plotするもので前にしたいなら front をつけよう
特に、座標軸を前にするなら
set tics front
◎軸を二つにする
set ytics nomirror
set y2tics
plot f(x) axes x1y2
◎点をうつ
set label 1 point pt ps lc at x,y
◎特殊文字
/Symbol a
◎目盛りの刻みを変更
set mxtics 10
set tics 10
◎グラフ内に罫線をひく
set grid
◎dotをうつ(時間微分)
~m{.8.}
◎コメントアウト
#hogehoge
◎色の指定
lc rgb "light-green"
◎ファイルの合成
paste oo.txt xx.txt > zz.txt
◎dotにエラーバーをつける
plot "test.txt" us 1:2:3 w xerrorbars
◎3次元のグラフを二次元のカラーマップにうつす
set pm3d map
set isosamples 100,100 #x,y軸のmeshの数を調整
splot "sample.txt" #この際、sample.txtでのデータの格納に注意
set colorbox user vertical origin 0.62,0.125 size 0.01,0.480
set palette defined (0 "white",60 "red")
◎目盛の位置をずらす
set xtics offset 0.,10.
◎3次元データからcontour mapを作成する
unset surface
set contour
set cntrparam levels discrete 1,2,...
set table "FILENEMA.txt"
splot ...
#これでデータができる
◎ヒストグラムをつくる
set style fill solid border lc rgb "black"
plot "DATA.txt" us 0:1:xtic(2) w boxes lc...
#xtic(2)で2 columnの文字列をラベルにできる