[Met_help] [rt.rap.ucar.edu #95552] History for can not change the "text size" for x/y axis on ROC plot

John Halley Gotway via RT met_help at ucar.edu
Wed Jun 10 14:36:04 MDT 2020


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

Hello,

I was trying to make a "ROC" plot, but the text size for x/y axis will not
change no matter how large the number I choose.  FYI, my record is "
20200609_160522".

Thank you.

Binyu


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

Subject: can not change the "text size" for x/y axis on ROC plot
From: Julie Prestopnik
Time: Tue Jun 09 13:47:37 2020

Hi Binyu.

I have assigned this ticket to Tatiana.  Please allow a few business
days
for a response.

Julie

On Tue, Jun 9, 2020 at 10:12 AM binyu.wang at noaa.gov via RT <
met_help at ucar.edu> wrote:

>
> Tue Jun 09 10:12:02 2020: Request 95552 was acted upon.
> Transaction: Ticket created by binyu.wang at noaa.gov
>        Queue: met_help
>      Subject: can not change the "text size" for x/y axis on ROC
plot
>        Owner: Nobody
>   Requestors: binyu.wang at noaa.gov
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95552 >
>
>
> Hello,
>
> I was trying to make a "ROC" plot, but the text size for x/y axis
will not
> change no matter how large the number I choose.  FYI, my record is "
> 20200609_160522".
>
> Thank you.
>
> Binyu
>
>

--
Julie Prestopnik
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

My working day may not be your working day.  Please do not feel
obliged to
reply to this email outside of your normal working hours.

------------------------------------------------
Subject: can not change the "text size" for x/y axis on ROC plot
From: Tatiana Burek
Time: Tue Jun 09 14:39:08 2020

Binyu,

METviewer doesn't support custom axis label size for ROC plot but you
can use 'Plot Script Commands' field to change the sizes.
And you need to separate each command in this field with ';'
To change y-axis label, you need to remove the label text from the
'Titles and labels' tab and add this command:
; mtext('fff',font=1, las=0, side=2, cex=1.3, padj=-1, adj=0.5,
line=1);
You can change 'fff' to something meaningful, cex - the size of the
label magnification, padj - labels location. If you want to make the
label bold use font=2

x-axis is similar but use side=1
Example: 20200609_203631

https://www.rdocumentation.org/packages/graphics/versions/3.6.2/topics/mtext

Tatiana

On Tue Jun 09 10:12:02 2020, binyu.wang at noaa.gov wrote:
> Hello,
>
> I was trying to make a "ROC" plot, but the text size for x/y axis
will not
> change no matter how large the number I choose.  FYI, my record is "
> 20200609_160522".
>
> Thank you.
>
> Binyu



------------------------------------------------
Subject: can not change the "text size" for x/y axis on ROC plot
From: binyu.wang at noaa.gov
Time: Tue Jun 09 21:10:46 2020

Thank you very much. It works.

Binyu

On Tue, Jun 9, 2020 at 4:46 PM Tatiana Burek via RT
<met_help at ucar.edu>
wrote:

> Binyu,
>
> METviewer doesn't support custom axis label size for ROC plot but
you can
> use 'Plot Script Commands' field to change the sizes.
> And you need to separate each command in this field with ';'
> To change y-axis label, you need to remove the label text from the
'Titles
> and labels' tab and add this command:
> ; mtext('fff',font=1, las=0, side=2, cex=1.3, padj=-1, adj=0.5,
line=1);
> You can change 'fff' to something meaningful, cex - the size of the
label
> magnification, padj - labels location. If you want to make the label
bold
> use font=2
>
> x-axis is similar but use side=1
> Example: 20200609_203631
>
>
>
https://www.rdocumentation.org/packages/graphics/versions/3.6.2/topics/mtext
>
> Tatiana
>
> On Tue Jun 09 10:12:02 2020, binyu.wang at noaa.gov wrote:
> > Hello,
> >
> > I was trying to make a "ROC" plot, but the text size for x/y axis
will
> not
> > change no matter how large the number I choose.  FYI, my record is
"
> > 20200609_160522".
> >
> > Thank you.
> >
> > Binyu
>
>
>
>

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


More information about the Met_help mailing list