If you could be persuaded to use a -scatter- instead of -line-, then -help
scatter##marker_options- shows that you can add the value of a variable of
your choice to the marker symbols...
HTH
Martin
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Wednesday, August 27, 2008 2:20 PM
To: [email protected]
Subject: st: Add variable value on a graph
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/