全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
14092 10
2013-12-10
r 作图时,main可以对每个小图设定标题,但一页多图时,需要有个总标题,这个怎么办呢?大家肯定都遇到过,小菜鸟一只,求指教,谢谢!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2013-12-10 17:11:57
try "mtext"?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-12-10 17:22:00
zhangyangsmith 发表于 2013-12-10 17:11
try "mtext"?
好,我试一下,谢谢。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-12-10 17:29:21
zhangyangsmith 发表于 2013-12-10 17:11
try "mtext"?
貌似不行,或者是我不会设置吧,还有别的方法吗?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-12-10 18:07:29
mengye02 发表于 2013-12-10 17:29
貌似不行,或者是我不会设置吧,还有别的方法吗?
Well, it does require a bit more setting. You will have to change the "oma" option using the "par" function. In addition, for "mtext" you need to specify "outer = T". It should work. Here is an example:
复制代码
There are other ways to do multiplot on one device (e.g., layout, split.screen) but I haven't found other means of adding a title to the whole page...
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-12-10 19:54:21
zhangyangsmith 发表于 2013-12-10 18:07
Well, it does require a bit more setting. You will have to change the "oma" option using the "par" ...
thank you so much! yes, it now works!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群