[Met_help] [rt.rap.ucar.edu #92939] History for Fwd: Help with superscripts in METViewer

John Halley Gotway via RT met_help at ucar.edu
Tue Nov 5 09:22:30 MST 2019


----------------------------------------------------------------
  Initial Request
----------------------------------------------------------------

---------- Forwarded message ---------
From: Jeff Beck - NOAA Affiliate <jeff.beck at noaa.gov>
Date: Tue, Oct 29, 2019 at 1:35 PM
Subject: Help with superscripts in METViewer
To: <met-help at rap.ucar.edu>


Hi!

I'm trying to generate superscripts in axis titles on METViewer, and I've
been able to get certain superscripts to plot correctly by inserting the
necessary unicode values.  Ex: Temp \U00B0\U0046 for degrees F.

However, I just tried ms-1 (-1 being a superscript) as follows:

ms\U207B\U00B9

But it fails with the following error:

==== Start Rscript error ==== Warning messages: 1: In mtext("Wind Speed
ms⁻¹) Bias", font = 2, las = 0, side = intY1Axis, : conversion failure on
'Wind Speed ms⁻¹) Bias' in 'mbcsToSbcs': dot substituted for <e2> 2: In
mtext("Wind Speed ms⁻¹) Bias", font = 2, las = 0, side = intY1Axis, :
conversion failure on 'Wind Speed ms⁻¹) Bias' in 'mbcsToSbcs': dot
substituted for <81> 3: In mtext("Wind Speed ms⁻¹) Bias", font = 2, las =
0, side = intY1Axis, : conversion failure on 'Wind Speed ms⁻¹) Bias' in
'mbcsToSbcs': dot substituted for <bb> 4: In mtext("Wind Speed ms⁻¹) Bias",
font = 2, las = 0, side = intY1Axis, : conversion failure on 'Wind Speed
ms⁻¹) Bias' in 'mbcsToSbcs': dot substituted for <e2> 5: In mtext("Wind
Speed ms⁻¹) Bias", font = 2, las = 0, side = intY1Axis, : conversion
failure on 'Wind Speed ms⁻¹) Bias' in 'mbcsToSbcs': dot substituted for
<81> 6: In mtext("Wind Speed ms⁻¹) Bias", font = 2, las = 0, side =
intY1Axis, : conversion failure on 'Wind Speed ms⁻¹) Bias' in 'mbcsToSbcs':
dot substituted for <bb> ==== End Rscript error ====

Which is strange, because the -1 is in superscript form within the error!

I then tried doing everything in unicode (the "ms" included):

\U006D\U0073\U207B\U00B

But that results in the same error as above.

I'm able to get the "1" as a superscript, but the "-" isn't working, and
results in:

ms...¹

Any thoughts on what I might be doing wrong?

Thanks!

- Jeff


----------------------------------------------------------------
  Complete Ticket History
----------------------------------------------------------------

Subject: Fwd: Help with superscripts in METViewer
From: John Halley Gotway
Time: Mon Nov 04 15:40:26 2019

Jeff,

I think I may have just stumbled on the answer:
   \u207B\u00B9

Hopefully that'll result in a superscript negative 1.

Thanks,
John


On Mon, Nov 4, 2019 at 3:30 PM jeff.beck at noaa.gov via RT
<met_help at ucar.edu>
wrote:

>
> Mon Nov 04 15:30:38 2019: Request 92939 was acted upon.
> Transaction: Ticket created by jeff.beck at noaa.gov
>        Queue: met_help
>      Subject: Fwd: Help with superscripts in METViewer
>        Owner: Nobody
>   Requestors: jeff.beck at noaa.gov
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=92939 >
>
>
> ---------- Forwarded message ---------
> From: Jeff Beck - NOAA Affiliate <jeff.beck at noaa.gov>
> Date: Tue, Oct 29, 2019 at 1:35 PM
> Subject: Help with superscripts in METViewer
> To: <met-help at rap.ucar.edu>
>
>
> Hi!
>
> I'm trying to generate superscripts in axis titles on METViewer, and
I've
> been able to get certain superscripts to plot correctly by inserting
the
> necessary unicode values.  Ex: Temp \U00B0\U0046 for degrees F.
>
> However, I just tried ms-1 (-1 being a superscript) as follows:
>
> ms\U207B\U00B9
>
> But it fails with the following error:
>
> ==== Start Rscript error ==== Warning messages: 1: In mtext("Wind
Speed
> ms⁻¹) Bias", font = 2, las = 0, side = intY1Axis, : conversion
failure on
> 'Wind Speed ms⁻¹) Bias' in 'mbcsToSbcs': dot substituted for <e2> 2:
In
> mtext("Wind Speed ms⁻¹) Bias", font = 2, las = 0, side = intY1Axis,
:
> conversion failure on 'Wind Speed ms⁻¹) Bias' in 'mbcsToSbcs': dot
> substituted for <81> 3: In mtext("Wind Speed ms⁻¹) Bias", font = 2,
las =
> 0, side = intY1Axis, : conversion failure on 'Wind Speed ms⁻¹) Bias'
in
> 'mbcsToSbcs': dot substituted for <bb> 4: In mtext("Wind Speed ms⁻¹)
Bias",
> font = 2, las = 0, side = intY1Axis, : conversion failure on 'Wind
Speed
> ms⁻¹) Bias' in 'mbcsToSbcs': dot substituted for <e2> 5: In
mtext("Wind
> Speed ms⁻¹) Bias", font = 2, las = 0, side = intY1Axis, : conversion
> failure on 'Wind Speed ms⁻¹) Bias' in 'mbcsToSbcs': dot substituted
for
> <81> 6: In mtext("Wind Speed ms⁻¹) Bias", font = 2, las = 0, side =
> intY1Axis, : conversion failure on 'Wind Speed ms⁻¹) Bias' in
'mbcsToSbcs':
> dot substituted for <bb> ==== End Rscript error ====
>
> Which is strange, because the -1 is in superscript form within the
error!
>
> I then tried doing everything in unicode (the "ms" included):
>
> \U006D\U0073\U207B\U00B
>
> But that results in the same error as above.
>
> I'm able to get the "1" as a superscript, but the "-" isn't working,
and
> results in:
>
> ms...¹
>
> Any thoughts on what I might be doing wrong?
>
> Thanks!
>
> - Jeff
>
>

------------------------------------------------
Subject: Fwd: Help with superscripts in METViewer
From: John Halley Gotway
Time: Mon Nov 04 15:43:05 2019

Nope nevermind.  That's what you already had.  That worked directly in
R,
but not through METviewer.

John

On Mon, Nov 4, 2019 at 3:40 PM John Halley Gotway <johnhg at ucar.edu>
wrote:

> Jeff,
>
> I think I may have just stumbled on the answer:
>    \u207B\u00B9
>
> Hopefully that'll result in a superscript negative 1.
>
> Thanks,
> John
>
>
> On Mon, Nov 4, 2019 at 3:30 PM jeff.beck at noaa.gov via RT <
> met_help at ucar.edu> wrote:
>
>>
>> Mon Nov 04 15:30:38 2019: Request 92939 was acted upon.
>> Transaction: Ticket created by jeff.beck at noaa.gov
>>        Queue: met_help
>>      Subject: Fwd: Help with superscripts in METViewer
>>        Owner: Nobody
>>   Requestors: jeff.beck at noaa.gov
>>       Status: new
>>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=92939 >
>>
>>
>> ---------- Forwarded message ---------
>> From: Jeff Beck - NOAA Affiliate <jeff.beck at noaa.gov>
>> Date: Tue, Oct 29, 2019 at 1:35 PM
>> Subject: Help with superscripts in METViewer
>> To: <met-help at rap.ucar.edu>
>>
>>
>> Hi!
>>
>> I'm trying to generate superscripts in axis titles on METViewer,
and I've
>> been able to get certain superscripts to plot correctly by
inserting the
>> necessary unicode values.  Ex: Temp \U00B0\U0046 for degrees F.
>>
>> However, I just tried ms-1 (-1 being a superscript) as follows:
>>
>> ms\U207B\U00B9
>>
>> But it fails with the following error:
>>
>> ==== Start Rscript error ==== Warning messages: 1: In mtext("Wind
Speed
>> ms⁻¹) Bias", font = 2, las = 0, side = intY1Axis, : conversion
failure on
>> 'Wind Speed ms⁻¹) Bias' in 'mbcsToSbcs': dot substituted for <e2>
2: In
>> mtext("Wind Speed ms⁻¹) Bias", font = 2, las = 0, side = intY1Axis,
:
>> conversion failure on 'Wind Speed ms⁻¹) Bias' in 'mbcsToSbcs': dot
>> substituted for <81> 3: In mtext("Wind Speed ms⁻¹) Bias", font = 2,
las =
>> 0, side = intY1Axis, : conversion failure on 'Wind Speed ms⁻¹)
Bias' in
>> 'mbcsToSbcs': dot substituted for <bb> 4: In mtext("Wind Speed
ms⁻¹)
>> Bias",
>> font = 2, las = 0, side = intY1Axis, : conversion failure on 'Wind
Speed
>> ms⁻¹) Bias' in 'mbcsToSbcs': dot substituted for <e2> 5: In
mtext("Wind
>> Speed ms⁻¹) Bias", font = 2, las = 0, side = intY1Axis, :
conversion
>> failure on 'Wind Speed ms⁻¹) Bias' in 'mbcsToSbcs': dot substituted
for
>> <81> 6: In mtext("Wind Speed ms⁻¹) Bias", font = 2, las = 0, side =
>> intY1Axis, : conversion failure on 'Wind Speed ms⁻¹) Bias' in
>> 'mbcsToSbcs':
>> dot substituted for <bb> ==== End Rscript error ====
>>
>> Which is strange, because the -1 is in superscript form within the
error!
>>
>> I then tried doing everything in unicode (the "ms" included):
>>
>> \U006D\U0073\U207B\U00B
>>
>> But that results in the same error as above.
>>
>> I'm able to get the "1" as a superscript, but the "-" isn't
working, and
>> results in:
>>
>> ms...¹
>>
>> Any thoughts on what I might be doing wrong?
>>
>> Thanks!
>>
>> - Jeff
>>
>>

------------------------------------------------
Subject: Fwd: Help with superscripts in METViewer
From: John Halley Gotway
Time: Mon Nov 04 15:46:16 2019

Jeff,

On the "Formatting" tab, in the "Plot Formatting" box, change the
"Image
Type" dropdown box from "png16m" to "jpeg".

And then the unicode sequence "ms\u207B\u00B9" will actually work.

John

On Mon, Nov 4, 2019 at 3:42 PM John Halley Gotway <johnhg at ucar.edu>
wrote:

> Nope nevermind.  That's what you already had.  That worked directly
in R,
> but not through METviewer.
>
> John
>
> On Mon, Nov 4, 2019 at 3:40 PM John Halley Gotway <johnhg at ucar.edu>
wrote:
>
>> Jeff,
>>
>> I think I may have just stumbled on the answer:
>>    \u207B\u00B9
>>
>> Hopefully that'll result in a superscript negative 1.
>>
>> Thanks,
>> John
>>
>>
>> On Mon, Nov 4, 2019 at 3:30 PM jeff.beck at noaa.gov via RT <
>> met_help at ucar.edu> wrote:
>>
>>>
>>> Mon Nov 04 15:30:38 2019: Request 92939 was acted upon.
>>> Transaction: Ticket created by jeff.beck at noaa.gov
>>>        Queue: met_help
>>>      Subject: Fwd: Help with superscripts in METViewer
>>>        Owner: Nobody
>>>   Requestors: jeff.beck at noaa.gov
>>>       Status: new
>>>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=92939 >
>>>
>>>
>>> ---------- Forwarded message ---------
>>> From: Jeff Beck - NOAA Affiliate <jeff.beck at noaa.gov>
>>> Date: Tue, Oct 29, 2019 at 1:35 PM
>>> Subject: Help with superscripts in METViewer
>>> To: <met-help at rap.ucar.edu>
>>>
>>>
>>> Hi!
>>>
>>> I'm trying to generate superscripts in axis titles on METViewer,
and I've
>>> been able to get certain superscripts to plot correctly by
inserting the
>>> necessary unicode values.  Ex: Temp \U00B0\U0046 for degrees F.
>>>
>>> However, I just tried ms-1 (-1 being a superscript) as follows:
>>>
>>> ms\U207B\U00B9
>>>
>>> But it fails with the following error:
>>>
>>> ==== Start Rscript error ==== Warning messages: 1: In mtext("Wind
Speed
>>> ms⁻¹) Bias", font = 2, las = 0, side = intY1Axis, : conversion
failure on
>>> 'Wind Speed ms⁻¹) Bias' in 'mbcsToSbcs': dot substituted for <e2>
2: In
>>> mtext("Wind Speed ms⁻¹) Bias", font = 2, las = 0, side =
intY1Axis, :
>>> conversion failure on 'Wind Speed ms⁻¹) Bias' in 'mbcsToSbcs': dot
>>> substituted for <81> 3: In mtext("Wind Speed ms⁻¹) Bias", font =
2, las =
>>> 0, side = intY1Axis, : conversion failure on 'Wind Speed ms⁻¹)
Bias' in
>>> 'mbcsToSbcs': dot substituted for <bb> 4: In mtext("Wind Speed
ms⁻¹)
>>> Bias",
>>> font = 2, las = 0, side = intY1Axis, : conversion failure on 'Wind
Speed
>>> ms⁻¹) Bias' in 'mbcsToSbcs': dot substituted for <e2> 5: In
mtext("Wind
>>> Speed ms⁻¹) Bias", font = 2, las = 0, side = intY1Axis, :
conversion
>>> failure on 'Wind Speed ms⁻¹) Bias' in 'mbcsToSbcs': dot
substituted for
>>> <81> 6: In mtext("Wind Speed ms⁻¹) Bias", font = 2, las = 0, side
=
>>> intY1Axis, : conversion failure on 'Wind Speed ms⁻¹) Bias' in
>>> 'mbcsToSbcs':
>>> dot substituted for <bb> ==== End Rscript error ====
>>>
>>> Which is strange, because the -1 is in superscript form within the
error!
>>>
>>> I then tried doing everything in unicode (the "ms" included):
>>>
>>> \U006D\U0073\U207B\U00B
>>>
>>> But that results in the same error as above.
>>>
>>> I'm able to get the "1" as a superscript, but the "-" isn't
working, and
>>> results in:
>>>
>>> ms...¹
>>>
>>> Any thoughts on what I might be doing wrong?
>>>
>>> Thanks!
>>>
>>> - Jeff
>>>
>>>

------------------------------------------------
Subject: Fwd: Help with superscripts in METViewer
From: jeff.beck at noaa.gov
Time: Mon Nov 04 16:11:21 2019

Thanks, John!  That worked.  Strange that the output graphics option
would
fix that, but it does!

On Mon, Nov 4, 2019 at 3:46 PM John Halley Gotway via RT
<met_help at ucar.edu>
wrote:

> Jeff,
>
> On the "Formatting" tab, in the "Plot Formatting" box, change the
"Image
> Type" dropdown box from "png16m" to "jpeg".
>
> And then the unicode sequence "ms\u207B\u00B9" will actually work.
>
> John
>
> On Mon, Nov 4, 2019 at 3:42 PM John Halley Gotway <johnhg at ucar.edu>
wrote:
>
> > Nope nevermind.  That's what you already had.  That worked
directly in R,
> > but not through METviewer.
> >
> > John
> >
> > On Mon, Nov 4, 2019 at 3:40 PM John Halley Gotway
<johnhg at ucar.edu>
> wrote:
> >
> >> Jeff,
> >>
> >> I think I may have just stumbled on the answer:
> >>    \u207B\u00B9
> >>
> >> Hopefully that'll result in a superscript negative 1.
> >>
> >> Thanks,
> >> John
> >>
> >>
> >> On Mon, Nov 4, 2019 at 3:30 PM jeff.beck at noaa.gov via RT <
> >> met_help at ucar.edu> wrote:
> >>
> >>>
> >>> Mon Nov 04 15:30:38 2019: Request 92939 was acted upon.
> >>> Transaction: Ticket created by jeff.beck at noaa.gov
> >>>        Queue: met_help
> >>>      Subject: Fwd: Help with superscripts in METViewer
> >>>        Owner: Nobody
> >>>   Requestors: jeff.beck at noaa.gov
> >>>       Status: new
> >>>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=92939
> >
> >>>
> >>>
> >>> ---------- Forwarded message ---------
> >>> From: Jeff Beck - NOAA Affiliate <jeff.beck at noaa.gov>
> >>> Date: Tue, Oct 29, 2019 at 1:35 PM
> >>> Subject: Help with superscripts in METViewer
> >>> To: <met-help at rap.ucar.edu>
> >>>
> >>>
> >>> Hi!
> >>>
> >>> I'm trying to generate superscripts in axis titles on METViewer,
and
> I've
> >>> been able to get certain superscripts to plot correctly by
inserting
> the
> >>> necessary unicode values.  Ex: Temp \U00B0\U0046 for degrees F.
> >>>
> >>> However, I just tried ms-1 (-1 being a superscript) as follows:
> >>>
> >>> ms\U207B\U00B9
> >>>
> >>> But it fails with the following error:
> >>>
> >>> ==== Start Rscript error ==== Warning messages: 1: In
mtext("Wind Speed
> >>> ms⁻¹) Bias", font = 2, las = 0, side = intY1Axis, : conversion
failure
> on
> >>> 'Wind Speed ms⁻¹) Bias' in 'mbcsToSbcs': dot substituted for
<e2> 2: In
> >>> mtext("Wind Speed ms⁻¹) Bias", font = 2, las = 0, side =
intY1Axis, :
> >>> conversion failure on 'Wind Speed ms⁻¹) Bias' in 'mbcsToSbcs':
dot
> >>> substituted for <81> 3: In mtext("Wind Speed ms⁻¹) Bias", font =
2,
> las =
> >>> 0, side = intY1Axis, : conversion failure on 'Wind Speed ms⁻¹)
Bias' in
> >>> 'mbcsToSbcs': dot substituted for <bb> 4: In mtext("Wind Speed
ms⁻¹)
> >>> Bias",
> >>> font = 2, las = 0, side = intY1Axis, : conversion failure on
'Wind
> Speed
> >>> ms⁻¹) Bias' in 'mbcsToSbcs': dot substituted for <e2> 5: In
mtext("Wind
> >>> Speed ms⁻¹) Bias", font = 2, las = 0, side = intY1Axis, :
conversion
> >>> failure on 'Wind Speed ms⁻¹) Bias' in 'mbcsToSbcs': dot
substituted for
> >>> <81> 6: In mtext("Wind Speed ms⁻¹) Bias", font = 2, las = 0,
side =
> >>> intY1Axis, : conversion failure on 'Wind Speed ms⁻¹) Bias' in
> >>> 'mbcsToSbcs':
> >>> dot substituted for <bb> ==== End Rscript error ====
> >>>
> >>> Which is strange, because the -1 is in superscript form within
the
> error!
> >>>
> >>> I then tried doing everything in unicode (the "ms" included):
> >>>
> >>> \U006D\U0073\U207B\U00B
> >>>
> >>> But that results in the same error as above.
> >>>
> >>> I'm able to get the "1" as a superscript, but the "-" isn't
working,
> and
> >>> results in:
> >>>
> >>> ms...¹
> >>>
> >>> Any thoughts on what I might be doing wrong?
> >>>
> >>> Thanks!
> >>>
> >>> - Jeff
> >>>
> >>>
>
>

------------------------------------------------


More information about the Met_help mailing list