Date: Thu, 7 Apr 2005 17:31:58 -0700
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "David L. Cassell" <cassell.david@EPAMAIL.EPA.GOV>
Subject: Re: Log-Log plot
Content-type: text/plain; charset=US-ASCII
Annapurna Ravi <stdaxr25@SHSU.EDU> wrote:
> I am trying to plot Log-log plot in SAS. But couldnt succeed. I have
> values of a particular variable over a period of time, and am trying
> analyse its behaviour over that period of time.
Without a little more info, I can't really tell what you tried
and what went wrong.
Try using the AXIS statement for both X and Y axes in PROC GPLOT,
and using the options LOGBASE= and LOGSTYLE= . LOGBASE=E will give
you logs base e, and LOGBASE=10 will give you logs base 10. Those
seem to be the most popular choices. LOGSTYLE specifies whether
the axis displays the values of the base, or the values of the power.
There are caveats. As far as I know, LOGBASE= is not supported by
the Java widget. And if you use the ORDER=(...) option in the
AXIS statement, you have to make sure your ORDER values match up
with type of values you specify using LOGSTYLE= .
David Cassell, CSC
Senior computing specialist