<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1490506661063_5128"><span id="yui_3_16_0_1_1490506661063_5178">Dear ncl,</span></div><div id="yui_3_16_0_1_1490506661063_5128"><span><br></span></div><div id="yui_3_16_0_1_1490506661063_5128"><span id="yui_3_16_0_1_1490506661063_5643">I effected the correction but still getting a single plot.</span></div><div id="yui_3_16_0_1_1490506661063_5128"><span id="yui_3_16_0_1_1490506661063_5690">Kindly assist.</span></div><div id="yui_3_16_0_1_1490506661063_5128"><span><br></span></div><div id="yui_3_16_0_1_1490506661063_5128"><span>Thank you.</span></div><div id="yui_3_16_0_1_1490506661063_5128"><span><br></span></div><div id="yui_3_16_0_1_1490506661063_5128"><span>Najib</span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Friday, March 24, 2017 6:02 PM, Adam Phillips &lt;asphilli@ucar.edu&gt; wrote:<br></font></div>  <br><br> <div class="y_msg_container"><div id="yiv4134499333"><div><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("png","AOT_550")</div><div>to this:</div><div>wks = gsn_open_wks("png","AOT_550_"+n)<br clear="none"></div><div><br clear="none"></div><div>and I think you will get what you want.</div><div><br clear="none"></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 clear="none"></div></div><div class="yiv4134499333gmail_extra"><br clear="none"><div class="yiv4134499333gmail_quote">On Fri, Mar 24, 2017 at 3:47 AM, Najib Yusuf <span dir="ltr">&lt;<a rel="nofollow" shape="rect" ymailto="mailto:najibgal@yahoo.com" target="_blank" href="mailto:najibgal@yahoo.com">najibgal@yahoo.com</a>&gt;</span> wrote:<br clear="none"><blockquote class="yiv4134499333gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="yiv4134499333yqt8763043462" id="yiv4134499333yqt82981"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div id="yiv4134499333m_-2931145036489157063yui_3_16_0_ym19_1_1490016786709_131823"><br clear="none"></div><div id="yiv4134499333m_-2931145036489157063yui_3_16_0_ym19_1_1490016786709_131823">Dear ncl-talk,</div><div id="yiv4134499333m_-2931145036489157063yui_3_16_0_ym19_1_1490016786709_131823"><br clear="none"></div><div dir="ltr" id="yiv4134499333m_-2931145036489157063yui_3_16_0_ym19_1_1490016786709_131823">I am trying as I'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 dir="ltr" id="yiv4134499333m_-2931145036489157063yui_3_16_0_ym19_1_1490016786709_131823"><br clear="none"></div><div dir="ltr" id="yiv4134499333m_-2931145036489157063yui_3_16_0_ym19_1_1490016786709_131823">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 dir="ltr" id="yiv4134499333m_-2931145036489157063yui_3_16_0_ym19_1_1490016786709_131823"><br clear="none"></div><div dir="ltr" id="yiv4134499333m_-2931145036489157063yui_3_16_0_ym19_1_1490016786709_131823">Thank you</div><span class="yiv4134499333HOEnZb"><font color="#888888"></font></span><div dir="ltr" id="yiv4134499333m_-2931145036489157063yui_3_16_0_ym19_1_1490016786709_131823"><br clear="none"></div><div dir="ltr" id="yiv4134499333m_-2931145036489157063yui_3_16_0_ym19_1_1490016786709_131823">Najib</div></div></div></div><br clear="none">______________________________ _________________<br clear="none">
ncl-talk mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:ncl-talk@ucar.edu" target="_blank" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br clear="none">
List instructions, subscriber options, unsubscribe:<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/ mailman/listinfo/ncl-talk</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"><br clear="all"><div><br clear="none"></div>-- <br clear="none"><div class="yiv4134499333gmail_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 clear="none"></font></span></div><span><font color="#888888">Associate Scientist,&nbsp; </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br clear="none"></font></span></div></div><div><span><font color="#888888"><a rel="nofollow" shape="rect" target="_blank" href="http://www.cgd.ucar.edu/staff/asphilli/">www.cgd.ucar.edu/staff/asphilli/</a>&nbsp;&nbsp; </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 clear="none"></font></span><div><span><font color="#888888"><a rel="nofollow" shape="rect" target="_blank" href="http://www.cgd.ucar.edu/staff/asphilli"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>
</div></div></div><br><br></div>  </div> </div>  </div></div></body></html>