[ncl-talk] Polyline not displaying
Ryan Connelly
rconne01 at gmail.com
Thu Feb 23 12:38:36 MST 2017
Hey Kacie,
Yup, tried that. That was my first thought.
Here's the whole script (attached), if it helps.
Thanks,
Ryan
On Thu, Feb 23, 2017 at 2:35 PM, Kacie Shourd <Kacie.Shourd at dri.edu> wrote:
> 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
> 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
> 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.
>
--
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
ryan.connelly at stonybrook.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170223/e2620263/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: radar_KGYX.ncl
Type: application/octet-stream
Size: 5295 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170223/e2620263/attachment.obj
More information about the ncl-talk
mailing list