在gnuplot的星符号 [英] star symbols in gnuplot

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

问题描述

我试图在 gnuplot 中使用

set terminal postscript eps enhanced color solid 

我想在我的图中包含包含一些星形符号的地图,例如★☆

I want to include in my figure a title for a plot containing some star symbols, e.g ★ ☆

我试过这个:

plot "./mydata" u 1:2 title "★ ☆"

这个:

stars = sprintf("★ ☆")
plot "./mydata" u 1:2 title stars

但两者都不起作用。

任何想法?

推荐答案

set term postscript enh color eps
set output 'test.eps'
set title 'star1:{/ZapfDingbats \110} star2:{/ZapfDingbats \111}'
plot sin(x)

查看 docs / psdoc / ps_guide.ps gnuplot分布。这是我去寻找特殊后记字符的地方...

Take a look at docs/psdoc/ps_guide.ps which is included with the gnuplot distribution. That's where I go when looking for special postscript characters...

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

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