Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

re: st: RE: [Stata 9] scatter axis bug


From   David Airey <[email protected]>
To   [email protected]
Subject   re: st: RE: [Stata 9] scatter axis bug
Date   Tue, 3 May 2005 22:15:56 -0500

Scott wrote:

> // a simple example of the problem:
>
> input y x
> 1 .
> 20 50
> 30 40
> 40 30
> 50 20
> . 1
> end
>
> scatter y x
>
> // gives the range of the scatter plot as 0-50 on both axes--this
> looks stupid--can we fix this?
>

Dave,

How about:

scatter y x if !mi(x,y) (?)

One thing to consider is that your original graph informs the reader that
there are missing observations in the data set, which would not be apparent
if the range was restricted jointly non-missing values.
------

You mean this is the default behavior that I've somehow missed these last couple years? Now that's stupid.

-Dave


*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index