<div dir="ltr">Hi Jonathan,<div>gsn_contour_shade does not recognize resources beyond those listed on the function documentation page. I would suggest copying the function from </div><div>$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl, renaming it say gsn_contour_shade2, add the resources you want directly into the new function, and then load gsn_contour_shade2 at the top of your script. Specifically, change this coding within the function:</div><div><div>else</div><div> setvalues idstring </div><div> "cnFillOn" : True</div><div> "cnMonoFillColor" : True</div><div> "cnMonoFillPattern" : False</div><div> "cnFillPatterns" : colist<span class="gmail-Apple-tab-span" style="white-space:pre">        </span> </div><div> end setvalues</div></div><div>to this:</div><div><div><div>else</div><div> setvalues idstring </div><div> "cnFillOn" : True</div><div> "cnMonoFillColor" : True</div><div> "cnMonoFillPattern" : False</div><div> "cnFillPatterns" : colist<span class="gmail-Apple-tab-span" style="white-space:pre">        </span> </div><div><span style="font-size:12.8px"> "cnFillScaleF" : 0.1</span><br style="font-size:12.8px"><span style="font-size:12.8px"> "cnFillDotSizeF" : 0.5</span><br></div><div> end setvalues</div></div></div><div><br></div><div>That should do the trick.</div><div>Adam</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 7, 2016 at 8:33 AM, Buzan, Jonathan R <span dir="ltr"><<a href="mailto:jbuzan@purdue.edu" target="_blank">jbuzan@purdue.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi David,<br>
<br>
I see no change in the density or size of my stipple pattern. I’ve tried various combinations:<br>
<br>
opt = True<br>
opt@gsnShadeFillType = "pattern"<br>
opt@gsnShadeHigh = 17<br>
opt@cnMonoFillScale = True<br>
opt@cnFillScaleF = 0.1<br>
; opt@cnMonoFillScale = False<br>
; opt@cnFillScales = (/0,0,17/)<br>
; opt@cnFillScaleF = 0.1<br>
; opt@cnFillDotSizeF = 0.5<br>
<br>
plots1 = gsn_contour_shade(plots1,<wbr>minshade,maxshade,opt)<br>
<br>
-Jonathan<br>
<br>
<br>
<br>
<br>
<br>
> On Nov 4, 2016, at 6:25 PM, David Brown <<a href="mailto:dbrown@ucar.edu">dbrown@ucar.edu</a>> wrote:<br>
><br>
> You may actually want to use cnFillScaleF, the scalar resource that<br>
> applies to all fill pattern instances in the plot when cnMonoFillScale<br>
> is set True (the default).<br>
> cnFillScales is the companion array resource that allows you to set<br>
> different fill scalings (densities) for each contour fill level. For<br>
> it to apply you need to set cnMonoFillScale to False.<br>
> For stipple fill in particular you might also want to be aware of<br>
> cnFillDotSizeF if you are not already.<br>
> -dave<br>
><br>
><br>
><br>
> On Fri, Nov 4, 2016 at 4:02 PM, Buzan, Jonathan R <<a href="mailto:jbuzan@purdue.edu">jbuzan@purdue.edu</a>> wrote:<br>
>> Hello NCL-Talk,<br>
>><br>
>> I am using the gsn_contour_shade command, with pattern 17 (stipple). I am attempting change the density of the stipple, however, the gsn_contour_shade page does not list any commands to do so.<br>
>><br>
>> I tried, opt@cnFillScales = 0.5 but the command was not accepted and/or did not apply.<br>
>><br>
>><br>
>> -Jonathan<br>
>><br>
>><br>
>> ______________________________<wbr>_________________<br>
>> ncl-talk mailing list<br>
>> <a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
>> List instructions, subscriber options, unsubscribe:<br>
>> <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
>><br>
<br>
______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist, </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a> </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>
</div>