Statalist


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

st: Add variable value on a graph


From   alvine.bissery@chu-lyon.fr
To   statalist@hsphsun2.harvard.edu
Subject   st: Add variable value on a graph
Date   Wed, 27 Aug 2008 14:20:23 +0200

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/



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