<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:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">Hi NCL users,<br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">I'm trying to plot observation data to model simulated data&nbsp;map. I think I should use gsn_add_polymarker to overlay them. But for the @gsMarkerColor, I want use the same color for&nbsp;plotting&nbsp;simulated data map,
 so I tried to use code like the following. But I got black dots on the map. Can somebody help me to solve this? Thank you very much.<br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">Yun<br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">wks = gsn_open_wks(&quot;x11&quot;, &quot;overlay&quot;)<br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">gsn_define_colormap(wks,&quot;WhAqGrYeOrReVi200&quot;)<br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">cmap &nbsp; &nbsp; &nbsp;= gsn_retrieve_colormap(wks)<br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">cnLevels = (/5,10,15,20,25,30</span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">/</span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">)</span><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">res_poly = True<br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">res_poly@gsMarkerIndex = 16<br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">res_poly@gsMarkerSizeF = 10 &nbsp;&nbsp;<br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">do i = 0, station_numb<br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><span style="color: rgb(255, 0, 0);">res_poly@gsMarkerColor = GetFillColor(cnLevels, cmap, pmvalue(i))</span><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div>dum = gsn_add_polymarker(wks, plot, x, y, res_poly)<br>
</div>
<div>str1 &nbsp;= unique_string(&quot;dum&quot;<span style="font-size: 12pt;">)</span></div>
<div><span style="font-size: 12pt;">plot@$str1$=dum</span></div>
<div><span style="font-size: 12pt;">end do</span></div>
<div><span style="font-size: 12pt;">draw (plot)</span></div>
<div><span style="font-size: 12pt;"><br>
</span></div>
<div><span style="font-size: 12pt;"><br>
</span></div>
<div><br>
</div>
<div><span style="font-size: 12pt;"><br>
</span></div>
</div>
</div>
</div>
</div>
</body>
</html>