I am looking for ways to add points to three different plots in parallel. 

I generate three scatter plots and name them as s3d1, s3d2 and s3d3

s3d1<-scatterplot3d(mtcars[,3],mtcars[,4],mtcars[,5],main="common",pch=20)
s3d2<-scatterplot3d(mtcars[,3],mtcars[,4],mtcars[,5],main="common",pch=20)
s3d3<-scatterplot3d(mtcars[,3],mtcars[,4],mtcars[,5],main="common",pch=20)

If I try to add points to s3d1,

s3d1$points3d(mtcars[,3],mtcars[,4],mtcars[,5],col="red")

The points go into s3d3 but not s3d1. What am I missing ?

Additional notes : I am using "layout" function to include 3 plots in a
page. Intention is to add data points to each of these plots. Basically I
obtain data points while running a program in a loop, so I need to add
points each of these plots as and when I get the data points specific to
that particular plot.  

--
View this message in context: 
http://r.789695.n4.nabble.com/How-to-add-points-to-two-plots-parallelly-tp4190518p4190518.html
Sent from the R help mailing list archive at Nabble.com.
        [[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