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

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

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

肥皂起泡泡 2019-09-19 14:14:00
r语言中par(‘usr’)[2]什么意思
查看完整描述

3 回答

?
哆啦的时光机

TA贡献1779条经验 获得超6个赞

设置图位置参数的。
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-09-22
?
富国沪深

TA贡献1790条经验 获得超9个赞

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-09-22
  • 3 回答
  • 0 关注
  • 544 浏览

添加回答

举报

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