答案很少具体,我使用这个名为CAR for R的包来绘制qqplot。
我的问题是 - 我能够绘制图形但不能使用-xlim或ylim来放置轴的比例。
关于如何完成任务的任何想法
其他信息:
qqPlot {car}
Version: 2.0-22
Depends: R (≥ 2.14.0), stats, graphics
## Default S3 method:
qqPlot(x, distribution="norm", ...,
ylab=deparse(substitute(x)), xlab=paste(distribution, "quantiles"),
main=NULL, las=par("las"),
envelope=.95,
col=palette()[1], col.lines=palette()[2], lwd=2, pch=1, cex=par("cex"),
line=c("quartiles", "robust", "none"),
labels = if(!is.null(names(x))) names(x) else seq(along=x),
id.method = "y",
id.n =if(id.method[1]=="identify") Inf else 0,
id.cex=1, id.col=palette()[1], grid=TRUE)
sessionInfo()
R version 3.1.1 (2014-07-10)
Platform: x86_64-apple-darwin13.1.0 (64-bit)
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] parallel stats graphics grDevices utils datasets methods base
other attached packages:
[1] car_2.0-22
答案 0 :(得分:0)
它似乎不可调整。如果您需要进行此类修改,建议您切换到基本功能stats::qqnorm
和stats::qqplot
。如果你想要一个更有吸引力的情节,你可以切换到ggplot2
。看http://docs.ggplot2.org/current/stat_qq.html