Using -gap(relativesize)- with pie chart labels leads to odd results.
Consider the example below.
. sysuse auto
. tab foreign, gen(f)
. graph pie f1 f2, by(rep78, total) plabel(_all percent, gap(.2))
. graph pie f1 f2, by(rep78, total) plabel(_all percent, gap(*2))
When the label gap is specified via multiplication, the labels move
further from the center with each pie. The Stata documentation does
not make clear whether this is supposed to happen.
An additional problem is that the gap is now stuck at a distance that
is different from the default. When the following command is run
after the commands above, the labels are placed at the borders of the
pie. The gap has to be specified explicitly to return to the default.
. graph pie f1 f2, plabel(_all percent)
. graph pie f1 f2, plabel(_all percent, gap(0))
I use Intercooled Stata 8.2 with the latest updates.
Friedrich Huebler
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
*
* 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/