gnuplot / label (3)
not so FAQ
|
ラベルあれこれ (その3)ラベルの色を変えられる?[ver.4] ONLY ! gnuplot 3.8から,ラベル・表題・軸名の色を指定できるようになっています. gnuplot> set style line 1 lt 1 gnuplot> set style line 2 lt 3 gnuplot> set style line 3 lt 4 gnuplot> set style line 4 lt 5 gnuplot> set ylabel "Y-axis" textcolor lt 1 gnuplot> set xlabel "X-axis" textcolor lt 2 gnuplot> set title "Sample" textcolor lt 3 gnuplot> set label "Label" at 2,0.5 textcolor lt 4 gnuplot> plot exp(-x) ![]() Y軸のラベルの向きを変えたい. Y軸名の向きは,図を出力する端末が文字を回転できるかどうかに依存しま Y軸名を,任意の位置に好きな方向で書きたいなら, set ylabel gnuplot> set lmargin 20 gnuplot> set label 1 'Y-AXIS' at graph -0.2, graph 0.5 graph座標を用い,X方向に-20%移動,Y座標は図枠の中心になるように |