search for: mapregion

Displaying 18 results from an estimated 18 matches for "mapregion".

2016 Apr 12
2
Adding Two-Headed Arrow in map legend
...e arrows at the bottom (beneath the map). This is what I am doing: # Draw the map eps_europe <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS Score - Europe",colourPalette=colourPalette, catMethod="fixedWidth", missingCountryCol = "white", mapRegion="Europe", addLegend=FALSE) # ISO3 codes on the map text(n, labels="ISO3", cex=0.30) # Obtain coordinates for the arrow par('usr') # -19.75966 54.75966 33.60000 71.40000 # Arrows par(xpd=TRUE) arrows(-19.75966, 54.75966, 33.60000, 71.40000,code=3) par(xpd=FALSE)...
2016 Apr 12
2
Adding Two-Headed Arrow in map legend
...I am doing: > > > > # Draw the map > > eps_europe <- mapCountryData(n, nameColumnToPlot="eps_score", > mapTitle="EPS > > Score - Europe",colourPalette=colourPalette, > > catMethod="fixedWidth", missingCountryCol = "white", mapRegion="Europe", > > addLegend=FALSE) > > > > # ISO3 codes on the map > > text(n, labels="ISO3", cex=0.30) > > > > # Obtain coordinates for the arrow > > par('usr') > > > > # -19.75966 54.75966 33.60000 71.40000 > >...
2016 Apr 12
0
Adding Two-Headed Arrow in map legend
...th the map). This is > what I am doing: > > # Draw the map > eps_europe <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS > Score - Europe",colourPalette=colourPalette, > catMethod="fixedWidth", missingCountryCol = "white", mapRegion="Europe", > addLegend=FALSE) > > # ISO3 codes on the map > text(n, labels="ISO3", cex=0.30) > > # Obtain coordinates for the arrow > par('usr') > > # -19.75966 54.75966 33.60000 71.40000 > > # Arrows > par(xpd=TRUE) > arrows(-19....
2016 Apr 11
0
Adding Two-Headed Arrow in map legend
Hi Milu, I just realized that by "the bottom of the map" you may mean "beneath the map", in which case you should use: par(xpd=TRUE) arrows(...) par(xpd=FALSE) Jim On Mon, Apr 11, 2016 at 11:50 PM, Miluji Sb <milujisb at gmail.com> wrote: > Dear David, > > Thank you very much for your replies! I didn't know about par('usr'). > > I get
2016 Apr 13
0
Adding Two-Headed Arrow in map legend
...t;> > # Draw the map >> > eps_europe <- mapCountryData(n, nameColumnToPlot="eps_score", >> > mapTitle="EPS >> > Score - Europe",colourPalette=colourPalette, >> > catMethod="fixedWidth", missingCountryCol = "white", mapRegion="Europe", >> > addLegend=FALSE) >> > >> > # ISO3 codes on the map >> > text(n, labels="ISO3", cex=0.30) >> > >> > # Obtain coordinates for the arrow >> > par('usr') >> > >> > # -19.75966 54...
2016 Apr 09
2
Adding Two-Headed Arrow in map legend
...rong, If this is my command to plot a map of Europe: eps_europe <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS Score - Europe",colourPalette=colourPalette, catMethod="fixedWidth", missingCountryCol = "white", mapRegion="Europe", addLegend=FALSE) The following command does not seem to add the arrow. What am I doing wrong? do.call(addMapLegend, c(eps_europe, legendLabels="none", arrows(-100,-140,100,-140,code=3))) Thank you again. I really appreciate it. Sincerely, Milu On Sat, Apr 9, 2016...
2016 Apr 11
2
Adding Two-Headed Arrow in map legend
...ot="eps_score", > mapTitle="EPS > > > >>>> Score - Europe",colourPalette=colourPalette, > > > >>>> catMethod="fixedWidth", > missingCountryCol = > > > >>>> "white", mapRegion="Europe", addLegend=FALSE) > > > >>>> > > > >>>> The following command does not seem to add the arrow. What am I > doing wrong? > > > >>>> > > > >>>> do.call(addMapLegend, c(eps_europe, legendLabels=&qu...
2016 Apr 09
2
Adding Two-Headed Arrow in map legend
...> > > > eps_europe <- mapCountryData(n, nameColumnToPlot="eps_score", > mapTitle="EPS > > Score - Europe",colourPalette=colourPalette, > > catMethod="fixedWidth", missingCountryCol = > > "white", mapRegion="Europe", addLegend=FALSE) > > > > The following command does not seem to add the arrow. What am I doing > wrong? > > > > do.call(addMapLegend, c(eps_europe, legendLabels="none", > > arrows(-100,-140,100,-140,code=3))) > > > > Your ea...
2016 Apr 09
0
Adding Two-Headed Arrow in map legend
...and to plot a map of Europe: > > eps_europe <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS > Score - Europe",colourPalette=colourPalette, > catMethod="fixedWidth", missingCountryCol = > "white", mapRegion="Europe", addLegend=FALSE) > > The following command does not seem to add the arrow. What am I doing wrong? > > do.call(addMapLegend, c(eps_europe, legendLabels="none", > arrows(-100,-140,100,-140,code=3))) > Your earlier question had a full world map. That...
2016 Apr 09
2
Adding Two-Headed Arrow in map legend
...t; >>> eps_europe <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS >>> Score - Europe",colourPalette=colourPalette, >>> catMethod="fixedWidth", missingCountryCol = >>> "white", mapRegion="Europe", addLegend=FALSE) >>> >>> The following command does not seem to add the arrow. What am I doing wrong? >>> >>> do.call(addMapLegend, c(eps_europe, legendLabels="none", >>> arrows(-100,-140,100,-140,code=3))) >>> &...
2016 Apr 10
2
Adding Two-Headed Arrow in map legend
...;- mapCountryData(n, nameColumnToPlot="eps_score", > mapTitle="EPS > >>>> Score - Europe",colourPalette=colourPalette, > >>>> catMethod="fixedWidth", missingCountryCol = > >>>> "white", mapRegion="Europe", addLegend=FALSE) > >>>> > >>>> The following command does not seem to add the arrow. What am I doing > wrong? > >>>> > >>>> do.call(addMapLegend, c(eps_europe, legendLabels="none", > >>>> arr...
2016 Apr 09
0
Adding Two-Headed Arrow in map legend
...ope: > > > > eps_europe <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS > > Score - Europe",colourPalette=colourPalette, > > catMethod="fixedWidth", missingCountryCol = > > "white", mapRegion="Europe", addLegend=FALSE) > > > > The following command does not seem to add the arrow. What am I doing wrong? > > > > do.call(addMapLegend, c(eps_europe, legendLabels="none", > > arrows(-100,-140,100,-140,code=3))) > > > > Your earlie...
2016 Apr 10
2
Adding Two-Headed Arrow in map legend
...nameColumnToPlot="eps_score", > mapTitle="EPS > > >>>> Score - Europe",colourPalette=colourPalette, > > >>>> catMethod="fixedWidth", missingCountryCol > = > > >>>> "white", mapRegion="Europe", addLegend=FALSE) > > >>>> > > >>>> The following command does not seem to add the arrow. What am I > doing wrong? > > >>>> > > >>>> do.call(addMapLegend, c(eps_europe, legendLabels="none", >...
2016 Apr 10
0
Adding Two-Headed Arrow in map legend
...e <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS > >>>> Score - Europe",colourPalette=colourPalette, > >>>> catMethod="fixedWidth", missingCountryCol = > >>>> "white", mapRegion="Europe", addLegend=FALSE) > >>>> > >>>> The following command does not seem to add the arrow. What am I doing wrong? > >>>> > >>>> do.call(addMapLegend, c(eps_europe, legendLabels="none", > >>>> arrows(-...
2016 Apr 09
0
Adding Two-Headed Arrow in map legend
...;> eps_europe <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS >>>> Score - Europe",colourPalette=colourPalette, >>>> catMethod="fixedWidth", missingCountryCol = >>>> "white", mapRegion="Europe", addLegend=FALSE) >>>> >>>> The following command does not seem to add the arrow. What am I doing wrong? >>>> >>>> do.call(addMapLegend, c(eps_europe, legendLabels="none", >>>> arrows(-100,-140,100,-140,code=...
2016 Apr 10
0
Adding Two-Headed Arrow in map legend
...tryData(n, nameColumnToPlot="eps_score", mapTitle="EPS > > >>>> Score - Europe",colourPalette=colourPalette, > > >>>> catMethod="fixedWidth", missingCountryCol = > > >>>> "white", mapRegion="Europe", addLegend=FALSE) > > >>>> > > >>>> The following command does not seem to add the arrow. What am I doing wrong? > > >>>> > > >>>> do.call(addMapLegend, c(eps_europe, legendLabels="none", > >...
2016 Apr 09
0
Adding Two-Headed Arrow in map legend
Hi Miluji, Try this: arrows(-100,-140,100,-140,code=3) Jim On Fri, Apr 8, 2016 at 10:24 PM, Miluji Sb <milujisb at gmail.com> wrote: > I am trying to draw maps for the world using: > > library(rworldmap) > library(maptools) > library(RColorBrewer) > > > tmp2<- dput(head(pece,10)) > structure(list(iso3 = c("AUS", "AUT", "BEL",
2016 Apr 08
2
Adding Two-Headed Arrow in map legend
I am trying to draw maps for the world using: library(rworldmap) library(maptools) library(RColorBrewer) tmp2<- dput(head(pece,10)) structure(list(iso3 = c("AUS", "AUT", "BEL", "CAN", "CHE", "CHL", "CZE", "DEU", "DNK", "ESP"), eps_score = c(0.877343773841858, 2.68984365463257,