Hi all, 

I want to plot some data with scatterplotMatrix. I want to set all axis
limits of all the sub figures the same, also add abline(0,1) to all the sub
figures. Using the code following code, I can only add abline to the first
off-diagonal figure, and I did not figure out how to set all the axis limits
the same. 


scatterplotMatrix(~ income + education + prestige, smooth =
FALSE,transform=FALSE, data=Duncan,robust=TRUE,diagonal="none",plot.points =
TRUE,reg.line=abline(0,1))

Does anybody know how to achieve this? Any advice is appreciated. Thank you. 

Wendy



--
View this message in context: 
http://r.789695.n4.nabble.com/questions-about-scatterplotMatrix-tp4167576p4167576.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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