3D plot – scatter3D , scatter3d

Published onesixx on


Functions for scatter plots and texts in 2D and 3D

  • x, y, z: vectors of point coordinates
  • colvar: a variable used for coloring
  • col: color palette used for coloring the colvar variable
  • labels: the text to be written
  • add: logical. If TRUE, then the points will be added to the current plot. If FALSE a new plot is started
  • : additional persp arguments including xlim, ylim, zlim, xlab, ylab, zlab, main, sub, r, d, scale, expand, box, axes, nticks, tictype.
Categories: ggplot2


Blog Owner

Leave a Reply

Your email address will not be published.