<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Hi,</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">I have three plots which I want to panel in 3 rows and 1 column.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">However, actually each of these 3 plots are a combination of 23 plots</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">overlaid on top of each other.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">It seems that they cannot be panelled assuming they're single plots.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Here's the code snippet:</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">plot1 = new(23,graphic)<br>plot2 = new(23,graphic)<br>plot3 = new(23,graphic)<br><br>tt = fspan(.5,0.9,23)    ; variable spacings between each legend on the lines which increase for every next line<br>do gg = 0,19<br>    res@xyLineDashSegLenF = tt(gg)<br>    res@xyExplicitLabels = s(gg)<br>    res@xyLineColors = s1(0)<br>    plot1(gg) = gsn_csm_xy(wks,timearr,pm25_Beijing_combmatrix(gg,:),res)<br>    plot2(gg) = gsn_csm_xy(wks,timearr,pm25_APEC2_combmatrix(gg,:),res)<br>    plot3(gg) = gsn_csm_xy(wks,timearr,pm25_APEC3_combmatrix(gg,:),res)<br>    if (gg.ge.1) then<br>       overlay(plot1(0),plot1(gg))<br>       overlay(plot2(0),plot2(gg))<br>       overlay(plot3(0),plot3(gg))<br>    end if<br>end do<br><br>do gg = 20,22<br>    res@xyLineDashSegLenF = tt(gg)<br>    res@xyExplicitLabels = s(gg)<br>    res@xyLineColors = s1(gg-19)<br>    plot1(gg) = gsn_csm_xy(wks,timearr,pm25_Beijing_combmatrix(gg,:),res)<br>    plot2(gg) = gsn_csm_xy(wks,timearr,pm25_APEC2_combmatrix(gg,:),res)<br>    plot3(gg) = gsn_csm_xy(wks,timearr,pm25_APEC3_combmatrix(gg,:),res)<br>    if (gg.ge.1) then<br>       overlay(plot1(0),plot1(gg))<br>       overlay(plot2(0),plot2(gg))<br>       overlay(plot3(0),plot3(gg))<br>    end if<br>end do<br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">;************************************************<br>; create panel<br>;************************************************<br>  resP                    = True                 ; modify the panel plot<br>  resP@gsnPanelYWhiteSpacePercent = 0.0<br>  resP@gsnPanelXWhiteSpacePercent = 0.0<br>  gsn_panel(wks,(/plot1,plot2,plot3/),(/3,1/),resP)               ; now draw as one plot<br>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">with this set up I'm getting the following error:</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">fatal:Number of dimensions in parameter (1) of (gsn_panel) is (2), (1) dimensions were expected <br>fatal:["Execute.c":8640]:Execute: Error occurred at or near line 391 in file plot-pulseruns-envelopes.ncl<br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Please let me know how to solve this.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Thanks,</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Tabish<br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"></div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div><font size="1"><span style="font-family:tahoma,sans-serif">Tabish U Ansari<br></span></font></div><font size="1"><span style="font-family:tahoma,sans-serif">PhD student, Lancaster Environment Center<br></span></font></div><font size="1"><span style="font-family:tahoma,sans-serif">Lancaster Univeristy<br> <span>Bailrigg</span>, <span>Lancaster</span>, <br><span>LA1 4YW</span>, <span>United Kingdom</span></span></font><br></div></div></div></div></div></div></div>