Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: create complex pie chart


From   Nick Cox <n.j.cox@durham.ac.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: create complex pie chart
Date   Thu, 26 Apr 2012 15:59:36 +0100

-graph pie- is sui generis and going beyond what is documented will not be trivial. Note in particular that it is not connected to -twoway-. 

To do what you want, you might need to spend a very long time studying the code of -graph- and working out what exactly what happens. An alternative is  to use the Graph Recorder to see the language equivalent of what the Editor does but I wouldn't guarantee that would produce general code. 

Yet another alternative is not to use a pie chart, but a bar or dot chart in which these problems would not usually arise. 

As the preacher says at a dicey point in the movie "Blazing Saddles", 

Son, you're on your own. 

Nick 
n.j.cox@durham.ac.uk 

tashi lama

      From what I understand and read, I could only have slice information such as sum, pie, text, variable label inside the slice. Yes, stata lets me have sum, pie or text anywhere inside the slice with its (gap(#)) option. However, if I were to draw a line outside each slice where one end of the line is pointing to the slice and other end would provide the information about the slice, I would have to use graph editor. Is there anyway I could do it programmatically or is there any documentation or lead for doing that? The reason for doing this is because the pie chart would look lot cleaner. 


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index