PERL 直接画图

返回

open f,"| pgnuplot - -"; print f <<Gp; set terminal png color medium Terminal type set to 'png' Options are 'medium color' set output 'graph.png' plot [-pi:pi] sin(x), sin(4*x) Gp close f; graph.png
加"set terminal windows"后成功! ------------------------------------------- use strict; open f,"| pgnuplot - -"; print f <<GP; set terminal windows plot sin(x),cos(x) GP close f; ------------------------------------------- Gnuplot (window id:0)? ------------------------------------------- open f,"| pgnuplot - -"; print f <<Gp; plot sin(x),cos(x) Gp close f; ===> timeout gnuplot is not ready?
MS-Windows 用の gnuplot の日本語化キット > cd bin > copy wgnuplot.mnu wgnuplot-en.mnu > copy wgnuplot.hlp wgnuplot-en.hlp [2] 日本語化キットのコピー wgnuplot-ja.mnu と wgnuplot-ja.hlp を元々の wgnuplot.mnu, wgnuplot.hlp の代わりにコピーします。
返回