Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Surface plots or heat maps


From   Maurizio Pisati <maurizio.pisati@galactica.it>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Surface plots or heat maps
Date   Thu, 15 Feb 2007 09:24:35 +0100

Dear John,
you don't need to adapt -tmap- (or its successor -spmap-) to get surface plots: you just need to have the data in proper format and then draw them as if they represented a map. You can find some examples (not the data, just the pictures) in <http://www.tstat.it/novita/conferenze/SUG2005/Pisati.pdf>http://www.tstat.it/novita/conferenze/SUG2005/Pisati.pdf. Of course, having the data in proper format is another question.
Best,
Maurizio



At 22.11 14/02/2007, you wrote:

I've gone through the FAQs and help files, but cannot find any reference
to Stata being able to generate surface plots or heat maps.  I did find
a STB package called -surface written by Adrian Mander, but it appears
to be for the Stata 7 graph engine. It also seems very bare bones and
the z-axis scale is completely arcane (my data was decimal fractions
less than 1 and the scale was in 10's of thousands).

The only other possibility seems to be adapting -tmap (thematic maps by
Maurizio Pisati) to work with a simple graphic file of the coordinate
system I'd like to place my data on and encoding the z-axis in color.
Is there an alternative I'm missing somewhere?  I don't think this is a
particularly novel analysis - excel has a chart object for surface
plots, but its cumbersome to move data in and out of Excel obviously.

Thanks for any advice
John Wallace



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