本文转载自: http://yinjilong.blogbus.com/logs/509772.html 【thanks】 使用 gnuplot 4.0 将数据和函数转换为专业的图表,gnuplot 4.0 是一种免费分发的绘图工具。本文是 gnuplot 的实践指南,着重讲述了有效使用此工具的一些惯例。 gnuplot 是一种免费分发的绘图工具,可以移植到各种主流平台。它可以下列两种模式之一进行操作:当需要调整和修饰图表使其正常显示时,通过在 gnuplot 提示符中发出命令,可以在交互模式下操作该...
by yexin218 - 网络技术文档中心 - 2008-07-08 17:43:57 阅读(1691) 回复(0)
小弟利用gnuplot画图,必须使用multiplot命令,在网上看到好多资料,但为什么我总是不成功呢,我的意思就是在同一张图里同时画多个图,代码如下 set te png small color picsize 420 180 set multiplot set size 0.5,0.5 set origin 0.0,0.5 plot sin(x) set size 0.5,0.5 set origin 0.0,0.0 plot 1/sin(x) unset multiplot set output '1.png' replot 结果能出来,但不是2张图,谁能告诉我那错了
#!/usr/bin/perl use strict; use FileHandle; use File::Temp qw/ tempfile tempdir /; my ($fh, $filename) = tempfile(DIR => './', UNLINK => 1); foreach my $x (-50 .. 50){ print $fh $x/5," ",sin($x/5),"\n"; } $fh->flush(); open PLOT,"| gnuplot -persist"; PLOT->autoflush(1); print PLOT << "gnuplot_Commands"; plot '$filename' with line pause 1 plot cos(x) gnuplot_Commands cl...
两组数据在下面, 想用第1列和第7列的平方根在对数坐标下做图。同时拟合这些数据,把直线画上去,不知道怎么弄。 我的代码如下, 得到错误的图。 index = 0 set log x set log y plot "temp" in index using 1:(sqrt($2)) r1(x) = a + b * x fit r1(x) "temp" in index using (log($1)):(log(sqrt($2))) via a, b replot r1(x) index = 1 replot "temp" in index using 1:(sqrt($2)) r2(x) = c + d * x fit r2(x) "temp" in inde...
Sorry, my English is bad. But I have not Chinese input type in my system. very sorry! I just finish a project that display chart graph. At biganing, I use the JpGraph to create chart. but JpGraph can't create the it better. And JpGraph is very slow if have many data(have max then 50000 line data from SQL server and use it to draw chart). The CPU used 99% when I browser. and must set php.ini t...
是在 1986 年由 Colin kelley 和 Thomas Williams 所发展的绘图 公用程序,可将数学函数或数值资料以平面或立体的图形画在不同种类终端机 或绘图输出设备上。目前已广泛地被人们使用,在 Internet 网络上尚有 newsgroup --- comp.graphics.gnuplot 作为大家交换心得或学习的园地。此 newsgroup 将许多问题□集成 FAQ (Frequently Answered Questions) 并定期刊载。 gnuplot 是一个命令导向的交谈式绘图程序 (command-driven intera...