[ncl-talk] polyg_29.ncl

Adam Phillips asphilli at ucar.edu
Mon Apr 1 10:47:12 MDT 2019


Hi Jalal,
You can use the overlay procedure
<http://www.ncl.ucar.edu/Document/Functions/Built-in/overlay.shtml>. But
note that overlay members cannot be created using a *_map plotting
function. So, for example, change this:

  plot(nc) = gsn_csm_contour_map(wks,PRC,res)
end do
resP at gsnPanelMainString  = "Example: geolocation_circle, gc_inout:
radius="+  sprintf("%4.1f", srad(nr))+"km"
gsn_panel(wks,plot,(/1,2/),resP)

to this:

if (nc.eq.0) then
   plot(nc) = gsn_csm_contour_map(wks,PRC,res)
else
   plot(nc) = gsn_csm_contour(wks,PRC,res)
   overlay(plot(0),plot(nc))
end if
resP at gsnPanelMainString  = "Example: geolocation_circle, gc_inout:
radius="+  sprintf("%4.1f", srad(nr))+"km"
gsn_panel(wks,plot(0),(/1,1/),resP)      ; alternatively can just call
draw(plot(0)) followed by frame(wks)

Adam

On Sat, Mar 30, 2019 at 8:12 PM Md. Jalal Uddin <dmjalal90 at gmail.com> wrote:

> Hi all,
>
> In example page, polyg_29 shows precipitation plot for 3 cyclones centre
> separately. If I want to draw a precipitation plot for 3 cyclones centre
> together not separately, what should I do?
>
> Best Regards,
> Jalal
> --
> *Md. Jalal Uddin*
> MSc in Applied Meteorology (English Language)
> Nanjing University of Information, Science and Technology, China
> B.Sc. in Disaster Management (Hons.)
> Patuakhali Science and Technology University, Bangladesh.
> Cell: +8613260859092, +8801792052662
> Web: www.dmjalal90.weebly.com
> Facebook: jalal.hossen.39
> LinkedIn: https://bd.linkedin.com/in/md-jalal-uddin-80a026b0
> Twitter: dmjalal90
> Skype: dmjalal90
> _______________________________________________
> 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

<http://www.cgd.ucar.edu/staff/asphilli>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190401/0b15fbb8/attachment.html>


More information about the ncl-talk mailing list