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: North arrow in spmap
From
Neophytos Stylianou <[email protected]>
To
"[email protected]" <[email protected]>
Subject
RE: st: North arrow in spmap
Date
Tue, 26 Feb 2013 15:09:37 +0000
The package is called spmap which is used to visualise spatial data and was written by Maurizio Pisati.
The exact command I am using is:
spmap y2011 using en10coord, id(en10id) fcolor(Blues) clnumber(8) arrow(data(arrow) select(1) direction(2)) scalebar(u(2000) s(0.01))
and the output:
Problem with option arrow(): file arrow specified in suboption data() is not a valid arrow dataset
r(198);
these is all I got!
The dataet for the arrow db is exactly what the help file describes as arrow dataset.
_ID _X1 _Y1 _X2 _Y2 byvar_ar
---------------------------------------------------------
1 11 30 18 30 1
2 15 40 15 45 1
3 15 40 25 40 1
4 20 35 28 45 2
5 17 20 20 11 2
---------------------------------------------------------
I can manage without an arrow but if it is possible I would like to have it.
Could it be that the coordinates in the dataset do not match the coordinates of my map or something similar?
Thanks,
Neo
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of William Buchanan
Sent: 26 February 2013 14:56
To: [email protected]
Subject: Re: st: North arrow in spmap
Hi Neo,
Please send the exact command that you submitted to Stata and the exact output that Stata provided. Additionally, you should identify where user-written programs come from.
HTH,
Billy
On Feb 26, 2013, at 6:28 AM, Neophytos Stylianou <[email protected]> wrote:
> Hello,
>
> I am using the spmap package in order to make some maps but I want to include a North arrow on my map.
>
> How do I insert that?
>
> I saw in the help file an arrow option and I tried to create the exact same arrow dataset as the help file shows but it still does not recognise the arrow dataset as valid dataset
>
> Thanks,
>
> Neo
>
> *
> * 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/
*
* 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/
*
* 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/