I have a 3 column dataset x,y,z, and I plotted a 3d scatter plot using:

cols <- myColorRamp(c(topo.colors(10)),z)
plot3d(x=x, y=y, z=z, col=cols)

I wanted to add a legend to the 3d plot showing the color ramp. Any help
will be greatly appreciated!

thanks,
Z

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to