[ncl-talk] size/density of stipple in gsnShade

debasish mazumder debasish at ucar.edu
Thu Mar 9 12:28:12 MST 2017


Thanks Mary. It works.

-Deb


On 3/9/17 12:14 PM, Mary Haley wrote:
> Hi Deb,
>
> This function doesn't currently allow you to control the size and density.
>
> Try this modified version of gsn_contour_shade.ncl and let me know if 
> this is what you want.  You will need to load this script after your 
> other load commands, if any.
>
> To change the size and/or the scale, set these two new resources:
>
>   opt at gsnShadeFillDotSizeF = 0.002
>   opt at gsnShadeFillScaleF = 0.3
>
> I didn't add the capability to do it individually for the low, high, 
> and mid levels because this will require a bit more work.
>
> Let me know if this is not what you want.
>
> --Mary
>
> On Wed, Mar 8, 2017 at 11:23 PM, debasish mazumder <debasish at ucar.edu 
> <mailto:debasish at ucar.edu>> wrote:
>
>     Hi All,
>
>     I have used example 4
>     (http://www.ncl.ucar.edu/Applications/Scripts/conOncon_4.ncl
>     <http://www.ncl.ucar.edu/Applications/Scripts/conOncon_4.ncl>) to
>     shade a
>     specific region.
>
>        opt     = True
>        opt at gsnShadeFillType = "pattern"
>        opt at gsnShadeLow = 17
>        plot2   = gsn_contour_shade(plot2, 0.05, 30, opt)
>
>     How do I control size and density of the stipples in gsnShade?
>
>     with regards
>     -Deb
>
>     _______________________________________________
>     ncl-talk mailing list
>     ncl-talk at ucar.edu <mailto:ncl-talk at ucar.edu>
>     List instructions, subscriber options, unsubscribe:
>     http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>     <http://mailman.ucar.edu/mailman/listinfo/ncl-talk>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170309/1e1ed5ae/attachment.html 


More information about the ncl-talk mailing list