[R] how to create contour lines on a 3D surface plot by persp3d from rgl package

Aki Hoji akhst7 at gmail.com
Thu Aug 20 23:20:18 CEST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

HI, 

I created a 3D surface plot of 2D surface data (generated by kde2d)  by using persp3d from rlg as follows;


	persp3d(dens3d, theta=50, phi=25, expand=0.75, col=color[zcol], ticktype="detailed",axes=TRUE)

 I would like to add contour lines to this 3D surface plot and I’d appreciate if any help on this.  

Thanks in advance.  

AH


-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iF4EAREKAAYFAlXWRJMACgkQOpsV3h2pS5ooEgEAkqV5YhvJtT7k3ieSToWGEQLu
5YJw4myWd854/gY9/EIBAIGDCITrrrUj2HX4ztUtykNmxodyeZRqHcwLp53L59a9
=G6Sx
-----END PGP SIGNATURE-----



More information about the R-help mailing list