[R] Question on function "scatterplot3d"

li li hannah.hlx at gmail.com
Thu Jun 1 02:41:58 CEST 2017


Hi all,
  I have a question with regard to making plots using function
"scatterplot3d".
Please see the example below. It looks like, for y axis, the tickmark text
was cutoff.
The number "10" does not show up completely. I tried to work with par(mpg).
It does not
seem to work. Hope to get some advice here. Thanks much!
   Hanna




C <- runif(30)
B <- rep(1:3, each=10)
A <- rep(1:10,3)
scatterplot3d(B,A,C, type = "h", lwd = 1, pch = 16, color="red",  main =
"",
              grid=TRUE,  col.grid="lightgreen",
              xlab="x", ylab="y", zlab="z")

	[[alternative HTML version deleted]]



More information about the R-help mailing list