GNUPLOT 4.2.0
あれ、いつの間に。日本語化に軽く関連していた*1くせに最近全然チェックしてなかったから、どうなっているか全然知らない。ということで、ダウンロードして NEWS を覗いてみる。
New features, changes and fixes since gnuplot version 4.0 ========================================================= * NEW autogenerated read-only variables prefixed GPVAL_ and "show variables all" * NEW Japanese language documentation - FAQ and User Manual * NEW multi-platform and interactive wxWidgets terminal * NEW windows terminal supports enhanced text mode * NEW support for placement of individual rectangles within plot or canvas * NEW command "set style increment user" allows customization of default lines * NEW commands raise and lower * NEW y and y2 axis label rotation can be explicitly controlled (2D plots only) * NEW {no}enhanced flag can be applied to individual labels * NEW suboption 'set pm3d interpolate' for bilinear interpolation of surfaces * NEW 3D plots can read RGB color triples as part of input data * NEW write command history file also for gnuplot's readline * NEW more versatile key placement and arrangement * NEW 'splot x*y with pm3d' no longer requires prior 'set pm3d' * NEW store a sequence of plots to an animated gif (requires libgd > 2.0.28) * NEW multi-byte font support in x11, controlled by the locale setting LC_CTYPE * NEW control decimal sign conventions using locale setting LC_NUMERIC * NEW pstex, pslatex and epslatex terminals share functionality with postscript * NEW suboptions "set pm3d corners2color min|max" * NEW suboption "set pm3d depthorder" does hidden-surface removal (sort of) * NEW linetype colors via "lt {palette {frac <val> | cb <val>}}" * NEW linetype colors via "lt {rgbcolor {"name" | "#RRGGBB"}}" * NEW palette and rgb linetype colors apply to all 2D and 3D plot elements * NEW user defined variables can contain strings * NEW expression evaluation can manipulate and return strings * NEW built-in string functions sprintf, gprintf, substr, strstrt, word, words * NEW built-in string function system("shell command") * NEW command line macro expansion @<stringvariablename> * NEW automatic variable $# expanded to number of arguments after "call" * NEW reading of (almost) arbitrary image binary files * NEW plot styles "with image" and "with rgbimage" * NEW plot style "with labels" reads text data along with X/Y/Z coordinates * NEW plot style "with histograms" creates clustered or stacked histograms * NEW auto-layout of multiplot using "set multiplot layout <rows>, <cols>" * NEW variant of plot "with filledcurves" that fills the area between two curves * NEW variant of "with filledcurves" that fills only above or below the curve * NEW using options {x|y|z}ticlabels(<col>) * NEW option to read plot title from data file: set key autotitle columnheader * NEW command 'set termoption <foo>' changes single property of current terminal * NEW png driver supports antialiasing and TrueColor images * NEW encoding koi8-u * NEW plot style "with vectors" applies to both 2D and 3D plots * NEW plot style "with points" can read variable point size from input file * NEW "set tics" can change most settings for {x|y|z|cb}tics at once * NEW tic scale can be set per axis using "set {x|y|z|cb}tics scale"
ぬお、日本語ドキュメントが公式アーカイブに。ChangeLog を見ると竹野先生が maintainer っぽい。なるほど。
すっかり忘れていたけど竹野先生のx11 terminal のマルチバイト化パッチも取り込まれて、X11 terminal で日本語が表示できるようになっている(はず)*2。つうか結局 Unicode 化はしなかったわけね。
と思ったら wxWidget を使った terminal が追加されて UI が強化されてるし(当然日本語も表示できる)。x11 terminal いらなくね?いや、wxWidget が入ってない環境には意味があるか。
あ、windows terminal も enhanced 対応しているなぁ。Windows なら
set term windows enhanced plot sin(x*x) title 'sin(x^2)'
こんなんで、簡単な数式なら表示できる。てか 4.0 では対応してなかったんだっけ?
あと、どうでもいいといえばいいんだけど。
編集者注: 掲載時点では、まだオフィシャルサイトには反映されていない
http://www.gnuplot.info/ には反映されていないけど、http://gnuplot.sourceforge.net/ のほうには反映されている。多分、メンテナ的には http://gnuplot.sourceforge.net/ が公式ということになっているんでは。