Hi list,
I'm trying to limit the z axis plotted using persp3d {rgl} to a given
range. I'm trying the following statement
persp3d(g0,pa,D, xlim=range(g0),ylim=range(pa), zlim=range
(zbounds),col="lightblue")
where g0 and pa are both a range of 20 numbers from 0.05 to 1, and D
is a 20 x 20 matrix with values ranging from 0 to 30000. I'm trying
to set a cap on the Z displayed in the surface to 1000 so I can see
the lower levels in greater detail, but the persp3d statement doesn't
appear to respond to any zlim parameter that I have tried.
Can anyone suggest a method?
I'm using R Gui for OSX ver 1.16, R version 2.3.1, and rgl is version
0.67-2
Thanks
Ken
[[alternative HTML version deleted]]