<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Your script is producing a replicated plot because you have reduced the size of time dimension to 1 in the lines,<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;u1=u(1,:,:) &nbsp; &nbsp; &nbsp;;dimension reduction</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;v1=v(1,:,:)</div><div class=""><br class=""></div><div class="">You can use the function “clmMonTLL”:&nbsp;<a href="https://www.ncl.ucar.edu/Document/Functions/Contributed/clmMonTLL.shtml" class="">https://www.ncl.ucar.edu/Document/Functions/Contributed/clmMonTLL.shtml</a>&nbsp;to calculate the long term monthly means of the wind fields. From the number of time steps it looks like the period of your data is from Jan 1948 to July 2015, however, “clmMonTLL” require time dimension in multiples of 12. You can decide to reduce the period to, for example Jan/July 1948-2015. If you have to utilize the entire period, I guess it is also possible to extend your code and forget about the function altogether.&nbsp;</div><div class=""><br class=""></div><div class="">To use the function you can remove the above two code lines and do something like,</div><div class=""><br class=""></div><div class="">&nbsp; &nbsp; &nbsp; &nbsp;load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/<a href="https://www.ncl.ucar.edu/Document/Functions/Contributed/contrib.shtml" class="">contributed.ncl</a>” ;&lt;=== Remember to load this</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp;begin</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp;...&nbsp;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mnU=clmMonTLL(u)</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mnV=clmMonTLL(v)</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;wspdAv=sqrt(mnU^2+mnV^2)</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;…</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;plot(i)=gsn_csm_vector_scalar_map_ce(wks,mnU(i),mnV(i),wspdAv(i),vcres)</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;i=i+1 ;&lt;=== This should come after the plot function</div><div class=""><br class=""></div><div class="">I hope that helps.</div><div class=""><br class=""></div><div class="">Jack</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 26 Aug 2015, at 07:16, afwande juliet &lt;<a href="mailto:afwandej965@gmail.com" class="">afwandej965@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_quote"><div dir="ltr" class=""><div class=""><div class=""><div class="">Dear NCL Users<br class=""></div>I have u and v wind both of timestep 
811, (1948-2015), I can plot the whole of timestep. However I want to 
plot monthly jan-dec for all the years so that I have 12plots for all 
years.<br class=""></div>I use this script which gives me 1 plot and repeats it 
many times to give 24 plots. I check through but I cant get where the 
problem. <br class=""><br class=""></div>Some one help figure out problem; my script is attached <br class=""></div>
</div><br class=""></div>
<span id="cid:6A3AAA7A-D5B0-478A-A4A5-E6CADB8BDCC4">&lt;83_winds&gt;</span>_______________________________________________<br class="">ncl-talk mailing list<br class=""><a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a><br class="">List instructions, subscriber options, unsubscribe:<br class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk<br class=""></div></blockquote></div><br class=""></div></body></html>