library(ade4) library(adegraphics) set.seed(2564) df <- data.frame(x = rep(1:10,1), y = rep(1:10, each = 10), ms_li = runif(100, min = -5, max = 4))
s.value(df[, 1:2], df$ms_li, paxes.draw = TRUE)
xlab.cex
and ylab.cex
manage the size titles on the x
and y
axes.
s.value(df[, 1:2], df$ms_li, paxes.draw = TRUE, xlab = "Longitude", xlab.cex = 0.5, ylab = "Latitude", ylab.cex = 0.5 )
scales.x.cex
and scales.y.cex
manage the sizes labels on the x
and y
axes.
s.value(df[, 1:2], df$ms_li, paxes.draw = TRUE, scales.x.cex = 0.5, scales.y.cex = 0.5 )
layout.heights = list(bottom.padding = 1)
manages the margin of the bottom axis.
This enlarges the space for a larger title axis.
s.value(df[, 1:2], df$ms_li, paxes.draw = TRUE, xlab = "Longitude", xlab.cex = 2, ylab = "Latitude", ylab.cex = 2, layout.heights = list(bottom.padding = 2) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.