Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.

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

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:24:45 +0000 |

Yes the y-axis grid shows the intervals 0.20 0.21 0.22 ... 0.35 but leaves alot of white space at the bottom. Therefore, the scatter looks the same as it did without the ylabel constraint but with different intervals. ---------------------------------------- > Date: Thu, 7 Jun 2012 10:16:56 +0100 > Subject: Re: st: Changing the scale of a graph > From: njcoxstata@gmail.com > To: statalist@hsphsun2.harvard.edu > > 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/ * * 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/

**Follow-Ups**:**Re: st: Changing the scale of a graph***From:*Nick Cox <njcoxstata@gmail.com>

**References**:**st: Changing the scale of a graph***From:*sebas nicaise <sebasnicaise@hotmail.com>

**Re: st: Changing the scale of a graph***From:*Lukas Borkowski <LukasBork@hotmail.com>

**RE: st: Changing the scale of a graph***From:*sebas nicaise <sebasnicaise@hotmail.com>

**Re: st: Changing the scale of a graph***From:*saqlain raza <bhatti_sb@yahoo.com>

**RE: st: Changing the scale of a graph***From:*sebas nicaise <sebasnicaise@hotmail.com>

**RE: st: Changing the scale of a graph***From:*Nick Cox <n.j.cox@durham.ac.uk>

**RE: st: Changing the scale of a graph***From:*sebas nicaise <sebasnicaise@hotmail.com>

**Re: st: Changing the scale of a graph***From:*Nick Cox <njcoxstata@gmail.com>

- Prev by Date:
**RE: st: Plotting normal distributions** - Next by Date:
**Re: st: Plotting normal distributions** - Previous by thread:
**Re: st: Changing the scale of a graph** - Next by thread:
**Re: st: Changing the scale of a graph** - Index(es):