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


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

How can I put an underscore in a label?

Started byJean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr>
First post2017-05-05 09:55 +0200
Last post2017-05-05 10:45 +0200
Articles 3 — 2 participants

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


Contents

  How can I put an underscore in a label?  Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2017-05-05 09:55 +0200
    Re: How can I put an underscore in a label? Karl Ratzsch <mail.kfr@gmx.net> - 2017-05-05 10:17 +0200
      Re: How can I put an underscore in a label? Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2017-05-05 10:45 +0200

#3634 — How can I put an underscore in a label?

FromJean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr>
Date2017-05-05 09:55 +0200
SubjectHow can I put an underscore in a label?
Message-ID<alpine.WNT.2.20.1705050950100.11184@dhcp3-6>
I found a table at:
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0ahUKEwivmciPotjTAhWCWRoKHQlQAx4QFggmMAA&url=http%3A%2F%2Fayapin-film.sakura.ne.jp%2FGnuplot%2FDocs%2Fps_guide.pdf&usg=AFQjCNHSDwVB4GMOD2LHVwJ-fCggkyfWaw

bla\352bla works well if I want blaêbla. Same for many other special 
characters. But bla\137bla causes the 2nd b to be small and lowered and gives 
no underscore. What is the right sequence?

Regards,
-- 
Jean-Pierre Coulon

[toc] | [next] | [standalone]


#3635

FromKarl Ratzsch <mail.kfr@gmx.net>
Date2017-05-05 10:17 +0200
Message-ID<oehcf3$4rh$1@solani.org>
In reply to#3634
Am 05.05.2017 um 09:55 schrieb Jean-Pierre Coulon:
> I found a table at:
> https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0ahUKEwivmciPotjTAhWCWRoKHQlQAx4QFggmMAA&url=http%3A%2F%2Fayapin-film.sakura.ne.jp%2FGnuplot%2FDocs%2Fps_guide.pdf&usg=AFQjCNHSDwVB4GMOD2LHVwJ-fCggkyfWaw
> 
> 
> bla\352bla works well if I want blaêbla. Same for many other special
> characters. But bla\137bla causes the 2nd b to be small and lowered
> and gives no underscore. What is the right sequence?

In single quotation marks '\_'

    plot x title 'HALLO\_HALLO'

gives the underscore, in double quotation marks, you have to double
the backslash:

    plot x title "HALLO\\_HALLO"

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


#3636

FromJean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr>
Date2017-05-05 10:45 +0200
Message-ID<alpine.WNT.2.20.1705051045080.7160@dhcp3-6>
In reply to#3635
On Fri, 5 May 2017, Karl Ratzsch wrote:

> In single quotation marks '\_'
>
>    plot x title 'HALLO\_HALLO'
>
> gives the underscore, in double quotation marks, you have to double
> the backslash:
>
>    plot x title "HALLO\\_HALLO"

Thanks.

-- 
Jean-Pierre Coulon

[toc] | [prev] | [standalone]


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


csiph-web