View source: R/IBTSNeAtl_map.R
IBTSNeAtl_map | R Documentation |
#' @description to Cádiz, Still needs to include the shapefiles within the package, or right references.
IBTSNeAtl_map(
nl = 60.5,
sl = 36,
xlims = c(-18, 3),
leg = TRUE,
legpos = c("bottomright"),
cex.leg = 0.7,
dens = 30,
load = TRUE,
ICESdiv = TRUE,
ICESrect = FALSE,
ICESlab = F,
ICESlabcex = 0.8,
NS = TRUE,
bathy = TRUE,
bw = FALSE,
axlab = 0.8,
bords = TRUE,
out = "def",
nfile = "NeAtlIBTS_map",
lwdl = 0.1,
shpdir = "c:/GitHubRs/shapes/"
)
nl |
= 61.5 northernmost limit of the map |
sl |
= 35 Southernmost limit of the map |
leg |
= TRUE if TRUE includes the legend with the colors of the surveys |
legpos |
defines where the legend is placed |
cex.leg |
= .7 Size of the legend |
dens |
= 30 density of the shading lines for all the surveys |
load |
= T or F to load all the shapes files. |
ICESdiv |
= TRUE if TRUE plots the IBTS divisions behind the shapefiles |
ICESrect |
= FALSE if TRUE plots the lines of the ICES statistic rectangles |
ICESlab |
= FALSE if TRUE plots labs por ICES rectangles |
ICESlabcex |
tamaño del ICESlab en cex, .5 por defecto subirlo si se quiere más grande |
NS |
= FALSE if TRUE includes the ICES rectangles only for the North Sea area |
bathy |
= TRUE if TRUE plots the isobaths under the behind the shapefiles |
bw |
= True plots the map with land in grey, if F in light brown (burlywood3) |
bords |
= TRUE plots the borders o the countries, FALSE leaves dashed lines |
out |
= format of the output, can be "def" default device, "pdf", "tiff" or "png" |
nfile |
= name for the output file |
shpdir |
= path to the folder with the shapefiles |
axlab= |
.8 decides the size of the axis numbers |
The default limits for the IBTS including the North Sea or not, but the script could be used to get maps all arround the world playing with nl,sl and xlims
IBTSNeAtl_map(out="def",dens=0,nl=45,leg=F,load=TRUE,ICESrect = T);text(stat_y~stat_x,Area,labels=ICESNAME,cex=.8,font=4);text(stat_y~stat_x,Area,labels=Area,cex=.6,pos=1,col=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.