[ncl-talk] using loop to get overlay plots into a panel
Will Hobbs
will.hobbs at utas.edu.au
Wed Jan 15 15:30:51 MST 2020
Xueyan
Instead of using the gsn_csm_contour() function, try using one of the gsn_csm_contour_map() functions. The generic gsn_csm_contour() does not assume that the data are spatial, so will not include lat/lon gridlines.
As well as the generic contour map function there are several higher level functions that map onto specific map projections. There is also a gsn_csm_contour_map_overlay() function that will perform your overlay in a single step.
Note that if you don’t use the gsn_csm_contour_map_overlay() function, then ONLY use the contour map function for the base plot (i.e. plotA)
All the contour mapping functions, including overlays, are in the help pages.
From: ncl-talk <ncl-talk-bounces at ucar.edu> on behalf of Xueyan Zhang via ncl-talk <ncl-talk at ucar.edu>
Reply-To: Xueyan Zhang <xueyanzhang520 at gmail.com>
Date: Thursday, 16 January 2020 at 8:20 AM
To: NCL-talk <ncl-talk at ucar.edu>
Subject: [ncl-talk] using loop to get overlay plots into a panel
Hello ncl-talk,
I drew a trend plot overlaid with a significance plot and then used a loop to combine this type of plot from six models. However, every plot in that panel does not show latitude and longitude tick marks as well as the trend of my variable. It looks like:
Error! Filename not specified.
[[8}5XZ%7BC35(KI(C}SDJVE.png]
Error! Filename not specified.
Thank you very much!
Xueyan
University of Tasmania Electronic Communications Policy (December, 2014).
This email is confidential, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone outside the intended recipient organisation is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender. The views expressed in this email are not necessarily the views of the University of Tasmania, unless clearly intended otherwise.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200115/f00edc0c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 51954 bytes
Desc: image001.png
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200115/f00edc0c/attachment.png>
More information about the ncl-talk
mailing list