<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>I think what is happening is that gsn_csm_xy() is drawing markers using defaults, which would be black and index 0 (the asterick). I'm a little surprise that the subsequent calls to gsn_add_polymarker() don't completely overlay the astericks. However, you might be able to get what you want with just a call to gsn_csm_xy() by setting: <br><br></div><div>   res@xyMarker = 16<br></div>   res@xyMarkerColors = colors<br><br></div>See the docs at:<br><br>    <a href="http://ncl.ucar.edu/Document/Graphics/Resources/xy.shtml">http://ncl.ucar.edu/Document/Graphics/Resources/xy.shtml</a><br><br></div>Hope that helps, <br></div>Rick<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 20, 2018 at 5:52 PM, Vanúcia Schumacher <span dir="ltr"><<a href="mailto:vanucia-schumacher@hotmail.com" target="_blank">vanucia-schumacher@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div id="gmail-m_6863269142646737138divtagdefaultwrapper" style="font-size:14pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0px;margin-bottom:0px">Hi </p>
<p style="margin-top:0px;margin-bottom:0px"><br>
</p>
<p style="margin-top:0px;margin-bottom:0px"><span>I would like to know how to remove the "x" shaped markers that are appearing in my figure (attached) <span>when I include the option</span>: <span>res@gsnXRefLine   = (/0./)?</span></span><br>
</p>
<p style="margin-top:0px;margin-bottom:0px"><span><span><br>
</span></span></p>
<p style="margin-top:0px;margin-bottom:0px"><span><span><span>res                                              = True </span><br>
</span></span></p>
<p style="margin-top:0px;margin-bottom:0px"><span><span><span>....</span></span></span></p>
<p style="margin-top:0px;margin-bottom:0px"><span><span><span>res@xyMarkLineModes              = "Markers"</span><br>
</span></span></p>
<p style="margin-top:0px;margin-bottom:0px"><span><span><span><span>res@gsnXRefLineDashPatterns = (/14/)</span><br>
</span></span></span></p>
<p style="margin-top:0px;margin-bottom:0px"><span><span><span><span><span>res@gsnXRefLine                       = (/0./) </span><br>
</span></span></span></span></p>
<p style="margin-top:0px;margin-bottom:0px"><span><span><span>...</span></span></span></p>
<p style="margin-top:0px;margin-bottom:0px"><span><span><span>...</span></span></span></p>
<p style="margin-top:0px;margin-bottom:0px"><span><span><span></span></span></span></p>
<div> map = gsn_csm_xy(wks,x,y,res)   ;<span style="font-family:"Times New Roman"">blank xy plot</span></div>
<div><br>
</div>
<div>  mkres    = True</div>
<div>  stations = new(dimsizes(x),graphic)</div>
<div><br>
</div>
<div>    do i = 0, dimsizes(x)-1</div>
<div><br>
</div>
<div>          mkres@gsMarkerColor = colors(i)</div>
<div>          mkres@gsMarkerSizeF = 0.01</div>
<div>          mkres@gsMarkerIndex = 16</div>
<div><br>
</div>
<div>          stations(i) = gsn_add_polymarker(wks,map,x(<wbr>i),y(i),mkres)</div>
<div>      </div>
<div>    end do</div>
<div>  draw(map)      </div>
<div>  frame(wks)     </div>
<br>

<p></p>
</div>
</div>

<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></blockquote></div><br></div>