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

st: RE: Graph Pie and _all percent


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Graph Pie and _all percent
Date   Wed, 26 Oct 2005 10:50:43 +0100

A -format()- suboption is documented:  

graph pie <varlist>, plabel(_all percent, format(%3.2f)) 

Nick 
[email protected] 

Katarina Sikavica
 
> This is the command I use:
> 
> graph pie varlist plabel(_all percent)
> 
> My question concerns the percentages displayed in the pie 
> slices: stata
> seems to choose the number of decimals arbitrarily; sometimes it
> displays two and sometimes three decimals. How can I tell stata to
> allways display only 2 decimals with "_all percent"?

*
*   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