RE: [ncl-talk] multi-plot on one page

From: Chao Luo <cluo_at_nyahnyahspammersnyahnyah>
Date: Tue, 25 Jul 2006 17:30:53 -0700

Hi Debasish,

You are right. I made mistake for plot dimension. Now it works.
Thanks,

Chao

On Tue, 2006-07-25 at 15:46 -0800, Debasish Pai Mazumder wrote:
> Hi Chao,
>
> In your program you declared the dimension of the plot was 6 but you need 8
> plots.
>
> So It will be
>
> "plot = new(8,graphic)" instead of "plot = new(6,graphic)"
>
> Good luck
> Debasish
>
> -----Original Message-----
> From: ncl-talk-bounces_at_ucar.edu [mailto:ncl-talk-bounces_at_ucar.edu] On Behalf
> Of Chao Luo
> Sent: Tuesday, July 25, 2006 3:02 PM
> To: ncl-talk_at_ucar.edu
> Subject: multi-plot on one page
>
> Hi,
>
> I am trying to make 8 panels on one page by setup
> gsn_panel(wks_id,plot,(/4,2/),resP).
> It works when I make 6 panels:
>
> plot(0) = gsn_csm_contour_map_ce(wks_id,so2,res1)
> ...
> plot(5) = gsn_csm_contour_map_ce(wks_id,nh4,res1)
>
> But there is error when I added on
> plot(6) = gsn_csm_contour_map_ce(wks_id,dst,res1)
> plot(7) = gsn_csm_contour_map_ce(wks_id,ssl,res1)
>
> Error message like this:
> fatal:Subscript out of range, error in subscript #0
> fatal:Execute: Error occurred at or near line 174
>
> I check out, and print out dst and ssl, the dimensions and values of
> these two array are correct. The URL of the script I used is:
> http://dust.ess.uci.edu/chaoluo/temp/tst.ncl
>
> Very appreciate for any help and suggestions!
>
> Chao
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Jul 25 2006 - 18:30:53 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 28 2006 - 16:18:17 MDT