Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: Messy graphs with tmap and spmap.


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Messy graphs with tmap and spmap.
Date   Wed, 2 Jan 2013 18:48:28 +0000

As others get superb results from these programs, on this evidence my
only suggestion is that
the problem lies in the specific shape files. If you can post them
somewhere, then it is possible
that other users will be willing to check.

I've already qualified for Top Curmudgeon 2013 on this list, but
you've yet to explain where these user-written programs come from!

Nick

On Wed, Jan 2, 2013 at 5:15 PM, Amadou DIALLO <stata.diallo@gmail.com> wrote:
> Thanks Nick
> I read your post and take good note.
> I basically issued 2 commands:
>
> shp2dta using mydata, data(mydata)  coor(mydata_coord") replace
>
> and
>
> u mydata, replace
> g u = uniform()
> spmap u using mydata_coord, id(_ID) saving(mydatamap, replace)
>
> Instead of obtaining a nice map of the country, I obtained lines
> running in messy directions...
>
> This happens with all the countries that I've downloaded the shapefiles.
>
> Thx.
>
>
>
>
> 2013/1/2, Nick Cox <njcoxstata@gmail.com>:
>> This really isn't an answerable question. You need to spell out
>> specifically what your problem is with details of syntax, results and
>> so forth.
>>
>> Also, please explain where user-written commands you refer to come from.
>>
>> Only yesterday I posted a summary of advice as a reminder of good
>> practice. Did I waste my time?
>>
>> Nick
>>
>> On Wed, Jan 2, 2013 at 3:20 PM, Amadou DIALLO <stata.diallo@gmail.com>
>> wrote
>>
>>> I am obtaining messy graphs with maps commands in stata. Is there any
>>> way to fix that?
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index