如何在带有gnuplot的标题中显示"@",并且输出格式为png?

编程入门 行业动态 更新时间:2024-10-28 14:28:16
本文介绍了如何在带有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?

本文发布于:2023-07-27 02:41:30,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1219885.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:格式为   标题   如何在   png   gnuplot

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!