Re: pattern line color

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Wed Jan 29 2014 - 15:18:49 MST

Hi Sanjiv,
gsn_contour_shade was written to be very flexible, allowing users to
either color fill or pattern fill. But it unfortunately does not allow
one to choose a color for a pattern fill. See a response I gave a few
years ago to a user asking the same question:
http://www.ncl.ucar.edu/Support/talk_archives/2010/0694.html
Adam

On 01/29/2014 02:20 PM, Sanjiv Kumar wrote:
> Hello:
>
> I am using "gsn_contour_shade" to draw hatching pattern on a map.
>
>
> ;******************************
> opt = True
> opt@gsnShadeFillType = "pattern" ; pattern fill
> opt@gsnShadeHigh = 3
> plots3(i) = gsn_csm_contour(wks, var1_ct(ind_num(i), :, :), res2)
> plots3(i) = gsn_contour_shade(plots3(i), -9999.0, 2.0, opt)
> overlay(plots(i), plots3(i))
> ;*******
>
> It draws the hatching pattern "////" in black color. I want to draw
> the hatching pattern in a different color e.g. blue color "////" .
>
> I am not sure how to do it. Any clue? I really appreciate your help.
>
> thanks
> sanjiv kumar
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
______________________________________________________________
Adam Phillips                                asphilli@ucar.edu
NCAR/Climate and Global Dynamics Division       (303) 497-1726
P.O. Box 3000				
Boulder, CO 80307-3000    http://www.cgd.ucar.edu/staff/asphilli

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Jan 29 15:18:59 2014

This archive was generated by hypermail 2.1.8 : Fri Feb 07 2014 - 16:39:11 MST