[ncl-talk] Add_Polyline Problem

Kerwyn Texeira ktish86 at gmail.com
Tue Mar 15 12:04:33 MDT 2016


Hi ncl_talk,

I want to plot a horizontal line to at a specific latitude .  I'm doing
this to show where I sliced the vertical cross section.  I used
gsn_add_polyline but I when I use it, I get a plot without a line drawn
with no errors.  Any help with this script will be greatly appreciated!

Thanks

Script:

plres = True
plres at gsLineColor = "blue"
plres at gsLineThicknessF = 2.0

lat = (/38.30, 38.30/)
lon = (/-120.00, -119.10/)

plot = gsn_add_polyline(wks,contour,lon,lat,plres)

draw(contour)
frame(wks)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160315/e05e236a/attachment.html 


More information about the ncl-talk mailing list