[ncl-talk] Add_Polyline Problem
Jeremy Berman
jdberman at albany.edu
Tue Mar 15 15:33:31 MDT 2016
Hi Kerwyn,
Thanks for sending the code. Try increasing the thickness of the cross section line, such as setting plres at gsLineThicknessF = 20.0. I think the problem is that the thickness value you set (2.0) is too low to see on the plot.
Best,
Jeremy
On Mar 15, 2016, at 3:52 PM, Alan Brammer <abrammer at albany.edu>
wrote:
> 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
>
> _______________________________________________
> 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