In essence, as Maarten's reference implies, it can be done. I don't have a precise recipe for your particular request, but the code in -corrtable- from SSC shows one strategy:
loop over cells in table {
draw a graph for each cell with desired text and colour
}
combine the graphs
Another strategy would resemble ways in which people draw heat maps, or indeed maps, by a series of calls to -twoway area-. Sergiy Radyakin has done something similar to that, but I can't vouch for whether he has code to do what you want that is also publicly available.
Nick
[email protected]
Maarten buis
This talk by Nick Cox at the last German Stata Users' Meeting may be
what you are looking for.
http://ideas.repec.org/p/boc/dsug09/01.html
--- On Fri, 16/10/09, [email protected] wrote:
> In my work I often have to display both a table (to pick
> data from) and a graph (for visual impression) to users
> and I'm constantly trying to combine both. Colouring
> tables is one way to do this if rules/conditions are
> user-defineable.
>
> I thought about setting up a coloured twoway table in Stata
> but that doesn't seem to be easy
*
* 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/