Re: how to get different number of graphs on panel

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue Oct 02 2012 - 15:08:23 MDT

res@tmXBMode = "Explicit"
res@tmXBValues = (/1,2,3,4,5/) ; change these to where you want the D0, D1, etc labels
res@tmXBLabels = (/"D0","D1","D2","D3","D4"/) ; or "D" + ispan(0,4,1)

On Oct 1, 2012, at 2:00 PM, Shabeh ul Hasson wrote:

> Dear All,
>
> I have plotted the panel chart for bar graphs using gsn_csm_y() function (kindly see the attached graph). I want to assign D0, D1, and so on at the x-axis of last graphs on each side of panel instead of 0,1,2,3 default values.
>
> Kindly help
>
> regards,
>
> Shabeh ul Hasson,
> Scientific Officer, GCISC, NCP Complex,
> Near Quaid-i-Azam University, Islamabad
> Office# +92(51)9230226,
> Fax# +92(51)2077385
> Cell# +92-321-5033864
> http://www.gcisc.org.pk
>
> P Please don't print this e-mail unless you really need to. Thank you!
>
>
> ---------- Forwarded message ----------
> From: Mary Haley <haley@ucar.edu>
> Date: Wed, Sep 26, 2012 at 9:39 PM
> Subject: Re: how to get different number of graphs on panel
> To: Shabeh ul Hasson <shabih33@gmail.com>
> Cc: "ncl-talk@ucar.edu\"" <ncl-talk@ucar.edu>
>
>
>
> What you can do is create an array to hold 26 plots, and set plots #21, 23, and 25 to missing (or just don't generate them).
>
> Then, do a regular panel with 13 rows and 2 columns
>
> gsn_panel(wks,plots,(/13,2/),resP)
>
> NCL should automatically just leave a blank spot where those last three plots are supposed to be.
>
> See the attached example, which I stole from another example I just used a few minutes ago.
>
> -Mary
>
>
> On Sep 26, 2012, at 1:20 PM, Shabeh ul Hasson wrote:
>
> > Dear All,
> >
> > I want to plot 13 bar graphs on left side of panel and 10 graphs on right side of panel. kindly see the attached pdf.
> >
> > how to get rid of 3 fake plots I have plotted by giving data 0.0 at the right side of the panel as panel requires equal number of graphs each side.
> >
> > best regards,
> >
> > Shabeh ul Hasson,
> > Scientific Officer, GCISC, NCP Complex,
> > Near Quaid-i-Azam University, Islamabad
> > Office# +92(51)9230226,
> > Fax# +92(51)2077385
> > Cell# +92-321-5033864
> > http://www.gcisc.org.pk
> >
> > P Please don't print this e-mail unless you really need to. Thank you!
> > <spi_marker.pdf>_______________________________________________
> > ncl-talk mailing list
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
>
> <spi_marker.pdf>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Oct 2 15:08:38 2012

This archive was generated by hypermail 2.1.8 : Mon Oct 08 2012 - 15:54:16 MDT