Wednesday, March 15, 2006

st: pie charts

Dear statalisters,

To represent on a same graph both the total imports evolution of a country and the evolution in the distribution between its ten main partners over ten years, I want to represent a pie charts per year over ten years.

If I do it year by year (with as many files as there are years), I run this command: graph pie imports, over(partenaires) plabel(_all name, size(*1.5) color(white)) legend(off) etc...

To have all the years at once to have the same scale(hence ten pies for 10 years) , I run the following :

graph pie imports, over(partenaires) plabel(_all name, size(*1.5) color(white)) legend(off) by(year)

But then I have the following message error that appear :

(note: areastyle p16pie not found in scheme, default attributes used) (note: areastyle p17pie not found in scheme, default attributes used) (note: areastyle p18pie not found in scheme, default attributes used) and so on to (note: areastyle p229pie not found in scheme, default attributes used)

Would anybody have any idea?

Best Regards Christopher Grigoriou

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


Tag:


Links to this post:

Create a Link



<< Home

This page is powered by Blogger. Isn't yours?