Dear Robert,

scatterplot() uses layout() to display the scatterplot along with the marginal 
boxplots, and can't be used with par("mfrow"); scatterplot is meant primarily 
for data analysis, not really for making presentation graphs.

Regards,
 John


On Tue, 23 Feb 2010 03:40:39 -0800 (PST)
 threshold <[email protected]> wrote:
> 
> Hi, using scatterplot in 'car' package. 
> There are 4 plots to be pictured together (ignore data used):
> 
> library(car)
> par(mfrow=c(3,1))
> ts.plot(rnorm(100))
> ts.plot(rnorm(100))
> scatterplot(rnorm(100),rnorm(100),boxplot="",smooth=T) # scatter with
> non-parametric fit
> 
> problem is that the last one comes 'always' separate. 
> 
> Is there any way to solve it?? of course can use
> fit=lm(rnorm(100)~rnorm(100)); plot(...);abline(fit), but I want to keep the
> non-paramteric fit.
> 
> best regards, robert
> 
>  
> 
> -- 
> View this message in context: 
> http://n4.nabble.com/scatterplots-in-car-package-tp1565791p1565791.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> [email protected] 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.

------------------------------------------------
John Fox
Sen. William McMaster Prof. of Social Statistics
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox/

______________________________________________
[email protected] 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