如何在带有gnuplot的标题中显示"@",并且输出格式为png? [英] How to show '@' in title with gnuplot and the output format is png?
本文介绍了如何在带有gnuplot的标题中显示"@",并且输出格式为png?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您知道在使用gnuplot时如何在标题中显示字符'@'并且输出格式为PNG图片吗? 谢谢,
Do you know how to show the character '@' in the title when using gnuplot and the output format is PNG image? Thanks,
推荐答案
您正在使用哪个版本的gnuplot?将gnuplot 4.4.3与以下脚本一起使用:
Which version of gnuplot are you using? Using gnuplot 4.4.3 with the following script:
#!/usr/bin/gnuplot
set term png
set output 'plot@.png'
set xlabel 'xlabel is @'
set ylabel 'ylabel is @'
set title "title is @a\'\@\'a\@"
plot x t 'line title is @'
给我这张图片:
即使使用转义序列字符似乎也不构成问题,并且创建的文件的文件名中带有'@'.
Even playing with escape sequence characters doesn't seem to pose a problem, and the file created has an '@' in the filename.
这篇关于如何在带有gnuplot的标题中显示"@",并且输出格式为png?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文