I'm trying to generate an .eps figure in gnuplot using
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 ★ ☆
I tried through this:
plot "./mydata" u 1:2 title "★ ☆"
as well as this:
stars = sprintf("★ ☆")
plot "./mydata" u 1:2 title stars
but both of them don't work.
Any ideas?
set term postscript enh color eps
set output 'test.eps'
set title 'star1:{/ZapfDingbats \110} star2:{/ZapfDingbats \111}'
plot sin(x)
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...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With