[R] Question on function "scatterplot3d"

Ismail SEZEN sezenismail at gmail.com
Thu Jun 1 03:17:50 CEST 2017


> On 1 Jun 2017, at 03:41, li li <hannah.hlx at gmail.com> wrote:
> 
> 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”)

Everything seems ok to me. Try to reset/clear all plots in your plotting window and try only to run the code above. Perhaps You changed par settings before in some point?



More information about the R-help mailing list