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: North arrow in spmap


From   Neophytos Stylianou <[email protected]>
To   "[email protected]" <[email protected]>
Subject   RE: st: North arrow in spmap
Date   Wed, 27 Feb 2013 09:29:19 +0000

I am really sorry about not telling you the version of the user written package spmap. I have just realised how important that is and that the name of author and name of package are not enough.

The version is Version 1.2.0.

So can anyone give me a hint on the arrow matter?

More info can be seen in the emails proceeding this one.

Thanks

Neo

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Neophytos Stylianou
Sent: 26 February 2013 15:10
To: [email protected]
Subject: RE: st: North arrow in spmap

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/

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