2011/12/15

gnuplot

・線種(色,点線の種類,太さ)を変えたい

set style line 1 linetype 1 linewidth 4

としておいて,

plot 'foo.dat' w l ls 1

てなかんじで指定する
(ls = linesytle, lt = linetype, lw = linewidth)

・線種の一覧

test

で見れる

・colorで出力するとき,全て実線で表示させたい

set term で solid を付け加える.

set term postscript eps color solid 24

・ラベルで改行

\n をいれる

set xlabel "first line\nsecond line"

・軸とラベルの間の空白をせまくする

set ylabel 2, 0, 0