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   Wed, 6 Jun 2012 16:07:33 +0000

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?

----------------------------------------
> Date: Wed, 6 Jun 2012 08:51:32 -0700
> From: bhatti_sb@yahoo.com
> Subject: Re: st: Changing the scale of a graph
> To: statalist@hsphsun2.harvard.edu
>
> try with ylabel(0.25(0.01)0.30)
>
> Saqlain RAZA
> PhD Student
>
>
> ________________________________
> From: sebas nicaise <sebasnicaise@hotmail.com>
> To: statalist@hsphsun2.harvard.edu
> 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: LukasBork@hotmail.com
> > Date: Wed, 6 Jun 2012 17:03:31 +0200
> > To: statalist@hsphsun2.harvard.edu
> >
> > 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/ 		 	   		  
*
*   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