Re: [R] Space between axis title and tick labels in persp plot in R (using vis.gam)

2022-07-07 Thread Uwe Ligges
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

[R] Space between axis title and tick labels in persp plot in R (using vis.gam)

2022-07-06 Thread jade.shodan--- via R-help
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",