2013-03-21 83 views
0

我有以下的箱图 enter image description here[R制冰空间标签

,你可以看到我的问题是,标贴是不是我的身影,因为它们超出了数字的边缘配合,我试着使用相提并论功能及其火星属性,显示的利润,但对我没有工作,我用标准杆(标准杆()$三月+ C(10,0,0,0))

如果您对我的问题有任何想法,请让我知道

回答

4

你似乎没有分配新创建mar参数为mar参数

比较

d <- data.frame(a=1:5,b=1:5) 
boxplot(d) 

# your call was 
# par(par()$mar+c(10,0,0,0)) which doesn't specify which 
# par is being set (and returns NULL, (A vague hint that it isn't working properly) 
par(mar = par('mar') + c(10,0,0,0)) 
boxplot(d) 
+0

'面值(“月”)'是最常用的,不'面值()$ mar'。 – 2013-03-21 21:57:49

+0

@GavinSimpson - 非常真实,修正了我的懒惰。 – mnel 2013-03-21 21:58:52