R does not provide a native 3D coordinate syytem in base graphics.
Therefore, persp() is rather a hack that plots everything based on its
internal code into the device.
Labels are not in the marhings of the 2D coordinate system, hence the
related par() are not functional.
I'd suggest to add
Dear list,
I am making a perspective plot of my generalised additive model (GAM)
named a1b, using vis.gam() in mgcv, which in turn makes use of the
persp function in base R.
Code is as follows:
library(mgcv)
vis.gam(x = a1b,
view = c("wbgt_max", "lag"),
plot.type = "persp",
2 matches
Mail list logo