Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Yscale for ovelaid twoway graphs


From   "Nassar" <[email protected]>
To   "Stata-L (E-mail)" <[email protected]>
Subject   st: Yscale for ovelaid twoway graphs
Date   Thu, 20 Jan 2005 13:14:56 +0100

Hi all,


I'm just trying to plot the distribution of an observed data against several
distribution..
I want to reduce  the yscale density up to 1.5..ie I don't want any plot for
high yscale density values
yscale(range(0. 1.5)) doesn't work , density values come up to 2.
yscale(range(0. 3.)) works fine

Thanks for your help
Naji

twoway (histogram observed, density) (kdensity hyp_gam) (kdensity
hyp_erlang), legend(label(1 "Observed") label(2 "Gamma distr") label(3
"Erlang distr) pos(1) ring(0) rows(3))


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index