<div dir="ltr">Hi Najib,<div>I think your script is close. You are redefining the workstation each time through your n do loop. Thus, each time through the do loop the output png file gets overwritten. Change this line:</div><div>wks = gsn_open_wks(&quot;png&quot;,&quot;AOT_550&quot;)</div><div>to this:</div><div>wks = gsn_open_wks(&quot;png&quot;,&quot;AOT_550_&quot;+n)<br></div><div><br></div><div>and I think you will get what you want.</div><div><br></div><div>I hope that helps. If not, or if you have further questions, please respond to the ncl-talk email list and not to me personally.</div><div>Adam</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 24, 2017 at 3:47 AM, Najib Yusuf <span dir="ltr">&lt;<a href="mailto:najibgal@yahoo.com" target="_blank">najibgal@yahoo.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><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div id="m_-2931145036489157063yui_3_16_0_ym19_1_1490016786709_131823"><br></div><div id="m_-2931145036489157063yui_3_16_0_ym19_1_1490016786709_131823">Dear ncl-talk,</div><div id="m_-2931145036489157063yui_3_16_0_ym19_1_1490016786709_131823"><br></div><div id="m_-2931145036489157063yui_3_16_0_ym19_1_1490016786709_131823" dir="ltr">I am trying as I&#39;m still at the initial stage learning ncl going through user-guides tutorials etc. I want to plot multiple time series with the parametre from different files (AOT_550_2005 to AOT_550_2013). I have writing the codes (see attached file) but when I run it I got only one plot of AOT_550_2005 not with the remaining years.</div><div id="m_-2931145036489157063yui_3_16_0_ym19_1_1490016786709_131823" dir="ltr"><br></div><div id="m_-2931145036489157063yui_3_16_0_ym19_1_1490016786709_131823" dir="ltr">Kindly assist on how the remaining years will appear on the plot.I also tried looping but the errors are getting much so I live it this way since there is no error.</div><div id="m_-2931145036489157063yui_3_16_0_ym19_1_1490016786709_131823" dir="ltr"><br></div><div id="m_-2931145036489157063yui_3_16_0_ym19_1_1490016786709_131823" dir="ltr">Thank you</div><span class="HOEnZb"><font color="#888888"><div id="m_-2931145036489157063yui_3_16_0_ym19_1_1490016786709_131823" dir="ltr"><br></div><div id="m_-2931145036489157063yui_3_16_0_ym19_1_1490016786709_131823" dir="ltr">Najib</div></font></span></div></div><br>______________________________<wbr>_________________<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/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist,  </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a>   </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>
</div>