[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: st: Surface plots or heat maps
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.
Date: Thu, 15 Feb 2007 09:24:35 +0100
From: Maurizio Pisati <email@example.com>
Subject: Re: st: Surface plots or heat maps
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
as if they represented a map. You can find some examples (not the data,
just the pictures) in
Of course, having the data in proper format is another question.
At 22.11 14/02/2007, you wrote:
>I've gone through the FAQs and help files, but cannot find any
>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
* For searches and help try: