Displaying 1 result from an estimated 1 matches for "nlongitude".
Did you mean:
longitude
2007 Jun 29
0
modify tick labels in 3D GAM plot
...Here is the code:
library(mgcv)
gam.from.mgcv<-gam(response ~ s(var1) + s(var2, var3) + s(var4) +
offset(var5),
family=poisson, scale=-1, gamma=1.4, data=globecdata)
par(mfrow=c(1,3))
par(cex=1, xpd=NA)
plot(gam.from.mgcv, select=2, pers=T, theta=-65, phi=20, scale=0,
xlab="\n\n\nLongitude", ylab="\n\nLatitude", main="",
ticktype="detailed", expand=0.8)
par(srt=100, adj=0.5) #angle and alignment to set for z label
text(-0.5,-0.06,"Effect\n\n") #x,y coordinates to place z label
How do I adjust the tick labels?
Also, I would like...