<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=""><div class="">Hi George,</div><div class=""><br class=""></div><div class="">as Will Hobbs suggested yesterday:</div><div class=""><br class=""></div><div style="font-family: Calibri, sans-serif;" class=""><font color="#38571a" class="">There's en error in your final do loop, where you create the plots; you're using indices of 0 and 1 for the plots, regardless of the loop. Every loop will just overwrite the previous loop.</font></div><div style="font-family: Calibri, sans-serif;" class=""><font color="#38571a" class=""><br class=""></font></div><div style="font-family: Calibri, sans-serif;" class=""><font color="#38571a" class="">One possible fix:</font></div><div style="font-family: Calibri, sans-serif;" class=""><font color="#38571a" class=""><br class=""></font></div><div style="font-family: Calibri, sans-serif;" class=""><font color="#38571a" class="">&nbsp;</font><b class=""> <font color="#e63b7a" class="">&nbsp;i = 0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;index to refer to the plot</font></b></div><div style="font-family: Calibri, sans-serif;" class=""><span style="color: rgb(56, 87, 26); font-family: Calibri; font-size: medium;" class="">&nbsp; &nbsp;do ns=0,dimsizes(season_index)-1</span><br style="font-family: Calibri; font-size: medium;" class=""><span style="color: rgb(56, 87, 26); font-family: Calibri; font-size: medium;" class="">&nbsp;&nbsp;&nbsp;&nbsp;</span><br style="font-family: Calibri; font-size: medium;" class=""><span style="color: rgb(56, 87, 26); font-family: Calibri; font-size: medium;" class="">&nbsp;&nbsp;&nbsp; res@gsnCenterString&nbsp;&nbsp; = season_label(ns)+":"+(ymStrt/100) +"-"+(ymLast/100)</span><br style="font-family: Calibri; font-size: medium;" class=""><span style="color: rgb(56, 87, 26); font-family: Calibri; font-size: medium;" class="">&nbsp;</span><br style="font-family: Calibri; font-size: medium;" class=""><span style="font-family: Calibri; font-size: medium;" class=""><font color="#38571a" class="">&nbsp;</font><b class=""><font color="#38571a" class="">&nbsp;&nbsp; </font><font color="#e63b7a" class="">plot(i) &nbsp; </font></b><font color="#e63b7a" class="">&nbsp;</font></span><span style="color: rgb(56, 87, 26); font-family: Calibri; font-size: medium;" class="">= gsn_csm_contour_map_ce(wks,precSeaClm(ns,:,:), res)&nbsp; ; create plot, using i NOT 0</span><br style="font-family: Calibri; font-size: medium;" class=""><span style="font-family: Calibri; font-size: medium;" class=""><font color="#38571a" class="">&nbsp;&nbsp;&nbsp;</font><b class=""><font color="#e63b7a" class=""> plot(i+1)</font></b><font color="#38571a" class=""> &nbsp;= gsn_csm_contour_map_ce(wks,prec1SeaClm(ns,:,:), res)&nbsp; ; create plot using i+1 NOT 1</font></span><br style="font-family: Calibri; font-size: medium;" class=""><span style="color: rgb(56, 87, 26); font-family: Calibri; font-size: medium;" class="">&nbsp;&nbsp;&nbsp;&nbsp;</span></div><div style="font-family: Calibri, sans-serif;" class=""><font color="#e63b7a" class="">&nbsp; &nbsp;<b class=""> i = i+2 ; update i for the next loop</b><br style="font-family: Calibri; font-size: medium;" class=""></font><span style="color: rgb(56, 87, 26); font-family: Calibri; font-size: medium;" class="">&nbsp;&nbsp;&nbsp;&nbsp;</span><br style="font-family: Calibri; font-size: medium;" class=""><span style="color: rgb(56, 87, 26); font-family: Calibri; font-size: medium;" class="">&nbsp;&nbsp; end do</span></div><div class=""><font color="#38571a" face="Calibri, sans-serif" class="">…</font></div><div class=""><font color="#232323" class=""><br class=""></font></div><div class=""><font color="#232323" class="">You use a variable i now but only i=0 and i=1 which will give only two plots because they’re always be overwritten within the loops.</font></div><div class=""><font color="#232323" class="">Why do you use two do loops now? I&nbsp;think that Will’s suggestion is correct and you should have a look on it again and. If you don’t&nbsp;</font></div><div class=""><font color="#232323" class="">know how to use a do loop take a look at &nbsp;<a href="http://www.ncl.ucar.edu/Document/Language/loops.shtml" class="">http://www.ncl.ucar.edu/Document/Language/loops.shtml</a>.</font></div><div class=""><font color="#232323" class=""><br class=""></font></div><div class=""><font color="#232323" class="">Bye,</font></div><div class=""><font color="#232323" class="">Karin</font></div><div class=""><font color="#232323" class=""><br class=""></font></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">Am 11.08.2015 um 15:56 schrieb george luke &lt;<a href="mailto:lukejuliet2015@gmail.com" class="">lukejuliet2015@gmail.com</a>&gt;:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">​​​​Dear All</div><div class="">thanks again for support.</div><div class="">for sure I just need help, still i get 2 plots instead of 6,I have implemented all what i think are needed. <em class="">Infact all the datasets are being read but plots only 2...I need help here. If u dont mind mind you can try running the script yourself. I am using GPCC and GPCP monthly data available online.&nbsp;i have attached&nbsp;script.. Anyone to show me how to fix it</em></div></div>
<span id="cid:F5B75258-6DC5-4CCF-86E3-5D15DF55D459@fritz.box">&lt;trial1&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 apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""></div></span></div></span></div></span></div></div></div></div></div></div></div></body></html>