Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Nick Cox <njcoxstata@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: Changing the scale of a graph |
Date | Thu, 7 Jun 2012 10:16:56 +0100 |
Sounds good then, or is there still a problem? Nick On Thu, Jun 7, 2012 at 10:12 AM, sebas nicaise <sebasnicaise@hotmail.com> wrote: > I typed the command: scatter medianleverageratiohigh medianleverageratiolow quarter7, ylabel(0.20(0.01)0.35) > > When I plot the original graph,scatter medianleverageratiohigh medianleverageratiolow quarter7, I do not have any outliers. Al values(points) are between 0.20 and 0.35. > Nick Cox >> You are not giving the Stata command you typed or telling us much about your data. >> >> There must be a reason why you get a lot of white space. Most obviously one or more outlier(s) need to be accommodated. As already emphasised in this thread, whatever you do to -ysc()- or -yla()- will not cause data to be omitted. sebas nicaise >> Thank you for the replies, this is indeed what I asked but there is still alot of ''white'' in the graph. >> I want to present the (small) increase in leverageratio, but with these commands it still looks like a very mild upward slope. >> >> So my question is: How can I magnify these very small changes into the graph? >> >> Saqlain RAZA >> >>> try with ylabel(0.25(0.01)0.30) >> >> sebas nicaise >> >>> When I do that the graph does not look nice. I want the y-axis to have very small intervals e.g 0.25 0.26 0.27 0.28 0.29 0.30. >> >> LukasBork@hotmail.com >> >>>> just use -yscale(range(0 0.25))- to rescale your y-axis the way you want to! >> >> Am 6 Jun 2012 um 16:58 schrieb sebas nicaise: >> >>>>> I have a scatter output with on the x-axis time and on the y-axis the leverageratio. >>>>> When I command stata to plot I get on the y-axis a scale from 0.1 to 0.35. >>>>> >>>>> Now I want to narrow my y-axis to lets say 0.25 to 0.30, How do I tell stata to do this? >>>>> >>>>> I have tried add the command ylabel(0.3 0.35) but does not give me a nice looking graph. * * 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/