返回信息流大家能帮我看看这个程序吗?
谢谢啦~~
set term postscript eps color blacktext "Helvetica" 24
set output 'p1.eps'
set autoscale # scale axes automaticallyun
set label # remove any previous labels
set xtic auto # set xtics automatically
set ytic auto # set ytics automatically
set title "I/O Traffic"
set xlabel "Interval(5s)"
set ylabel "Data(KB)"
set key 0.01,10000
set xr [0:100]
set yr [0:10000]
plot "p1.tmp" using 1:2 title 'r0' with linespoints, \
"p1.tmp" using 1:3 title 'r1' with linespoints, \
"p1.tmp" using 1:4 title 'r2' with linespoints, \
"p1.tmp" using 1:5 title 'r3' with linespoints, \
"p1.tmp" using 1:6 title 'r4' with linespoints, \
"p1.tmp" using 1:7 title 'r5' with linespoints, \
"p1.tmp" using 1:8 title 'r6' with linespoints, \
save 'p1.eps'
quit
这gnuplot怎么调试啊?问下大家~~~
谢谢!
////gnuplot 错误输出如下:
GSview 4.9 2007-11-18
GPL Ghostscript 9.00 (2010-09-14)
Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Displaying non DSC file F:/Rutgers/research/virtualization/exp2/xenoprof/p2.
eps
Error: /undefined in #!
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostring
val-- 2 %stopped_push --nostringval-- --nostringval-- false 1
%stopped_push 1910 1 3 %oparray_pop 1909 1 3 %oparray_pop
1893 1 3 %oparray_pop 1787 1 3 %oparray_pop --nostringval--
%errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostrin
gval-- 2 %stopped_push --nostringval--
Dictionary stack:
--dict:1163/1684(ro)(G)-- --dict:0/20(G)-- --dict:81/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
--- Begin offending input ---
#!/usr/bin/gnuplot -persist
#
#
# G N U P L O T
# Version 4.2 patchlevel 2
# last modified 31 Aug 2007
# System: Linux 法国
#
# Copyright (C) 1986 - 1993, 1998, 2004, 2007
# Thomas Williams, Colin Kelley and many others
#
# Type `help` to access the on-line reference manual.
# The gnuplot FAQ is available from http://www.gnuplot.info/faq/
#
# Send bug reports and suggestions to <http://sourceforge.net/projects/g
nuplot>
#
# set terminal postscript eps noenhanced defaultplex \
leveldefault color blacktext \
dashed dashlength 1.0 linewidth 1.0 butt \
palfuncparam 2000,0.003 \
"Helvetica" 24
# set output 'p2.eps'
unset clip points
set clip one
unset clip two
set bar 1.000000
set border 31 front linetype -1 linewidth 1.000
set xdata
set ydata
set zdata
set x2data
set y2data
set timefmt x "%d/%m/%y,%H:%M"
set timefmt y "%d/%m/%y,%H:%M"
set timefmt z "%d/%m/%y,%H:%M"
set timefmt x2 "%d/%m/%y,%H:%M"
set timefmt y2 "%d/%m/%y,%H:%M"
set timefmt
--- End offending input ---
file offset = 1024
gsapi_run_string_continue returns -101
这是一条镜像帖。来源:北邮人论坛 / paper / #4363同步于 2011/3/21
Paper机器人发帖
请教一个gnuplot问题
yankee
2011/3/21镜像同步0 回复
订阅后,新回复会通过你的通知中心匿名送达。
0 条回复
暂无回复 · 你可以订阅本帖等待新回复。