<div dir="ltr">Hi Satareh,<div>If you want to simply plot the anomalies from the first 12 months of your anom array, change this:</div><div> do nmo=0,2 ; loop over the months<br> res@gsnLeftString = months(nmo)<br> plot(nmo) = gsn_csm_contour_map(wks,anom(nmo,:,:), res) ; create plot<br> end do<br></div><div><br></div><div>to this:</div><div> do nmo=0,11 ; loop over the months<br> res@gsnLeftString = months(nmo)<br> plot(nmo) = gsn_csm_contour_map(wks,anom(nmo,:,:), res) ; create plot<br> end do<br></div><div><br></div><div>and change this:</div><div>gsn_panel(wks,plot,(/2,3/),resP) ;=plot 2 rows by 3 columns<br></div><div>to this:</div><div>gsn_panel(wks,plot,(/4,3/),resP) ;=plot 4 rows by 3 columns, = 12 plots if all entries of plot are valid<br></div><div><br></div><div>Hope that helps. If you have further questions please respond to ncl-talk.</div><div>Adam</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 13, 2022 at 9:49 AM Setareh Rahimi via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear all,</div><div>I am trying to plot the monthly anomalies of temperature for my study area, for the following month: ["January", "February", "March" "October", "November", "December"]. But my problem is that the script that I am running only plots for 3 months. Please advise me on how to fix this issue (script attached).</div><div>Thanks in advance,</div><div>Best wishes,<br></div><div>-- <br><div dir="ltr">S.Rahimi<br><br></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="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>