Re: limit for panel plots on a page?

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Thu Mar 11 2010 - 11:57:30 MST

Hi Erik,
I don't know if there is a limit or not, but I haven't come upon it.
When you get that specific error message, you need to make sure that in
your gsn_panel call that you are allocating enough space to house all 15
panels.

For instance, if you have this:
plot = new(15,graphic)
do gg = 0,14
      plot(gg) = ....
end do
gsn_panel(wks,plot,(/4,3/),False)

You will get the error message you describe, as you are only allocating
space for 4 rows by 3 columns, or 12 plots... The fix for the above code
would be (say) this:
gsn_panel(wks,plot,(/5,3/),False)
or this:
gsn_panel(wks,plot(:11),(/4,3/),False)

Adam

On 03/11/2010 11:35 AM, Erik Noble wrote:
> Hi. Is there a limit for how many plots a user can put onto one page?
> I have my panel plot command set to : plot = new(15,graphic)
> and my plots got from
> plot(0)
> to
> plot(14)
>
>
> but I keep getting an error that I have more plots than I have panels.
>
> (0) Warning: gsn_panel: you have more plots than you have panels.
> (0) Only 12 plots will be drawn.
>
> Can I put 15 plots on a page using gsn panel?
> -Erik
> _______________________________________________
> 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 Thu Mar 11 11:57:36 2010

This archive was generated by hypermail 2.1.8 : Fri Mar 12 2010 - 09:11:56 MST