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

st: RE: Decrease range of y axis

From   "Philip Ryan" <>
To   <>
Subject   st: RE: Decrease range of y axis
Date   Mon, 31 Aug 2009 22:07:25 +0930

sts graph...., .... ylabel(0(.1).5, ang(hor) nogrid).....


-----Original Message-----
[] On Behalf Of Fiona Bruinsma
Sent: Monday, 31 August 2009 10:00 PM
Subject: st: Decrease range of y axis

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(lstyle(none))) graphregion(fcolor(white))

Fiona Bruinsma

*   For searches and help try:

No virus found in this incoming message.
Checked by AVG - 
Version: 8.5.409 / Virus Database: 270.13.71/2336 - Release Date: 08/30/09

*   For searches and help try:

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