Thank you, Scott. This does what I want.
James
________________________________________
From: [email protected] [[email protected]] On Behalf Of Scott Merryman [[email protected]]
Sent: Monday, February 01, 2010 6:45 PM
To: [email protected]
Subject: Re: st: RE: bug with -noextend- option?
Try this:
-scatter lexp gnppc, yscale(nofextend) xscale(nofextend)
ylabel(minmax) xlabel(minmax)-
Scott
On Mon, Feb 1, 2010 at 3:07 PM, Fiedler, James (JSC-SK)[USRA]
<[email protected]> wrote:
> Hello,
>
> Using Stata 11, I think there might be a bug with the -noextend- option for axis scales. If I do
>
> sysuse lifeexp, clear
> scatter lexp gnppc, yscale(noextend) xscale(noextend)
>
> I get strange looking axis lines. Specifically, the x-axis line extends from < 0 to ~3500, y-axis line from ~72 to ~79. If I read the help file description correctly, -noextend- should make the line extend as far as the axis labels (I am inferring from the description for -extend-). Setting yscale(range()) or xscale(range()) don't seem to help.
>
> Is this a bug, or am I doing something incorrectly?
>
> Thanks,
> James Fiedler
>
>
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/