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
[email protected]
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/