Re: Order of plots in gsn_panel

From: Adam Phillips (asphilli AT cgd.ucar.edu)
Date: Fri Jun 24 2005 - 09:51:49 MDT


Hi Saji,

No, at the present time there is not a panel resource that you can set
to alter the order that the plots are drawn in gsn_panel. You can
reorder the array manually though:

plot = new(8,graphic)
finplot = plot
do gg = 0,7
    plot(gg) = gsn_csm_contour_map_ce(wks,arr(gg,:,:),res)
end do
finplot(0) = plot(0)
finplot(1) = plot(4)
finplot(2) = plot(1)
finplot(3) = plot(5)
....
delete(plot)
gsn_panel(wks,finplot,(/4,2/),panres)

Adam

Saji N. Hameed wrote:
>
> Hi,
>
> Is there a way to control, how gsn_panel fills up an array of plots?
> Suppose I made plots(i), i = 0,8. If I ask gsn_panel to design a panel
> with 4 rows and 2 columns, by calling
>
> gsn_panel(wks,plots,(/4,2/),pres1)
>
> , it will give me a panel where plots(1) is to the right of plot(0)
> and plot(2) is to the bottom of plot(0) and so on
>
> plots(0) | plots(1)
> --------------------
> plots(2) | plots(3)
>
> Is there a way to change this behaviour, so that gsn_panel makes
> plots(1) to be below plots(0) and plots(2) below plots(1)...
>
> plots(0)| plots(4)
> -------------------
> plots(1)| plots(5)
>
> Thanks,
>
> saji
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk@ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
--------------------------------------------------------------
Adam Phillips			             asphilli@ucar.edu
National Center for Atmospheric Research   tel: (303) 497-1726
ESSL/CGD                                   fax: (303) 497-1333
P.O. Box 3000				
Boulder, CO 80307-3000	  http://www.cgd.ucar.edu/cas/asphilli
_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk



This archive was generated by hypermail 2b29 : Fri Jun 24 2005 - 10:30:44 MDT