<div dir="ltr"><div class="gmail_default" style="font-size:small">Rick and Vanúcia,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Could this be related to the bug reported here:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/future_release.shtml#GraphicsBugsFixed6.5.0">http://www.ncl.ucar.edu/future_release.shtml#GraphicsBugsFixed6.5.0</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">Scroll down to the gsnYRefLine  / gsnXRefLine section.</div><div class="gmail_default"><br></div><div class="gmail_default">If you think this is the bug, then the URL provides a fix:</div><div class="gmail_default"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/files/gsn_csm_640_fix.ncl">http://www.ncl.ucar.edu/files/gsn_csm_640_fix.ncl</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 21, 2018 at 10:50 AM, Rick Brownrigg <span dir="ltr"><<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</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">My apologies -- I misunderstood the purpose of the xyMarkerColors resource.  Try the attached slightly modified version of your script. What I did was set xyMarkerOpacityF to zero, so that the markers drawn by gsn_csm_xy() will be completely transparent, and thus only the markers drawn by gsn_add_polymarker() are visible in the intended colors.<div><br></div><div>xyMarkerOpacityF is available in NCL 6.4.0+  If you have an older version of NCL try setting </div><div><br></div><div>  res@xyMarkerColor = (/ 0., 0., 0., 0. /)</div><div><br></div><div>to achieve the same result.</div><div><br></div><div>Hope that helps...</div><span class="HOEnZb"><font color="#888888"><div>Rick</div><div><br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 21, 2018 at 9:59 AM, Vanúcia Schumacher <span dir="ltr"><<a href="mailto:vanucia-schumacher@hotmail.com" target="_blank">vanucia-schumacher@hotmail.<wbr>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="m_1941966588913515880gmail-m_4907795967157212630divtagdefaultwrapper" 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"></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%">
<div id="m_1941966588913515880gmail-m_4907795967157212630divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De:</b> Rick Brownrigg <<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</a>><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> <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
<b>Assunto:</b> Re: [ncl-talk] Error on the gsnXRefLine</font>
<div> </div>
</div><div><div class="m_1941966588913515880gmail-h5">

<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" target="_blank">http://ncl.ucar.edu/Document/G<wbr>raphics/Resources/xy.shtml</a><br>
<br>
</div>
Hope that helps, <br>
</div>
Rick<br>
</div>
<div class="m_1941966588913515880gmail-m_4907795967157212630x_gmail_extra"><br>
<div class="m_1941966588913515880gmail-m_4907795967157212630x_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.co<wbr>m</a>></span> wrote:<br>
<blockquote class="m_1941966588913515880gmail-m_4907795967157212630x_gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div id="m_1941966588913515880gmail-m_4907795967157212630x_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(i<wbr>),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" target="_blank">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/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div></div></div>

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