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 (June 1997, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 30 Jun 1997 08:30:00 PDT
Reply-To:   mullinb{DHWTOWERS/TOWERS2/mullinb}@DHW.STATE.ID.US
Sender:   "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:   "Brian O. Mullin" <mullinb{DHWTOWERS/TOWERS2/mullinb}@DHW.STATE.ID.US>
Subject:   FW: Border around entire graphics output

Hello Everyone,

I posted this once. I am going to attempt it again, hopefully with a better description of the problem and a subject line.

I am new to Graph and wish to put a box around the entire graphics output. I am producing a vertical bar chart from proc gchart. What I want is something similar to the examples provided in the SAS/Graph manual, where the entire graphics output area is enclosed by a box or border. However, the none of the example code I have found demonstrates drawing a box around everything. What is the best way to accomplish this? Obviously I could do this in the graphics editor. However, I have over 60 graphs produced within a macro loop. A picture of what I want, along with a legend describing the picture, follows.

************************************************ * * * This is a title * * This is title 2 * * * * 50|+++++++++++++++++++++ * * | + * * 40| + * * | ---- + * * 30| | | + * * | ---- | | + <--- produced by frame option on * 20| | | | | + vbar statement. * | | | | | + * * 10| | | | | + * * |____________________+ * * 0 * * Females Males * * * * Sex * * * * * * this is a footnote * * this is footnote 2 * * * <------What I want. ************************************************

The Legend for my drawing:

The + is produced by the frame option. What I want is the * box.

I am running SAS 6.11 on win 3.11 for workgroups. Some of my code follows.

Thanks, Brian

data mean; input sex mean; cards; 1 5 2 23 ; run;

%let title =' ';

proc gchart data = mean; vbar sex / frame sumvar = mean type = mean width = 30.0 patternid = midpoint raxis = axis1 maxis = axis2 discrete; format sex sex. ; title "&title"; label mean=''; run; quit;

----- Brian O. Mullin Idaho Division of Health, Center for Vital Statistics and Health Policy mullinb{dhwtowers/towers2/mullinb}@dhw.state.id.us


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