请问在r语言中par(‘usr’)[2]什么意思?

r语言中par(‘usr’)[2]什么意思


料青山看我应如是
浏览 2342回答 3
3回答

湖上湖

设置图位置参数的。A vector of the form c(x1, x2, y1, y2)giving the extremes of the user coordinates of the plottingregion. When a logarithmic scale is in use (i.e.,par("xlog") is true, see below), then the x-limits will be10 ^ par("usr")[1:2]. Similarly for the y-axis.

ITMISS

1234567891011121314#例子:attach(mtcars)opar&nbsp;<-&nbsp;par(no.readonly=TRUE)par(mfrow=c(3,2))&nbsp;#&nbsp;按行填充,3行2列,一共六个。hist(wt)hist(mpg)hist(disp)hist(wt)hist(mpg)hist(disp)par(opar)detach(mtcars)&nbsp;##for&nbsp;more&nbsp;please&nbsp;use&nbsp;&nbsp;help(par)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;see&nbsp;&nbsp;examples图片如下:
打开App,查看更多内容
随时随地看视频慕课网APP