Thank you for this, Maurizio. I wasn't thinking about editing the code
for -spmap- when I said, "adapting", I was thinking of it as you
describe: altering the format of the data to work with your tool. I'm
reading the Stata article you wrote in 2004 to see how I can make the
data congruent with a map representation.
Thank you for making your .ado's available to the rest of the community.
Sincerely,
John Wallace
---------------------------------------------------------------------
Date: Thu, 15 Feb 2007 09:24:35 +0100
From: Maurizio Pisati <maurizio.pisati@galactica.it>
Subject: Re: st: Surface plots or heat maps
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.tst
at.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/