[ncl-talk] Panel Plots problem
Geeta Geeta
geetag54 at yahoo.com
Wed Dec 14 08:05:17 MST 2016
thanks Adam for the clues. It worked well. But I did not face any problem with gsn_panel earlier when the lat-lon were fixed. I did not use any resource to plot the figures of different sizes. so was it the problem with gsn_panel? Only in this case when my lat-lon are different, I faced issues with gsn_panel.
Geeta.
On Tuesday, 13 December 2016 11:49 PM, Adam Phillips <asphilli at ucar.edu> wrote:
Hi Geeta,NCL will not distort the map areas shown to make each paneled plot the same size unless you tell it to. To do this you can set the mpShapeMode/vpWidthF/vpHeightF resources as is shown in example #6 here:http://www.ncl.ucar.edu/Applications/viewport.shtml#ex6
Note that that example bases the vpWidthF/vpHeightF settings for the second plot off of the first by drawing/advancing the frame (using gsn_panel) and then retrieving the width/height of the first plot. You do not need to do this. You can simply set vpWidthF/vpHeightF to whatever you want (and of course set mpShapeMode = "FreeAspect").
Hope that helps. If you have any further questions please write to the ncl-talk email list.Adam
On Tue, Dec 13, 2016 at 9:54 AM, Geeta Geeta <geetag54 at yahoo.com> wrote:
I am making a panel plot in which for each figure, I have different ranges of lat/lon. I donot know why the plots are not of same size.
thanks Geeta.
______________________________ _________________
ncl-talk mailing list
ncl-talk at ucar.edu
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/ mailman/listinfo/ncl-talk
--
Adam Phillips
Associate Scientist, Climate and Global Dynamics Laboratory, NCAR
www.cgd.ucar.edu/staff/asphilli/ 303-497-1726
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161214/266f8d6e/attachment.html
More information about the ncl-talk
mailing list