[ncl-talk] Polyline not displaying
Kacie Shourd
Kacie.Shourd at dri.edu
Thu Feb 23 12:35:44 MST 2017
Hiya Ryan,
Have you tried changing
gres at cnLineDrawOrder = "PreDraw"
to
gres at cnLineDrawOrder = "PostDraw"
??
Without seeing more of your script or your output that's all I can suggest!
Best,
Kacie
---
Kacie N. Shourd
드림
Graduate Research Assistant
Desert Research Institute
Kacie.Shourd at dri.edu<mailto:Kacie.Shourd at dri.edu>
Work: (775) 674-7049
________________________________
From: ncl-talk-bounces at ucar.edu [ncl-talk-bounces at ucar.edu] on behalf of Ryan Connelly [rconne01 at gmail.com]
Sent: Thursday, February 23, 2017 11:31 AM
To: ncl-talk
Subject: [ncl-talk] Polyline not displaying
Hi,
I added this small section to the bottom of a script:
plot = gsn_csm_contour_map(wks,rd_plane,radres)
; Construct a polyline to show cross-section location
gres = True
gres at gsFillColor = "black"
gres at cnLineDrawOrder = "PreDraw"
gres at gsLineThicknessF = 5.0
lat = (/44.4, 42.9/)
lon = (/-71.3, -69.3/)
dum = gsn_add_polyline(wks,plot,lon,lat,gres)
draw(plot)
But can't seem to get the line to appear. Can anyone tell me what I'm doing wrong?
Thanks,
Ryan
--
Ryan Connelly
M.S. Student in Atmospheric Sciences, Stony Brook University
B.S. in Meteorology with Minors in Mathematics and GIS, Valparaiso University
rconne01 at gmail.com<mailto:rconne01 at gmail.com>
ryan.connelly at stonybrook.edu<mailto:ryan.connelly at stonybrook.edu>
PUBLIC RECORDS NOTICE: In accordance with NRS Chapter 239, this email and responses, unless otherwise made confidential by law, may be subject to the Nevada Public Records laws and may be disclosed to the public upon request.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170223/eef4b800/attachment.html
More information about the ncl-talk
mailing list