How to show '@' in title with gnuplot and the output format is png?

允我心安 提交于 2019-12-12 20:35:05

问题


Do you know how to show the character '@' in the title when using gnuplot and the output format is PNG image? Thanks,


回答1:


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 @'

gives me this image:

Even playing with escape sequence characters doesn't seem to pose a problem, and the file created has an '@' in the filename.



来源:https://stackoverflow.com/questions/13144394/how-to-show-in-title-with-gnuplot-and-the-output-format-is-png

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!