Re: [R] Mapping of countries

2020-04-01 Thread george brida
Thanks a lot Jim.. Thank you Ani and Rasmus. Best On Wed, Apr 1, 2020 at 2:54 AM ani jaya wrote: > Maybe simply add: > > > points(station$Lon, station$Lat, col="red", pch=16, label="Your Country") > text(station$Lon, station$Lat,"Your Country", > col="black", pos=3, cex=1) > > station$Lon

Re: [R] Mapping of countries

2020-03-31 Thread ani jaya
Maybe simply add: points(station$Lon, station$Lat, col="red", pch=16, label="Your Country") text(station$Lon, station$Lat,"Your Country", col="black", pos=3, cex=1) station$Lon and Lat in your coordinate position. Regards, Ani On Tue, Mar 31, 2020 at 10:58 PM george brida wrote: > > Dea

Re: [R] Mapping of countries

2020-03-31 Thread David Winsemius
On 3/31/20 6:49 AM, george brida wrote: Dear Jim, Is it possible to add also a title to this map? Many thanks When I look at theĀ  ?map help page, I see all these questions answered in the Examples section. -- David On Tue, Mar 31, 2020 at 2:29 PM george brida wrote: Dear Jim,

Re: [R] Mapping of countries

2020-03-31 Thread Rasmus Liland
On 2020-03-31 03:38 +0200, george brida wrote: > i would like to plot the maps of the Gulf Cooperation Council (GCC) > countries (KSA, Qatar, Bahrain, Kuwait, UAE and Oman) with these > constraints: i/ KSA , Qatar and Bahrain have the same face color , ii/ > Kuweit and UAE with the same face color

Re: [R] Mapping of countries

2020-03-31 Thread george brida
Dear Jim, Is it possible to add also a title to this map? Many thanks On Tue, Mar 31, 2020 at 2:29 PM george brida wrote: > Dear Jim, > > Thank you very much. I obtained now the required map. I would like to know > how to add the names of the countries. > > Best > George > > On Tue, Mar 31,

Re: [R] Mapping of countries

2020-03-31 Thread george brida
Dear Gunter, It is noted. Thanks Best On Tue, Mar 31, 2020 at 6:04 AM Bert Gunter wrote: > Probably better posted to the r-sig-geo list, where you are more > likely to find the relevant expertise. > > Perhaps see also https://cran.r-project.org/web/views/Spatial.html, > depending on what you p

Re: [R] Mapping of countries

2020-03-31 Thread george brida
Dear Jim, Thank you very much. I obtained now the required map. I would like to know how to add the names of the countries. Best George On Tue, Mar 31, 2020 at 10:10 AM Jim Lemon wrote: > Hi George, > Try this: > > library(maps) > map("world",xlim=c(34.353,60.369),ylim=c(16.7,32.193), > regio

Re: [R] Mapping of countries

2020-03-31 Thread Erin Hodgess
That would have been my code too! On Tue, Mar 31, 2020 at 2:10 AM Jim Lemon wrote: > Hi George, > Try this: > > library(maps) > map("world",xlim=c(34.353,60.369),ylim=c(16.7,32.193), > regions="Saudi Arabia",col="yellow",fill=TRUE) > map("world",regions="Bahrain",col="yellow",fill=TRUE,add=TRU

Re: [R] Mapping of countries

2020-03-31 Thread george brida
Hi Erin, Thanks for the reply. I would like to have just those countries on the map. Best George On Tue, Mar 31, 2020 at 5:02 AM Erin Hodgess wrote: > Hello George! > > Do you mean to have a map of the world with these countries filled in, or > to have just those countries on the map, please?

Re: [R] Mapping of countries

2020-03-31 Thread Jim Lemon
Hi George, Try this: library(maps) map("world",xlim=c(34.353,60.369),ylim=c(16.7,32.193), regions="Saudi Arabia",col="yellow",fill=TRUE) map("world",regions="Bahrain",col="yellow",fill=TRUE,add=TRUE) map("world",regions="Kuwait",col="lightblue",fill=TRUE,add=TRUE) map("world",regions="Qatar",col=

Re: [R] Mapping of countries

2020-03-30 Thread Bert Gunter
Probably better posted to the r-sig-geo list, where you are more likely to find the relevant expertise. Perhaps see also https://cran.r-project.org/web/views/Spatial.html, depending on what you plan to do with your maps. Bert Gunter "The trouble with having an open mind is that people keep comin

Re: [R] Mapping of countries

2020-03-30 Thread Erin Hodgess
Hello George! Do you mean to have a map of the world with these countries filled in, or to have just those countries on the map, please? Thanks, Erin Erin Hodgess, PhD mailto: erinm.hodg...@gmail.com On Mon, Mar 30, 2020 at 7:38 PM george brida wrote: > Dear R users, > > i would like to plot

[R] Mapping of countries

2020-03-30 Thread george brida
Dear R users, i would like to plot the maps of the Gulf Cooperation Council (GCC) countries (KSA, Qatar, Bahrain, Kuwait, UAE and Oman) with these constraints: i/ KSA , Qatar and Bahrain have the same face color , ii/ Kuweit and UAE with the same face color and iii/Oman with another face color. I