Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: AW: Decrease range of y axis


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: Decrease range of y axis
Date   Mon, 31 Aug 2009 14:37:40 +0200

<> 

Fiona may also like
http://www.stata-journal.com/sjpdf.html?articlenum=gr0019




HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Fiona Bruinsma
Gesendet: Montag, 31. August 2009 14:30
An: [email protected]
Betreff: st: Decrease range of y axis

Hi,
 
I am creating a graph of a kaplan-meier curve.  The y axis (cumulative
probability) ranges from 0.0 to 1.0 however all my values are less than 0.5
making the data difficult to see.  I would like to decrease the range of the
y axis from 0.0-1.0 to 0.0-0.50.  I have tried yscale but notice in the
manual that this can only be used to increase the scale.  I have not been
able to find any reference to decreasing the range.
 
The syntax I have been using is as follows:
 sts graph, by(tx_cen) failure noorigin ytitle("Cumulative probability of
delivery") /*
 */ xtitle("Gestation (weeks)") ylabel(,angle(horizontal) nogrid) /*
 */ title(" ") /*
 */ legend(position(3) ring(0)) legend(col(1)) clpattern("l" "_")
legend(region(""))/*
 */legend(region(lstyle(none))) graphregion(fcolor(white))

Regards,
 
Fiona Bruinsma

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index