28 février 2020
Ce document est lié à :
info:eu-repo/semantics/reference/issn/2497-6121
info:eu-repo/semantics/openAccess
Timothée Giraud, « How to interactively position legends and layout elements on a map with cartography », R Géomatique, ID : 10.58079/tp4k
In cartography several functions have a pos or legend.pos argument. These arguments can take the following values: "topleft", "top", "topright", "right", "bottomright", "bottom", "bottomleft", "bottomleftextra", "left" or a vector of two coordinates in map units (c(x, y)). The posibility to use a vector of coordinates is useful for placing an element at a precise location: library(sf) library(cartography) mtq - st_read(system.file("gpkg/mtq.gpkg", package="cartography")) png("poslegend1.png...