• Maths symbols

    From db@21:1/5 to All on Tue Jan 17 17:04:38 2023
    What is the best way to get maths symbols in gnuplot? I currently
    want the square root symbol. \sqrt{..} doesn't work.
    --
    Dieter Britz

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Hans-Bernhard_Br=c3=b6ker@21:1/5 to All on Tue Jan 17 21:01:48 2023
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?J=c3=b6rg_Buchholz?=@21:1/5 to All on Wed Jan 18 07:16:48 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From db@21:1/5 to All on Wed Jan 25 14:50:39 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?J=c3=b6rg_Buchholz?=@21:1/5 to All on Thu Jan 26 07:20:47 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From db@21:1/5 to All on Fri Jan 27 13:05:26 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)