gnuplotの色指定

8色しか使えないと思ってた。グレーを入れても9色か。

plot sin(x) lt rgb "#88FFCC"

こんなことができるんだそうだ。しかも4.1から。

set style line 1 linecolor rgb "#88FFCC"
set style line 2 linecolor rgb "#FFEECC"
set style line 3 linecolor rgb "#FFEECC"
plot 'gplottest.dat' u 1:2:3 w filledcu ls 1
replot 'gplottest.dat' u 1:3:4 w filledcu ls 2
replot 'gplottest.dat' u 1:5 w l

積み上げと折れ線の重ね書きも、これでおっけー!!