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

st: RE: Smaller -tabplot- graphs, how?


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Smaller -tabplot- graphs, how?
Date   Fri, 20 Feb 2004 17:57:11 -0000

Good point. In fact, the same information 
is plotted again and again. That hardly matters
for a toy dataset like the auto data, but it
is a burden for larger datasets. 

I just wrote something on not doing this, and now 
I've taken my own advice. 

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

Friedrich Huebler
 
> Many thanks to Nick Cox for his fine -tabplot- package. -tabplot-
> produces very large graphs when the number of observations is high. I
> created a -tabplot- graph with 2 x 5 categories, similar to this
> example from the auto data:
> 
> . tabplot foreign rep78
> 
> With more than 6600 observations the graph takes a long time to draw
> and when it is exported to EMF format the resulting file has a size
> of 1.9 MB.
> 
> Can the data be reduced so that -tabplot- has to handle fewer
> observations? I tried different approaches with -collapse- but have
> not succeeded. Please note that I would like to include the number of
> observations per category in the graph, as shown in the -tabplot-
> help file.
> 

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