I am trying to include the content of a Macro within a graph, but I'm having problems with the Display Format.
For example:
sysuse auto, clear qui: summ Length twoway scatter length mpg, text(200 35 "The mean of length is: `r(mean)'")
How do I change the Format of the macro to display something like %9.2f?
I tried: ... , text(200 35 "The mean of length is: `%9.1f `r(mean)''")
Am I missing some triple compound quote? :-)
Thanks, Thomas
-- Thomas Speidel Statistical Associate Clinical Trials Unit Tom Baker Cancer Centre 1331 - 29th Street N.W. Calgary, AB, T2N 4N4
Tel. (403) 521-3370 Email: [email protected]
This e-mail and any attachments may contain confidential and privileged information. If you are not the Intended Recipient, please notify the sender immediately by return e-mail, delete this e-mail and destroy any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized and may be illegal.
* * 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/