Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

\odot (latex), print and paste ☉ everywhere, and gnuplot?

732 views
Skip to first unread message

edoard...@gmail.com

unread,
Nov 2, 2016, 5:53:48 PM11/2/16
to
hi guys. I read all of guides on the net maybe and I wasn't benn able to put this symbol ☉ (sun, circle dot operator) in an axis label. Please, help me. I need it in a eps file or pfd file because after i'm going to import it in a latex file. I don't want to use a tex terminal in gnuplot. Please don't explain me how do it, but write here only codes i've to write on terminal. I just tried utf8 encoding, enhanced, pdfcairo.....etc.etc. Thank you very very very very very much if you solve this problem for me.

Ethan A Merritt

unread,
Nov 2, 2016, 9:42:32 PM11/2/16
to
gnuplot> set encoding utf8
gnuplot> set xlabel "Suns ☉☉☉☉"
gnuplot> set x2label "Circle Dots ⊙⊙⊙⊙"
gnuplot> set term dumb size 60,12
gnuplot> plot x

Circle Dots ⊙⊙⊙⊙
10 +-+----------+------------+-----------+--------*****
5 +-+ + + +******** +-+
| ********* x ******* |
0 +-+ ******** +-+
−5 +-+ ********* +-+
+ ********+ + + +
−10 *****--------+------------+-----------+----------+-+
−10 −5 0 5 10
Suns ☉☉☉☉


I used unicode U+2609 SUN for the x label
and unicode U+2299 CIRCLED DOT OPERATOR for the x2 label

Of course you want to use a pdf or png terminal rather than the
dumb terminal. (*.eps will not work because PostScript does
not support utf8 encoding).

Ethan

Jörg Buchholz

unread,
Nov 3, 2016, 1:47:45 AM11/3/16
to
Ethan A Merritt wrote on 03/11/16 02:42:

> gnuplot> set encoding utf8
> gnuplot> set xlabel "Suns ☉☉☉☉"
> gnuplot> set x2label "Circle Dots ⊙⊙⊙⊙"
> gnuplot> set term dumb size 60,12
> gnuplot> plot x
>
> I used unicode U+2609 SUN for the x label
> and unicode U+2299 CIRCLED DOT OPERATOR for the x2 label
>
> Of course you want to use a pdf or png terminal rather than the
> dumb terminal. (*.eps will not work because PostScript does
> not support utf8 encoding).


term epscairo works with utf8. No Problem with

set encoding utf8
set xlabel "Suns ☉☉☉☉"
set x2label "Circle Dots ⊙⊙⊙⊙"
set out 'test-utf8.eps'
set term epscairo
plot sin(x)
set out

Jörg

0 new messages