Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Formatting macro output in Graphs


From   Seb Buechte <[email protected]>
To   [email protected]
Subject   st: Formatting macro output in Graphs
Date   Mon, 21 Feb 2005 15:39:23 +0100

Dear,

we have just come across this question. Is there any possibility to
force a certain numeric format when using macros in e.g. title-option
of graph?

this for example DOES NOT work:

local sqrt2=string(sqrt(2)

twoway function y=x, title("Test-title:" %8.2f  `sqrt2')

Thanks for your efforts!

Kind regards,
sebastian

-- 
- Seb F Buechte
-
*
*   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/



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