[R] Anybody has experience with plotlm3d function and can help me?
vincent.deluard at trimtabs.com
Tue May 25 00:35:18 CEST 2010
I am trying to use the plotlm3d function which I believe was written by John
Fox and later modified by Jose Claudio Faria and Duncan Murdoch. It is a
great way to plot data points in a 3D environment but I do not see how to
customize the size of the axes.
I want to plot the following data:
 1 2 3 4 5 6 7 8 9 10
 0.5678042 0.3986702 0.3063544 0.2554426 0.1954868 0.1238850 0.1161249
0.1689951 0.1826783 0.2406300
 0.2558812 0.2619668 0.2585930 0.2563669 0.2588323 0.2734029 0.2770458
0.2782657 0.2850179 0.3015296
Then i execute:
plotlm3d(x, y, z,
surface = T,
model = 'z ~ x + y',
xlab = 'x',
ylab = 'y'
The chart is beautiful but I would like to change the scale on the z-axis
I tried this command:
But it not work - my guess is that the underlying function plotlm3d needs to
modified but I cannot figure where.
View this message in context: http://r.789695.n4.nabble.com/Tutorial-on-rgl-Graphics-tp791589p2229309.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help