Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: Zoom in on subsets of data


From   "Lachenbruch, Peter" <Peter.Lachenbruch@oregonstate.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Zoom in on subsets of data
Date   Tue, 3 Jul 2012 12:26:50 -0700

Can you restrict your sample with an if statement?

________________________________________
From: owner-statalist@hsphsun2.harvard.edu [owner-statalist@hsphsun2.harvard.edu] On Behalf Of Sharooon [treeshar@yahoo.com]
Sent: Tuesday, July 03, 2012 11:24 AM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: Zoom in on subsets of data

It isn't just a scaling issue, there are some observations that are throwing off my data in logs too. This isn't a key part of my analysis but I'd like to be able to show it. Does anyone have a good idea on how to do it?


----- Original Message -----
From: tashi lama <ltashi32@hotmail.com>
To: statalist@hsphsun2.harvard.edu
Cc:
Sent: Monday, July 2, 2012 3:19 PM
Subject: RE: st: Zoom in on subsets of data

it is a scaling issue. I think you could use logs of ys  to minimise the diff in ys and use twoway line. Also it is twoway line y x || line y2 x. Good luck



Tashi

----------------------------------------
> Date: Mon, 2 Jul 2012 12:34:58 -0700
> From: treeshar@yahoo.com
> Subject: st: Zoom in on subsets of data
> To: statalist@hsphsun2.harvard.edu
>
> I have a graph of a line where a portion of the line takes on very high y values. This makes it difficult when I graph it to see what other patterns are going on since everything else looks like a straight line. Is there an easy way to zoom into the graph to only show say y-values lower than 2,000?
>
> I'm using stata 12, and the command twoway line y x || y2 x.
>
> *
> * 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/


*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index