为了账号安全,请及时绑定邮箱和手机立即绑定

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

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

r语言中par(‘usr’)[2]什么意思
查看完整描述

3 回答

?
湖上湖

TA贡献2003条经验 获得超2个赞

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

查看完整回答
反对 回复 2019-07-13
?
ITMISS

TA贡献1871条经验 获得超8个赞

1234567891011121314#例子:attach(mtcars)opar <- par(no.readonly=TRUE)par(mfrow=c(3,2)) # 按行填充,3行2列,一共六个。hist(wt)hist(mpg)hist(disp)hist(wt)hist(mpg)hist(disp)par(opar)detach(mtcars) ##for more please use  help(par)     see  examples

图片如下:



查看完整回答
反对 回复 2019-07-13
  • 3 回答
  • 0 关注
  • 2286 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信