<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi SB,<br>
    <br>
    to use two different markers with different colors set the resources
    of xyMarkLineModes and xyMarkers like below.<br>
    <br>
    <font color="#3333ff"><tt>  res@xyMarkLineModes  = <b>(/"Markers","Markers"/)</b>  
        ;-- set mark line mode for both variables</tt><tt><br>
      </tt><tt>  res@xyMarker<b>s</b>        = (/ 10, 16/)              
        ;-- choose marker types </tt><tt><br>
      </tt><tt>  res@xyMarkerColors   = (/"red","blue"/)          ;--
        choose marker colors</tt></font><br>
    <br>
    -Karin<br>
    <br>
    <div class="moz-cite-prefix">Am 19.07.19 um 16:41 schrieb S Br via
      ncl-talk:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAMLN8+mSor0WndG9Nqd9sWxoXCoVz3+gh8RD8ybFNhFSE7dCYw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi All,
        <div>Is it possible to draw markers with different color in a XY
          plot. I am trying as given below but doesn't work.</div>
        <div><br>
        </div>
        <div>Thanks.</div>
        <div>SB</div>
        <div><br>
        </div>
        <div>x = (/0.205, 0.280, 0.211, 0.229, 0.283, 2.141, 2.160/)<br>
          <div>y = (/0.155, 0.050, 0.151, 0.159, 0.053, 0.151, 0.150/)<br>
          </div>
        </div>
        <div><br>
        </div>
        <div> res@xyMarkLineModes     = "Markers"<br>
             res@xyMarker            = 9<br>
             res@xyMarkerSizeF       = 0.02                        ;
          default 0.01<br>
             res@xyMarkerThicknessF  = 2.0                         ;
          default 1.00<br>
             res@xyMarkerColors         =  (/ "green4", "red", "blue",
          "orange", \<br>
                                             "cyan2", "darkorchid2",
          "brown"/)<br>
          <br>
             plot                    = gsn_csm_xy (wks,x,y,res)<br>
          <br>
          draw(plot)<br>
          frame(wks)<br>
          end<br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
ncl-talk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></pre>
    </blockquote>
    <br>
  </body>
</html>