Hi everyone,
I was wondering if there is a way to format the values we enter as text in a graph. Consider the following:
It produces the following histogram
As you can see the numbers are with all the decimals. There is no way I can use the typical formatting that we use with display, and I was wondering if the formatting could be done when assigning the values to the local macro, or in any other way.
Thanks!!!!
I was wondering if there is a way to format the values we enter as text in a graph. Consider the following:
Code:
sysuse auto, clear quiet sum mpg, d local me = r(mean) local sk = r(skewness) histogram mpg, frac text(.395 30 "Mean: `me'" "Skewness: `sk'")
As you can see the numbers are with all the decimals. There is no way I can use the typical formatting that we use with display, and I was wondering if the formatting could be done when assigning the values to the local macro, or in any other way.
Thanks!!!!
Comment