Graphics Programs Reference
In-Depth Information
FIGurE 8-3 Map of Costco locations
As before, you can change the colors of both the map and the circles so
that the locations stand out and boundary lines sit in the background, as
shown in Figure 8-4. Now change the dots to a nice Costco red and the
state boundaries to a light gray.
map(database=”state”, col=”#cccccc”)
symbols(costcos$Longitude, costcos$Latitude, bg=”#e2373f”, fg=”#ffffff”,
lwd=0.5, circles=rep(1, length(costcos$Longitude)),
inches=0.05, add=TRUE)
FIGurE 8-4 Using color with mapped locations
Search WWH ::




Custom Search