Statalist


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

Re: st: Add variable value on a graph


From   David Airey <david.airey@Vanderbilt.Edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: Add variable value on a graph
Date   Wed, 27 Aug 2008 07:31:23 -0500

You need to use the connect option j.

Sent from my iPhone

On Aug 27, 2008, at 7:20 AM, alvine.bissery@chu-lyon.fr wrote:

Dear all,

I would like to create a graph with repeated values of hemoglobin versus
time (0,1,2,6 and 12 months) for each subject of my data .

gr twoway (line hem time) if id==1

I have a variable "BMI" in my data base which gives the BMI of each subject.
I would like to add the value of BMI on each graph for each subject (as
legend) .
Is it possible to add on a plot the value of a variable ?

Thank you

Alvine Bissery

*****************************************************
Alvine BISSERY
Ingénieur statisticien
Service de Biostatistique des Hospices Civils de Lyon
162 Avenue Lacassagne
69424 Lyon Cedex 03 - France
tél: +33 4 72 11 57 55
fax: +33 4 72 11 51 41


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