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

# Re: st: Changing the scale of a graph

 From saqlain raza <[email protected]> To "[email protected]" <[email protected]> Subject Re: st: Changing the scale of a graph Date Wed, 6 Jun 2012 08:51:32 -0700 (PDT)

```try with ylabel(0.25(0.01)0.30)

Saqlain RAZA
PhD Student

________________________________
From: sebas nicaise <[email protected]>
To: [email protected]
Sent: Wednesday, June 6, 2012 5:09 PM
Subject: RE: st: Changing the scale of a graph

Dear Lukas,

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.

Thank you

----------------------------------------
> Subject: Re: st: Changing the scale of a graph
> From: [email protected]
> Date: Wed, 6 Jun 2012 17:03:31 +0200
> To: [email protected]
>
> Dear Sebastian,
>
> just use -yscale(range(0 0.25))- to rescale your y-axis the way you want to!
>
> Hope this helps!
>
> #
> Lukas Borkowski
>
>
>
> Am 6 Jun 2012 um 16:58 schrieb sebas nicaise:
>
> > Dear statalist,
> >
> > I have been reading the graph manual from stata but unfortunately that does not help me.
> > Since I am relatively new to stata and especially in making proper graphs in stata I ask it here.
> >
> > 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.
> >
> > Thank you,
> > Sebastiaan
> > *
> > * 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/
```