[ncl-talk] Polyline not displaying

Ryan Connelly rconne01 at gmail.com
Thu Feb 23 12:31:58 MST 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170223/f419c5f7/attachment.html 


More information about the ncl-talk mailing list