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: Changing the scale of a graph


From   sebas nicaise <sebasnicaise@hotmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Changing the scale of a graph
Date   Thu, 7 Jun 2012 09:12:11 +0000

Dear Nick,

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.

> From: n.j.cox@durham.ac.uk
> To: statalist@hsphsun2.harvard.edu
> Date: Wed, 6 Jun 2012 17:48:17 +0100
> Subject: RE: st: Changing the scale of a graph
>
> 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.
>
> Nick
> n.j.cox@durham.ac.uk
>
> 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/ 		 	   		  
*
*   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