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


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

Maths symbols

Started bydb <dieterhansbritz@gmail.com>
First post2023-01-17 17:04 +0100
Last post2023-01-27 13:05 +0100
Articles 6 — 3 participants

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


Contents

  Maths symbols db <dieterhansbritz@gmail.com> - 2023-01-17 17:04 +0100
    Re: Maths symbols Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2023-01-17 21:01 +0100
      Re: Maths symbols Jörg Buchholz <bookwood4new@freenet.de> - 2023-01-18 07:16 +0100
    Re: Maths symbols db <dieterhansbritz@gmail.com> - 2023-01-25 14:50 +0100
      Re: Maths symbols Jörg Buchholz <bookwood4new@freenet.de> - 2023-01-26 07:20 +0100
        Re: Maths symbols db <dieterhansbritz@gmail.com> - 2023-01-27 13:05 +0100

#4507 — Maths symbols

Fromdb <dieterhansbritz@gmail.com>
Date2023-01-17 17:04 +0100
SubjectMaths symbols
Message-ID<tq6gum$39t68$3@dont-email.me>
What is the best way to get maths symbols in gnuplot? I currently
want the square root symbol. \sqrt{..} doesn't work.
-- 
Dieter Britz

[toc] | [next] | [standalone]


#4508

FromHans-Bernhard Bröker <HBBroeker@t-online.de>
Date2023-01-17 21:01 +0100
Message-ID<k2od5dFbif6U1@mid.dfncis.de>
In reply to#4507
Am 17.01.2023 um 17:04 schrieb db:
> What is the best way to get maths symbols in gnuplot? I currently
> want the square root symbol. \sqrt{..} doesn't work.

There cannot be a single "best" way like that.  The variety of output 
formats is a good deal to big for that.

\sqrt could work just fine if your output is TeX-based.  Other formats 
may fare better with literal sqrt characters in the command, e.g. using 
UTF-8 input and text storage methods.

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


#4509

FromJörg Buchholz <bookwood4new@freenet.de>
Date2023-01-18 07:16 +0100
Message-ID<tq82sg$3kqs6$1@dont-email.me>
In reply to#4508
On 17.01.2023 21:01, Hans-Bernhard Bröker wrote:
> Am 17.01.2023 um 17:04 schrieb db:
>> What is the best way to get maths symbols in gnuplot? I currently
>> want the square root symbol. \sqrt{..} doesn't work.
> 
> There cannot be a single "best" way like that.  The variety of output
> formats is a good deal to big for that.
> 
> \sqrt could work just fine if your output is TeX-based.  Other formats
> may fare better with literal sqrt characters in the command, e.g. using
> UTF-8 input and text storage methods.

from gnuplot 5.4 up you can use the direct unicode input.

<https://gnuplot.sourceforge.net/demo_5.4/unicode.html>

set label '\U+221A'

Jörg

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


#4510

Fromdb <dieterhansbritz@gmail.com>
Date2023-01-25 14:50 +0100
Message-ID<tqrc3f$mf7r$1@dont-email.me>
In reply to#4507
On 17.01.2023 17.04, db wrote:
> What is the best way to get maths symbols in gnuplot? I currently
> want the square root symbol. \sqrt{..} doesn't work.

After some fiddling I arrived at this:

set xlabel '{/Symbol=32 1/\326 T}'

It sort of works  but can I get the T closer in under the sqrt?
I.e. is there a negative spacer, like \! in laTeX?
-- 
Dieter Britz

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


#4511

FromJörg Buchholz <bookwood4new@freenet.de>
Date2023-01-26 07:20 +0100
Message-ID<tqt63u$12nir$1@dont-email.me>
In reply to#4510
On 25.01.2023 14:50, db wrote:
> On 17.01.2023 17.04, db wrote:
>> What is the best way to get maths symbols in gnuplot? I currently
>> want the square root symbol. \sqrt{..} doesn't work.
> 
> After some fiddling I arrived at this:
> 
> set xlabel '{/Symbol=32 1/\326 T}'
> 
> It sort of works  but can I get the T closer in under the sqrt?
> I.e. is there a negative spacer, like \! in laTeX?

put the T in {}

set xlabel '{/Symbol=32 1/\326{T}}'

Jörg

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


#4512

Fromdb <dieterhansbritz@gmail.com>
Date2023-01-27 13:05 +0100
Message-ID<tr0em6$1m8te$1@dont-email.me>
In reply to#4511
On 26.01.2023 07.20, Jörg Buchholz wrote:
> On 25.01.2023 14:50, db wrote:
>> On 17.01.2023 17.04, db wrote:
>>> What is the best way to get maths symbols in gnuplot? I currently
>>> want the square root symbol. \sqrt{..} doesn't work.
>>
>> After some fiddling I arrived at this:
>>
>> set xlabel '{/Symbol=32 1/\326 T}'
>>
>> It sort of works  but can I get the T closer in under the sqrt?
>> I.e. is there a negative spacer, like \! in laTeX?
> 
> put the T in {}
> 
> set xlabel '{/Symbol=32 1/\326{T}}'
> 
> Jörg
> 

Thank you!

-- 
Dieter Britz

[toc] | [prev] | [standalone]


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


csiph-web