<div dir="ltr">Hi, <div><br></div><div>I have one variable "dox" with (360x720x24). It is ozone global map and contains 24 different perturbation results. I would like to plot them on multiple panels in a single sheet. However, I don't know why I can't plot the first 3 (see pic). The output of "dox"from printVarSummary and plotting script shows below. </div><div><br></div><div>Thx</div><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">CiaoKai<div><br></div><div>dox-----------------------------------------------------------------------------</div><div><div>Variable: dox</div><div>Type: float</div><div>Total Size: 24883200 bytes</div><div> 6220800 values</div><div>Number of Dimensions: 3</div><div>Dimensions and sizes: [lat | 360] x [lon | 720] x [24]</div><div>Coordinates:</div><div> lat: [-89.75..89.75]</div><div> lon: [-179.75..179.75]</div><div>Number Of Attributes: 1</div><div> _FillValue : 9.96921e+36</div></div><div><br></div><div>plot script----------------------------------------------------------------------------------------------</div><div><div><br></div><div>plots = new(24,graphic)</div><div> wks_type = "png"</div><div> wks_name = "dox_panel"</div><div> wks = gsn_open_wks(wks_type,wks_name) ; send graphics to PDF file</div><div><br></div><div> res = True</div><div> res@gsnDraw = False ; don't draw</div><div> res@gsnFrame = False ; don't advance frame</div><div><br></div><div> res@cnLevelSelectionMode = "ManualLevels" ; set manual contour levels</div><div> res@cnMinLevelValF = -2. ; set min contour level</div><div> res@cnMaxLevelValF = 2. ; set max contour level</div><div> res@cnLevelSpacingF = 1. ; set contour spacing</div><div><br></div><div> res@cnFillOn = True</div><div> res@cnLinesOn = False</div><div> res@cnLineLabelsOn = False</div><div> res@lbLabelBarOn = False</div><div> res@cnFillPalette = "BlWhRe" ; Blue-Red colormap</div><div> res@gsnRightString = "ppb" ; "~" is txFuncCode</div><div><br></div><div> leftstring = (/"a","g","m","b","h","n",\</div><div> "c","i","o","d","j","p",\</div><div> "e","k","q","f","l","r",\</div><div> "s","t","u","v","w","X"/)</div><div><br></div><div> do i=0,23</div><div> res@gsnLeftString = "("+leftstring(i)+")"</div><div> plots(i) = gsn_csm_contour_map_ce(wks,dox(:,:,i),res)</div><div> end do</div></div><div><br></div><div><div> pnlres = True</div><div> pnlres@txString = "Dox"</div><div> pnlres@gsnPanelLabelBar = True</div><div> pnlres@lbLabelAutoStride = True</div><div><br></div><div> gsn_panel(wks,plots,(/6,4/),pnlres)</div></div></div></div>
</div></div>