[ncl-talk] Panel plot- spacing between plots
Mary Haley
haley at ucar.edu
Mon Nov 19 10:40:08 MST 2018
I forgot to mention: I took panel_24.ncl and modified it to mimic the map
area that you had, and then applied the resources I suggested. Note that I
didn't need to set the WhiteSpace resources because the plots are pretty
close. In fact, you may want to set these resources if you want to increase
the spacing between plots.
--Mary
On Mon, Nov 19, 2018 at 10:34 AM Mary Haley <haley at ucar.edu> wrote:
> Dear Saquib,
>
> The problem is that your plots are different sizes. NCL bases the sizing
> of all plots on the size of your first plot. If your first plot is larger
> than some of the others, then the smaller plots will be resized too much.
>
> One way around this to set the gsnPanelScalePlotIndex resource to indicate
> which plot index represents the smaller of the plots you plan to panel
> (indexing starts at 0). I would use plot index 1:
>
> pres at gsnPanelScalePlotIndex = 1
>
> However, now that you've changed the scaling, some of the larger plots on
> the left will likely fall off the page. To fix this, you can set
> gsnPanelLeft to a number slightly bigger than 0, just to provide a little
> bit if a margin:
>
> pres at gsnPanelLeft = 0.02
>
> You can see some examples of tweaking plots for a panel at:
>
> http://www.ncl.ucar.edu/Applications/panel.shtml
>
> In particular, look at plots panel_24.ncl, panel_28.ncl, and panel_30.ncl.
>
> --Mary
>
>
> On Sun, Nov 18, 2018 at 5:49 AM Md. Saquib Saharwardi 1610303 <
> saquib16 at iiserb.ac.in> wrote:
>
>> Dear NCL User,
>> I am using panel plot for multiple timescale.
>> I want to fix spacing between the plot by using resources
>>
>> pres at gsnPanelXWhiteSpacePercent = 0
>> pres at gsnPanelYWhiteSpacePercent = 2
>> Along the xaxis by default I am getting large gaps between the plots,
>> which is not solved by using these two above resources.
>> I have also attached by plots for identification of problems.
>>
>> Please help me in this regard
>>
>> Thanks and Regards
>> Saquib
>>
>> *****************************************************************************
>> Md. Saquib Saharwardi
>> Research Scholar
>> Department of Earth and Environmental Sciences
>> Indian Institute of Science Education and Research Bhopal (IISERB)
>> Bhopal- 462066, Madhya Pradesh
>> Email: saquib16 at iiserb.ac.in
>> Mob: +91-7471112404
>> CGMLI (Home Page) <http://home.iiserb.ac.in/~kumarp/index.html>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181119/e2145f2d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: panel_24.ncl
Type: application/octet-stream
Size: 892 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181119/e2145f2d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: panel.png
Type: image/png
Size: 38241 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181119/e2145f2d/attachment.png>
More information about the ncl-talk
mailing list