[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

From |
"Albert Newton" <lacneo@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: RE: A question about twoway graph |

Date |
Fri, 8 Aug 2008 11:36:02 -0700 |

Thanks. Sorry for the attachment thing. I had no idea that it is not allowed. Albert On Fri, Aug 8, 2008 at 11:06 AM, Nick Cox <n.j.cox@durham.ac.uk> wrote: > Please don't send attachments to Statalist. This advice is quite > explicit in the FAQ. > Many members can't handle them and attachments just create large digital > messes in the daily digest. Sending attachments is thus anti-social. > > On your question, it appears that some of your data are negative, so > that is why your graph shows some negative values. One remedy is not to > plot such data. > > If your question is purely about axis labels, then you can do things > like > > ... yla(-1 "1" -0.5 "0.5" 0 0.5 1) > > Nick > n.j.cox@durham.ac.uk > > Albert Newton > > I am trying to plot the propensity score for treatment and > comparison group in one graph. So I use this command > > twoway `vlist0' (rbar pscore1) (rbar pscore2) `vlist1' , > yline(0, > lstyle(foreground) extend) ylabel() xtitle("Propensity Score") > ytitle("Density") legend(`l1' `l2' `l3' `l4') `options' > > It turns out that half of the y axis labelings are negative. My > question is: how to get rid of the negative signs? > > Please see the attached graph for an example. > > * > * 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/

**References**:**st: A question about twoway graph***From:*"Albert Newton" <lacneo@gmail.com>

**st: RE: A question about twoway graph***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

- Prev by Date:
**Re: st: RE: Functions in Stata** - Next by Date:
**Re: st: RE: seasonal adjustment** - Previous by thread:
**st: RE: A question about twoway graph** - Index(es):

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