<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>I don&#39;t know for certain, but it looks like in your loop where you iterate over  &quot;num_distinct_markers&quot; and call gsn_add_polymarker(), you are overwriting the variable &quot;dum(j)&quot; each time.  There&#39;s this comment in the docs for gsn_add_polymarker():<br><br>The value returned from this function must be assigned to a unique
variable. This is necessary so that the polymarkers &quot;live&quot; for the
duration of the NCL script.  This is especially imperative if the call
to <strong>gsn_add_polymarker</strong> is inside a
function or procedure.  Please see the <a href="http://ncl.ucar.edu/Document/Graphics/Interfaces/gsn_add_polymarker.shtml#Examples">examples</a> section below for more information.
<br><br></div>So I *think* maybe you want dum dimensioned as 3 x num_distinct_markers, and inside the loop the assignment would be:<br><br></div>  dum(j,i) = gsn_add_polymarker(....)<br><br></div>Hope that helps...<br></div>Rick<br><br><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 11, 2015 at 2:38 AM, xianglin72 <span dir="ltr">&lt;<a href="mailto:xianglin72@icloud.com" target="_blank">xianglin72@icloud.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><div style="font:14px/1.5 &#39;Lucida Grande&#39;,&#39;\005fae\008f6f\0096c5\009ed1&#39;;color:#333"><p style="font:14px/1.5 &#39;Lucida Grande&#39;;margin:0">Hi, all</p><p style="font:14px/1.5 &#39;Lucida Grande&#39;;margin:0"><br></p><p style="font:14px/1.5 &#39;Lucida Grande&#39;;margin:0">         I want to post some seperate markers in 3 plots and then panel them. However, the markers were not shown correctly</p><p style="font:14px/1.5 &#39;Lucida Grande&#39;;margin:0">in each sunplots (See the attached <a href="http://wrong.ps" target="_blank">wrong.ps</a>,   and the correct subplot was also atteched as the <a href="http://correct_subplot1.ps" target="_blank">correct_subplot1.ps</a> et al).</p><p style="font:14px/1.5 &#39;Lucida Grande&#39;;margin:0">I try many time , but can not find a resolution. (the script was also attached). Anyone can give me some help?</p><p style="font:14px/1.5 &#39;Lucida Grande&#39;;margin:0"><br></p><p style="font:14px/1.5 &#39;Lucida Grande&#39;;margin:0">Thanks</p><p style="font:14px/1.5 &#39;Lucida Grande&#39;;margin:0"><br></p><p style="font:14px/1.5 &#39;Lucida Grande&#39;;margin:0"><br></p><p style="font:14px/1.5 &#39;Lucida Grande&#39;;margin:0">Lin</p><p style="font:14px/1.5 &#39;Lucida Grande&#39;;margin:0"><br></p><p style="font:14px/1.5 &#39;Lucida Grande&#39;;margin:0"><br></p><p style="font:14px/1.5 &#39;Lucida Grande&#39;;margin:0"><br></p><p style="font:14px/1.5 &#39;Lucida Grande&#39;;margin:0"><br></p><p style="font:14px/1.5 &#39;Lucida Grande&#39;;margin:0"><br></p></div></div></div><br>_______________________________________________<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/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>