Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3426 > unrolled thread

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

Started byedoardo.unali@gmail.com
First post2016-11-02 14:53 -0700
Last post2016-11-03 06:47 +0100
Articles 3 — 3 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  \odot (latex), print and paste ☉ everywhere, and gnuplot? edoardo.unali@gmail.com - 2016-11-02 14:53 -0700
    Re: \odot (latex), print and paste ☉ everywhere, and gnuplot? Ethan A Merritt <EAMerritt@gmail.com> - 2016-11-02 18:42 -0700
      Re: \odot (latex), print and paste ☉ everywhere, and gnuplot? Jörg Buchholz <bookwood4new@freenet.de> - 2016-11-03 06:47 +0100

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

Fromedoardo.unali@gmail.com
Date2016-11-02 14:53 -0700
Subject\odot (latex), print and paste ☉ everywhere, and gnuplot?
Message-ID<db018658-674c-4553-a77b-ba07853b65a0@googlegroups.com>
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.

[toc] | [next] | [standalone]


#3427

FromEthan A Merritt <EAMerritt@gmail.com>
Date2016-11-02 18:42 -0700
Message-ID<nve4lc$tik$1@dont-email.me>
In reply to#3426
edoardo.unali@gmail.com wrote:

> 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.


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

[toc] | [prev] | [next] | [standalone]


#3428

FromJörg Buchholz <bookwood4new@freenet.de>
Date2016-11-03 06:47 +0100
Message-ID<nvej15$o5g$1@dont-email.me>
In reply to#3427
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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web