Statalist


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

Re: st: number format in graph labels


From   Martin Weiss <[email protected]>
To   [email protected]
Subject   Re: st: number format in graph labels
Date   Tue, 12 Aug 2008 16:00:30 +0200

Well, any criticism connected with the labels would indirectly be aimed at overall -format-ing in Stata. If you

*********
sysuse auto, clear
replace price=10000*price
twoway (scatter headroom price), xlabel(, format(%15.2fc))
*********

there are no exponents in the resulting graph. I do not think that gaps instead of commas to seperate thousands are possible with -format-.

HTH
Martin

Quoting Gisella Young <[email protected]>:


I am trying to change the format of the labels (numbers) of a graph. At the moment the numbers appear as e.g. 1000000 and to make it clearer I would like them to appear as e.g. 1 000 000. I also don't want to use exponents as I need to graphs to be easily accessible for a non-technical audience. I haven't found a way to do this in any FAQ or help file. I have tried options in the formatting of the labels such as ylabel(, format(%9,0g) ) but without success. Any suggestions would be most welcome.

Gisella




*
* 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index