Date: Tue, 17 Apr 2007 13:24:53 -0500
Reply-To: Yu Zhang <zhangyu05@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Yu Zhang <zhangyu05@GMAIL.COM>
Subject: Re: How to reposition the label for Y Axis, PROc GPLOT
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
I tried your suggestion, it still remain same. there is one new question:
PROC GDEVICE nofs;
I found the xmax:6in ymax:4in
I recalled the hsize or vsize you specified can nor exceed the ymax or xmax.
However, in following example we copied from SAS website, the specification
of the hsize and vsise is much bigger than y or xmax.
goptions reset=all device=emf hsize=4 in vsize=5 in nodisplay
ftext="Arial" gsfname=output gsfmode=replace;
filename output 'c:\graphs\QtrLocSales.emf';
proc sort data=sample;
proc gchart data=sample gout=temp;
vbar location / sumvar=sales width=15 patternid=midpoint;
/* Set DISPLAY and use GREPLAY to create the
combined graph. Set the HSIZE and VSIZE to the
full size. */
goptions display hsize=8 in vsize=10 in; /*why ???? */
proc greplay igout=temp nofs tc=sashelp.templt;
treplay 1:gchart 2:gchart1 3:gchart2 4:gchart3;
Do you know why we didn't get an error by doing this?
On 4/17/07, data _null_; <email@example.com> wrote:
> On 4/17/07, Yu Zhang <firstname.lastname@example.org> wrote:
> > I checked my dataset, the format of Y varaible is 8.2. So I think it
> will cause problem.
> Can you try the following in your GPLOT.
> format Y;
> > I think probably the annotation is only way to fix this problem.
> I don't think you need annotate.