Re: plotting only panels

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Tue Jul 13 2010 - 10:06:53 MDT

Hi Jeff,
Perhaps I am not understanding what you are asking, but typically when I
create panel plots I do something like this:

plot = new(3,graphic)

txt = (/"Plot 1 ","Plot 2","Plot 3"/)
do gg = 0,2
      res@gsnCenterString = txt(gg)
      plot(gg) = gsn_csm_contour_map(wks,array(gg,:,:),res)
end do

resP = True
resP@gsnMaximize = True
gsn_panel(wks,plot,(/3,1/),resP)

Occasionally I create the plos separately and pass them into the plot
array that is passed into gsn_panel:

plot = new(2,graphic)

map = gsn_csm_contour_map(wks,array(0,:,:),res)
map2 = gsn_csm_contour_map(wks,array(1,:,:),res)
...
plot(0) = map
plot(1) = map2
...
gsn_panel(wks,plot,(/2,1/),resP)

If the above doesn't help, if you could better explain what you are
asking that would be helpful... Adam

On 07/13/2010 09:57 AM, JEFFREY JOSEPH WATERS wrote:
> NCL,
> I was wondering if there is a way to create panels only instead of
> creating/plotting all individual plots and adding on the panels at the
> end. It would save me a lot of space. Any input is appreciated. Thanks!
>
> Jeff Waters
> Graduate Student
> Department of Meteorology
> Penn State University '11
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
__________________________________________________
Adam Phillips 
asphilli@ucar.edu
National Center for Atmospheric Research   tel: (303) 497-1726
Climate and Global Dynamics Division         fax: (303) 497-1333
P.O. Box 3000				
Boulder, CO 80307-3000    http://www.cgd.ucar.edu/cas/asphilli
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Jul 13 10:06:58 2010

This archive was generated by hypermail 2.1.8 : Mon Jul 19 2010 - 09:39:01 MDT