Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2753
| From | Ethan A Merritt <EAMerritt@gmail.com> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: plimsoll / standard enthalpy of formation |
| Date | 2015-02-16 21:10 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <mbuifn$eio$1@dont-email.me> (permalink) |
| References | <mbhlfg$bi0$1@newsserver.rrzn.uni-hannover.de> <mbmfum$i7$1@dont-email.me> <mbo5p4$ra5$1@dont-email.me> <mbo8o1$7k9$1@dont-email.me> <mbtg56$pdl$1@dont-email.me> |
Jörg Buchholz wrote:
> On 14.02.2015 20:47, Ethan A Merritt wrote:
>> Jörg Buchholz wrote:
>>
>>> On 14.02.2015 04:38, Ethan A Merritt wrote:
>>>> Jörg Buchholz wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I will set a label and/or a xlabel with a "plimsoll" at
>>>>> superscript character.
>>>>> In LaTeX, with "\usepackage{chemmacros}", you can do it with
>>>>> something like this:
>>>>>
>>>>> $\Delta H_{\mathrm{f}}^{\standardstate}$
>>>>>
>>>>> For the term postscript enhanced I found two workarounds.
>>>>>
>>>>> set xlabel "{/Symbol D}H@^{~\261__o}_f"
>>>>>
>>>>> lx=0
>>>>> ly=-0.0
>>>>> set label 1 '{/Symbol D}H_f' at lx,ly font ",14" right
>>>>> set label 2 '{/Symbol=6 \306}' at lx,ly rotate by -45 offset char
>>>>> 0,0.6 left
>>>>>
>>>>> The first one (xlabel) did not work with term pdfcairo enhanced
>>>>> and the second one (label) needs some other offsets.
>>>>
>>>> All of the cairo terminals, and pretty much all terminals newer
>>>> than
>>>> PostScript, work best with UTF8 encoding. No need to change the
>>>> font to /Symbol, no need to construct special positioning.
>>>> Latex is another option of course.
>>>>
>>>> set encoding utf8
>>>> set label 1 "ΔH_{f^⦵}"
>>>>
>>>
>>> Thanks a lot. Is it the U+29B5 sign?
>>
>> Yes.
>
> Is there a way to type it in directly into the gnuplot-console? I can
> load it from a file but can not type it in directly.
I think this is entirely up the the local configuration of your
desktop environment.
> If I load it from a file than "show xlabel" shows me the following:
> xlabel is "ΔH_{f}^{⦵}"
>
> If I copy only the U+29B5 sign and paste it into the console I get a
> "\U+FFE2\U+FFA6\U+FFB5" and "show xlabel" gives me xlabel is "".
> "show encoding nominal character encoding is utf8
> however LC_CTYPE in current locale is de_DE.UTF-8"
The "set/show encoding" command in gnuplot controls how gnuplot
handles the output. It does not affect input.
> What goes wrong? It is a Debian testing with KDE. I can copy the ⦵
> into the Terminal (bash) but not into the gnuplot-console.
That is very strange. I would have thought that any input method
that worked for your terminal shell prompt would also work for an
instance of gnuplot running in that same terminal.
> When I take a gnome-terminal and start gnuplot it is the same. I can
> make the ⦵ by "strg+shift+u 29B5" but it is directly convertet to a
> "\U+FFE2\U+FFA6\U+FFB5" and the xlabel is empty.
For me the key sequence <ctrl+shift+U>29b5 works either at the
shell prompt or inside gnuplot. However in general if I want to enter
some relatively obscure character I use the KDE kcharselect tool to
look up the UTF-8 encoding value. At that point it would be possible
to type <ctrl+shift+U>XXXX, but also at that point the symbol itself
is selectable in the kcharselect window. So what I have done in the
past is double-click on the symbol in kcharselect and then paste
it into the shell or gnuplot prompt.
Characters that I use frequently (e.g. Å µ °) also have pre-defined
dead-key or AltGr sequences for terminal entry. You can define or
select these in various places including the KDE widget
"Input devices -> Keyboard settings".
Ethan
> Jörg
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
plimsoll / standard enthalpy of formation Jörg Buchholz <bookwood4news@freenet.de> - 2015-02-12 08:41 +0100
Re: plimsoll / standard enthalpy of formation Jörg Buchholz <bookwood4news@freenet.de> - 2015-02-12 20:37 +0100
Re: plimsoll / standard enthalpy of formation Ethan A Merritt <EAMerritt@gmail.com> - 2015-02-13 19:38 -0800
Re: plimsoll / standard enthalpy of formation Jörg Buchholz <bookwood4news@freenet.de> - 2015-02-14 19:57 +0100
Re: plimsoll / standard enthalpy of formation Ethan A Merritt <EAMerritt@gmail.com> - 2015-02-14 11:47 -0800
Re: plimsoll / standard enthalpy of formation Jörg Buchholz <bookwood4news@freenet.de> - 2015-02-16 20:25 +0100
Re: plimsoll / standard enthalpy of formation Ethan A Merritt <EAMerritt@gmail.com> - 2015-02-16 21:10 -0800
Re: plimsoll / standard enthalpy of formation Jörg Buchholz <bookwood4news@freenet.de> - 2015-02-17 21:13 +0100
Re: plimsoll / standard enthalpy of formation Ethan A Merritt <EAMerritt@gmail.com> - 2015-02-17 20:16 -0800
Re: plimsoll / standard enthalpy of formation Jörg Buchholz <bookwood4news@freenet.de> - 2015-02-18 20:33 +0100
Re: plimsoll / standard enthalpy of formation Ethan A Merritt <sfeam@users.sourceforge.net> - 2015-02-18 16:01 -0800
Re: plimsoll / standard enthalpy of formation Jörg Buchholz <bookwood4news@freenet.de> - 2015-02-19 19:47 +0100
csiph-web