<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Here's a suggestion:<br>
<br>
i_save = new(100000,integer)<br>
j_save = new(100000,integer)<br>
counter = 0<br>
<br>
do i=0,127<br>
do j=0,364<br>
if(.not.ismissing(z2(i,j)).and.z2(i,j).lt. 0.0)then<br>
i_save(counter) = i<br>
j_save(counter) = j<br>
counter = counter + 1<br>
end if<br>
end do<br>
end do<br>
<br>
add_poly= gsn_add_polymarker(wks,plot,i_save,j_save,polyres)<br>
draw(plot)<br>
frame(wks)<br>
<br>
<div class="moz-cite-prefix">On 22/02/2016 3:10 PM, Anusha
sathyanadh wrote:<br>
</div>
<blockquote
cite="mid:CAL0pyA-gizsynsY6sQtz76AWSvirWrN7bd9ZFaQ1AScLiERfQg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>Dear Sir,<br>
(haley_at_nyahnyahspammersnyahnyah)<br>
<br>
</div>
I have seen your reply to the query <em class="">to overcome
this <br>
<br>
warning:TransformPostDraw: tfPolyDrawList element 0 is
invalid
</em><br>
<em class="">> warning:TransformPostDraw: tfPolyDrawList
element 1 is invalid
</em><br>
<em class="">> warning:TransformPostDraw: tfPolyDrawList
element 2 is invalid
</em><br>
<br>
<br>
like<br>
<br>
<br>
a = new(3,graphic)
<br>
a(0) = gsn_add_polygon(wks,plot,x1,y1,gsres)
<br>
a(1) = gsn_add_polyline(wks,plot,x2,y2,gsres)
<br>
a(2) = gsn_add_polymarker(wks,plot,x3,y3,gsres)
<br>
<br>
</div>
but it doesnt work for my script as I have to use loop
within..Can u help to get out of this trouble?<br>
<br>
<br>
do i=0,127<br>
do j=0,364<br>
if(.not.ismissing(z2(i,j)).and.z2(i,j).lt. 0.0)then<br>
add_poly= gsn_add_polymarker(wks,plot,i,j,polyres)<br>
<br>
end if<br>
draw(plot)<br>
end do<br>
end do<br>
frame(wks)<br clear="all">
<div>
<div>
<div><br>
-- <br>
<div class="gmail_signature">
<div dir="ltr"><b style="color:rgb(0,0,0)"><i><span
style="font-family:georgia,serif">ANUSHA
SATHYANADH</span><br
style="font-family:georgia,serif">
<span style="font-family:georgia,serif">Senior
Research Fellow</span><br
style="font-family:georgia,serif">
<span style="font-family:georgia,serif">Deparment
of Atmospheric and Space Sciences</span><br
style="font-family:georgia,serif">
<span style="font-family:georgia,serif">Pune
university</span><br>
</i></b><br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<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>
<pre class="moz-signature" cols="72">--
Dr. Jatin Kala
Lecturer in Atmospheric Science
Murdoch University,Perth, Western Australia
Tel: (+618) 9360 6297
<a class="moz-txt-link-freetext" href="http://www.jatinkala.com/">http://www.jatinkala.com/</a>
</pre>
</body>
</html>