Date: Mon, 18 Oct 2010 09:04:38 +0200
Reply-To: Joakim Englund <joakim.englund@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Joakim Englund <joakim.englund@GMAIL.COM>
Subject: Re: Y-axis label far away from Y-axis scale
Content-Type: text/plain; charset=ISO-8859-1
I'm sorry, I found your reply to a similar thread after having sent this.
I've implemented your solution and yes - the format was the issue (Weird - I
really don't understand how SAS/Graph thinks many times!). So thanks for a
good solution! Next time I'll check the SAS-l archives first.
2010/10/17 Data _null_; <email@example.com>
> You really should show your work.
> Without seeing your program I can only guess that the problem MAY be
> associated with the format for the Y variable, as shown by this
> goptions reset=all;
> filename output 'myfile.cgm';
> goptions device=cgmofml gsfname=output gsfmode=replace;
> axis1 label=(angle=90);
> proc gplot data=sashelp.class;
> plot weight*height=age / vaxis=axis1;
> format weight F12.2;
> On Sun, Oct 17, 2010 at 1:50 AM, Joakim Englund
> <firstname.lastname@example.org> wrote:
> > Hi folks,
> > I have a problem that sometimes occur (without me understanding why or
> > it will happen!) when I create a graph using proc gplot, export it as an
> > .cgm file and then import the .cgm file into Word 97-03. The issue is
> > the Y-axis label is label is too far way from actual Y-axis scale,
> > the graph to look... well, ugly frankly. I have unsuccessfully tried to
> > remedy the problem by manipulating the origin, offset and length options
> > under the axis statement.
> > Any ideas will be appreciated.
> > Thanks!
> > /Joakim