[R] How can I place axis annotations away from axis?

From: Achiko <yusuke.fukuda_at_nt.gov.au>
Date: Fri 16 Mar 2007 - 02:38:18 GMT

Hello Experts

I have the following codes and data for 2 interpolation plots.

http://www.nabble.com/file/7206/3d_plot_data.txt 3d_plot_data.txt

data<-read.table("3d_plot_data.txt", header=T) attach(data)

par(mfrow=c(1,2))

library(akima)

interpolation<-interp(rr,veg_r,predict)

persp(interpolation,theta = -45, phi = 30, ticktype = "detailed", nticks=4, cex=0.8, expand=0.5, xlab="\n\n\nPrecipitation", yla="\n\n\nVegetation", zlab="\n\n\nDensity", shade=0.4)

interpolation<-interp(tc,veg_r,predict, duplicate="mean")

persp(interpolation,theta = -45, phi = 30, ticktype = "detailed", nticks=4, cex=0.8, expand=0.5, xlab="\n\n\nTemperature", yla="\n\n\nVegetation", zlab="\n\n\nDensity", shade=0.4)

Now as you can see, and when exported as eps, axis annotation by tickmarks are overlapping with Z axis. As it's for publication, font should be this big. I could put the axis labels away from the axes, but connot find how to place axis annotations further from the axes, or if it's ever possible to adjust the distance between axis and axis annotation.

Your help is much appreciated!

-- 
View this message in context: http://www.nabble.com/How-can-I-place-axis-annotations-away-from-axis--tf3412293.html#a9507709
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Fri Mar 16 13:42:13 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 16 Mar 2007 - 03:30:43 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.