<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hi <font size="2"><span style="font-size:11pt">Setareh</span></font>,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
You can check the attached script and work from there, the resulting plot is also attached. It is based on data from here:
<a href="https://psl.noaa.gov/thredds/dodsC/Datasets/ncep.reanalysis.derived/surface/air.mon.mean.nc" id="LPlnk651273">
https://psl.noaa.gov/thredds/dodsC/Datasets/ncep.reanalysis.derived/surface/air.mon.mean.nc</a>. Note that the script plots January to December of the first year.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Best,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hyacinth</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText elementToProof"><br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 19 May 2022 16:41:15 +0430<br>
From: Setareh Rahimi <setareh.rahimi@gmail.com><br>
To: Hyacinth Nnamchi <hyacinth.1@hotmail.com><br>
Cc: "ncl-talk@mailman.ucar.edu" <ncl-talk@mailman.ucar.edu><br>
Subject: Re: [ncl-talk] Modifying size of plot and titles<br>
Message-ID:<br>
        <CAN+DFgyxxNf2e5YYE0NEdTV1ffby1iuotXqPturgYwzO-nbhmw@mail.gmail.com><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Dear Hyacinth,<br>
Thank you for your help,but it did not work.<br>
Best wishes,<br>
<br>
On Tue, May 17, 2022 at 17:44 Hyacinth Nnamchi via ncl-talk <<br>
ncl-talk@mailman.ucar.edu> wrote:<br>
<br>
> Hi,<br>
><br>
> To increase the size of the plots, you can try these:<br>
><br>
><br>
>    1. Increase the panels columns and reduce the rows. You can do:<br>
>    2.<br>
><br>
>    gsn_panel(wks,plot,(/3,2/),resP)<br>
><br>
><br>
><br>
><br>
>    1. In addition, you can reduce the white space to the left of each<br>
>    panel, so that your map starts from the west coast of Africa.<br>
>    2.<br>
><br>
>    res@mpMinLonF            = -20<br>
><br>
><br>
>    3. Then to increase the font for months "January", "Februay", etc, you<br>
>    need to introduce this resource:<br>
><br>
>            res@gsnLeftString = 0.025      ;you can increase/reduce this<br>
> value to get the right size<br>
><br>
>   Then to increase the font for months "mm", you need to introduce this:<br>
><br>
>            res@gsnRightString = 0.025      ;you can increase/reduce this<br>
> value<br>
><br>
><br>
> To have only one labelbar you need to plot before panelling, this should<br>
> also increase the size of the individual plots:<br>
><br>
>     do nmo=0,11                                  ; loop over the months<br>
>         res@gsnLeftString     = months(nmo)<br>
>         plot(nmo) = gsn_csm_contour_map(wks,anom(nmo,:,:), res)  ; create plot<br>
>      end do<br>
><br>
>    resP                     = True               ; panel options<br>
>    resP@gsnPanelMainString  = " Monthly anomaly temperature : "+(ymStrt/100)+"-"+(ymLast/100)<br>
>    resP@gsnMaximize         = True               ; maximize image<br>
>    resP@gsnPanelLabelBar    = True               ; Add a common labelbar<br>
><br>
> gsn_panel(wks,plot,(/4,3/),resP)<br>
><br>
><br>
><br>
> Best,<br>
><br>
> Hyacinth<br>
</div>
</span></font></div>
</body>
</html>