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

st: Follow-up to "how to graph vertical bars on scatter plot"


From   mganz <mganz@hsph.harvard.edu>
To   "Nick Cox" <n.j.cox@durham.ac.uk>, <statalist@hsphsun2.harvard.edu>
Subject   st: Follow-up to "how to graph vertical bars on scatter plot"
Date   Fri, 26 Mar 2004 14:38:04 -0500

Thanks for your suggestions.
It seems that adding the xline option kid of work.  It would be nice if I 
could control the height of those lines.  Any suggestions?

Another option is using the "dropline" option -- but only if I can control 
exactly from which points the lines drop down.  Again, any help anyone?

Thanks!

>===== Original Message From "Nick Cox" <n.j.cox@durham.ac.uk> =====
>You may need to combine -twoway scatter- and -twoway rcap-.
>
>See also answer(s) to the posting by Ward Hagar.
>
>Nick
>n.j.cox@durham.ac.uk
>
>mganz
>
>> Can anyone point me in the right direction:
>> I have a data on a probability mass function that I can graph
>> as scatterplot.
>> Suppose I want to draw 2 vertical bars (representing some
>> confidence interval)
>> such that the bars reach from the x axis to the curve.  Any
>> suggestions?
>
>*
>*   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/

________________________________________
Michael Ganz, MS, PhD
Assistant Professor
Dept. of Society, Human Development and Health
Harvard School of Public Health
mganz@hsph.harvard.edu
http://www.hsph.harvard.edu/faculty/ganz
Ph. 617-432-2382
Fax 617-432-3755

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