Gnuplot的一个小错误,求详解

最近使用gnuplot作图,一开始好好地;后来不知道怎么的, 注释了一行代码;导致图片无法显示。求大神!!!

gnuplot的版本信息4.6

使用的数据  文件就一个  “aarc.txt”  部分数据如下:

150.0 113.39745962155614
175.0 113.39745962155614
200.0 113.39745962155614
225.0 113.39745962155614
250.0 113.39745962155614
137.5 135.0480947161671
162.5 135.0480947161671
187.5 135.0480947161671
212.5 135.0480947161671
237.5 135.0480947161671
262.5 135.0480947161671
125.0 156.69872981077808
150.0 156.69872981077808
175.0 156.69872981077808
200.0 156.69872981077808
225.0 156.69872981077808
250.0 156.69872981077808
275.0 156.69872981077808
112.5 178.34936490538902
137.5 178.34936490538902
162.5 178.34936490538902
187.5 178.34936490538902
212.5 178.34936490538902
237.5 178.34936490538902
262.5 178.34936490538902
287.5 178.34936490538902
100.0 200.0
125.0 200.0
150.0 200.0
175.0 200.0
200.0 200.0
225.0 200.0
250.0 200.0
275.0 200.0
300.0 200.0


源代码如下:

set terminal postscript eps color solid enh
set output "Inch11.eps"
#在这个文件中,有一个我们没见过的变量 size,
#这个变量的作用 是设置输出图形的大小为设置前的一定比例。
#比如 Gnuplot 的 Postscript 格式 的默认大小是 10in x 7in,
#设置 size 为 0.5,0.5 以后的大小变为 5in x 3.5in。
set size 0.75,1
set xrange [50:320]
set yrange [50:320]
#set x2tics nomirror
set ytics 20
#set style fill transparent solid 0.5 noborder
#"aarc.txt" using 1:2:3:4:5 with circles pt 7 ps 1 notitle 
#"aarcDown.txt" using 1:2:3:4:5 with circles  pt 7 ps 1 notitle,\
plot "aarc.txt" using 1:2 with p  pt 7 ps 1 notitle
 #   "aarcLeft.txt" using 1:2:3:4:5 with circles  pt 7 ps 1 notitle
 #    "aarcRight.txt" using 1:2:3:4:5 with circles  pt 7 ps 1 notitle
 #    "lines.txt" with lp pt 7 lw 1
set output
set terminal wxt

产生的图片文件显示为0kb,打开后也是一片空白。


PS:如果  代码中去掉 “  

#"aarcDown.txt" using 1:2:3:4:5 with circles  pt 7 ps 1 notitle,\
之后,图片就正常了。  但是这一行明明是注释掉了

难道 和  以前一个有关c语言的  注释错误一样—— \符号在起作用!!!!!



附带   gnuplot给出的  相关执行信息运行提示




 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值