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   Lukas Borkowski <LukasBork@hotmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Changing the scale of a graph
Date   Wed, 6 Jun 2012 17:03:31 +0200

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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index