Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Question about tmap


From   Marcello Pagano <pagano@hsph.harvard.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: Question about tmap
Date   Thu, 26 Mar 2009 16:50:57 -0400

For Ana:

Dear stata-list users,

I have a dataset with the following four columns: observation, latitude, longitude, batch_number

As a small example, the first six rows of the data look something like the following:
1 39.977741   -75.287768  1
2 39.98695     -75.301235    1
3 40.0937201  -75.0205653  2
4 40.8956971  -76.8081187 3
5 40.041349    -75.070036   3
6 40.142553    -74.919325   3
I would like to plot the observations in a map (US map, or ideally, Pennsylvania map) and use as markers the observations batch_number(which is in the last column of the data). I searched the documentation for tmap but couldn't come up with how to do it.
Any help is appreciated.
Thanks!

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



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index