Statalist


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

st: RE: Add variable value on a graph


From   "Martin Weiss" <martin.weiss@uni-tuebingen.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Add variable value on a graph
Date   Wed, 27 Aug 2008 14:33:22 +0200

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: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of
alvine.bissery@chu-lyon.fr
Sent: Wednesday, August 27, 2008 2:20 PM
To: statalist@hsphsun2.harvard.edu
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/



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