| Date: | Sat, 17 Dec 2011 11:04:05 -0500 |
| Reply-To: | Ya Huang <ya.huang@AMYLIN.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Ya Huang <ya.huang@AMYLIN.COM> |
| Subject: | Re: PROC SGPANEL: Specifying the number of bins in grouped
histograms XXXX |
|
Try colaxis statement:
ods html file="junk.html";
PROC SGPANEL DATA = sashelp.class;
PANELBY sex;
HISTOGRAM weight;
colaxis values=(0 to 200 by 20);
RUN; QUIT;
ods _all_ close;
Without colaxis statement to specify the range, SAS will
decide for you.
On Sat, 17 Dec 2011 10:36:56 -0500, Dan Abner <dan.abner99@GMAIL.COM>
wrote:
>Hello everyone,
>
>I have the following SAS code:
>
>
>PROC SGPANEL DATA = CARDOUT;
> WHERE ATYPE1 NE 0;
> PANELBY ATYPE2;
> HISTOGRAM RATIO;
>RUN; QUIT;
>
>Can someone demonstrate how one specifies the number of bins for these
>histograms?
>
>Thank you,
>
>Dan
|