[ncl-talk] Add_Polyline Problem

Alan Brammer abrammer at albany.edu
Tue Mar 15 13:52:53 MDT 2016


Assuming this is continuing the script we discussed offline yesterday.  Are you sure 38.3 is within the plot. 
Yesterday your max lat was 38.2

If you continue to have problems past the whole script in again. 

Alan


> On 15 Mar 2016, at 14:04, Kerwyn Texeira <ktish86 at gmail.com> wrote:
> 
> 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)
> 
>  
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk



More information about the ncl-talk mailing list