LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (December 2011, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments:   To: Dan Abner <dan.abner99@GMAIL.COM>

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


Back to: Top of message | Previous page | Main SAS-L page