[R] persp(): how to control the distance between the axis and the axis labels

From: Artur Matos <arturmatos78_at_gmail.com>
Date: Wed, 26 Dec 2007 22:07:44 +0900


I have been using persp() to draw 3D surface plots of my data, but I always run into a small problem: If use the standard settings, the axis
labels always end up too close and overlapping the the axis numbers. Is there
any setting for controlling the distance between the axis labels and the axis themselves? I have been going through the persp() and par() documentation,
and I could not find anything.

In case it is of any help, this is the call I am using:

est <- bkde2D(x, bandwidth=c(2,0.1))
persp(x=est$x1, y=est$x2, z=est$fhat, phi =30, theta =20, d= 5,ticktype="detailed", xlab="Beta'", ylab="K'", zlab="Density", main="Grammar Based")

Best regards,


R-help_at_r-project.org 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 Wed 26 Dec 2007 - 13:17:23 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 26 Dec 2007 - 13:30:21 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.