<div dir="ltr">Hi Ioana,<div>Referring to the cnMonoFillColor documentation:</div><div><a href="http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnMonoFillColor">http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnMonoFillColor</a></div><div>When set True, all contour fill areas are set to a single color, as specified by the value of the scalar resource cnFillColor. When False, the elements of the array resource cnFillColors control the color of each fill area individually.<br></div><div><br></div><div>Try setting cnMonoFillColor = True and cnFillColor = "black".</div><div>(Alternatively set cnMonoFillColor = False and cnFillColors = "black".)</div><div><br></div><div>If that does not fix the issue let ncl-talk know.</div><div>Adam</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 17, 2016 at 3:25 PM, Ioana Colfescu <span dir="ltr"><<a href="mailto:ioana.colfescu@ed.ac.uk" target="_blank">ioana.colfescu@ed.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
I'm plotting a significance test (dots) overlapped over contours but<br>
the dots' colour is white. How can I change the colour of the dots to<br>
black ?<br>
My code is below :<br>
Thanks in advance for any suggestion.<br>
<br>
<br>
res@gsnSpreadColors = True<br>
res@lbLabelBarOn = False ; turn off individual<br>
label bars<br>
res@cnLevelSelectionMode= "ManualLevels" ; manual set levels<br>
res@cnMinLevelValF = -5.0<br>
res@cnMaxLevelValF = 5.0<br>
res@cnLevelSpacingF = 0.3 ; 20 contour levels<br>
res@cnFillOn = True ; color fill plot<br>
res@cnLinesOn = False<br>
res@cnLineLabelsOn = False<br>
res@cnInfoLabelOn = False<br>
res@lbLabelAutoStride = True<br>
<br>
res2= res<br>
res2@cnFillOn = True<br>
res2@cnMonoFillColor = False<br>
res2@cnMonoFillPattern = True<br>
res2@cnLineColor = True<br>
; res2@cnLineColor = "Black"<br>
res2@cnFillColor = "black"<br>
res2@cnFillPattern = 17 ; filled valyes are dotted<br>
; res2@cnFillDotSizeF = 0.1<br>
; res2@cnFillScaleF = 0.1 ; add extra density<br>
<br>
plot1 = gsn_csm_contour(wks,signifp1o,res2)<br>
plot(0) = gsn_csm_contour_map(wks,diff1,res)<br>
<br>
overlay(plot(0),plot1)<br>
<span class="HOEnZb"><font color="#888888">Ioana<br>
<br>
<br>
--<br>
The University of Edinburgh is a charitable body, registered in<br>
Scotland, with registration number SC005336.<br>
<br>
<br>
_______________________________________________<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/mailman/listinfo/ncl-talk</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="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>