gnuplot错误:格式错误的字符 [英] gnuplot error: Bad format character

查看:94
本文介绍了gnuplot错误:格式错误的字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是gnuplot的新手,但需要紧急使用.这是我使用的以下命令集:

Am new to gnuplot but need o use it urgently. This is the following set of commands I used:

set  terminal  latex
set output "conflict.tex"
set xtics ("random"  2, "sharing(0%)"  3, "sharing(10%)"  4, "sharing(25%)"   5, "sharing(50%)"  6, "stat"  7)
set ylabel "Conflict Percentage"
set xrange [0:9]
set yrange [0:60]
set xlabel "Traces"
set boxwidth 0.3
set style fill
plot 'D:\Utility Softwares\conflicts.dat' with boxes

此后,我会收到格式错误的字符",却不知道为什么

after which i get "Bad format character" and don't know why

感谢帮助

推荐答案

最近,我在xtics()中转义(格式错误的字符")遇到了同样的问题.

Recently I had the same problem with escaping ("Bad format character") in xtics().

这应该有效:

set xtics ("random"  2, "sharing(0\%%)"  1, ...)

帮助我的是查看生成的tex文件.

What helped me, was to look at the generated tex file.

这篇关于gnuplot错误:格式错误的字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆