Augmented Usamimi

it { is_expected.to be_blog.written_by(izumin5210) }

【gnuplot】破線(dashed),点線(dotted)等が使えなくなった?

こうなってる.

f:id:izumin5210:20150121234934p:plain

2014年大晦日にgnuplot 5.0がリリースされたのだが,それに関係あるらしい.

Earlier versions of gnuplot used the keyword "linetype" to mean both the color and the solid/dot/dash pattern of a line. Version 5 has separate keywords "linecolor" and "dashtype". You can use these keywords directly in a plot command or assign any desired color and a dash pattern to a linetype. The program now provides a default set of 8 linetypes, all solid. You can change these or add new linetypes as you please. You do not need to change the current terminal or terminal mode in order to use dashed lines.

- GNUPLOT Version 5.0 Release Notes

…?

The program now provides a default set of 8 linetypes, all solid.

???

all solid

そういうことです.


gnuplot 5.0以降で線種を変更したい場合はdashtypeを利用しましょう.