[R] scatterplot3d fine tuning

John Kane jrkrideau at yahoo.ca
Thu May 10 19:23:33 CEST 2007


y.ticklab ?

scatterplot3d(x,y,z,xlim=c(0.2,0.7),ylim=c(0.4,0.9),zlim=c(0,1),
 y.ticklabs= c( "0.4", "0.5", "0.6", "", "", 1.0 ))


--- "Johnson, Elizabeth" <ejohnson at jhsph.edu> wrote:

> I have a 3D scatterplot and would like to change the
> displayed range along the y-axis.
>  
> for instance suppose I have:
> x = seq(0.2,0.7,0.01)
> 
> y = seq(0.4,0.9,0.01)
> 
> z = runif(51)
> 
>
scatterplot3d(x,y,z,xlim=c(0.2,0.7),ylim=c(0.4,0.9),zlim=c(0,1))
> 
> But would like the y-axis to read:  0.4, 0.5, 0.6,
> blank, blank, 1.0
> 
> Is there a way to issue an "axis" statement in the
> scatterplot3d?
> 
> Also, can I rotate the y-axis title?
> 
> Thanks
> 
> Elizabeth
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>



More information about the R-help mailing list