Bookmark and Share

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]

Re: st: Changing the scale of a graph


From   Lukas Borkowski <[email protected]>
To   [email protected]
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index