<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:14pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0"></p>
<div>Thanks for the quick response, but it did not work.</div>
<div>The script is attached.</div>
<div><br>
</div>
<div>Thank you for the advance</div>
<br>
<p></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De:</b> Rick Brownrigg <brownrig@ucar.edu><br>
<b>Enviado:</b> segunda-feira, 21 de maio de 2018 12:29:40<br>
<b>Para:</b> Vanúcia Schumacher<br>
<b>Cc:</b> ncl-talk@ucar.edu<br>
<b>Assunto:</b> Re: [ncl-talk] Error on the gsnXRefLine</font>
<div> </div>
</div>
<meta content="text/html; charset=utf-8">
<div>
<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="x_gmail_extra"><br>
<div class="x_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="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div id="x_gmail-m_6863269142646737138divtagdefaultwrapper" dir="ltr" style="font-size:14pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif">
<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>
</div>
</body>
</html>