您好,我在R工作的新工作,并正在创建一个显示样本污染水平的箱形图。我已经得到了我想要的图形外观,但是我不能让图例移到一边而不消失,x轴标签从底部掉下来。
我的代码如下所示:
#adds padding to the inner margin of the graph, allows legend and labels to fit
par(mar=c(10,5,3,10))
stackedGraphGOOD = barplot(as.matrix(goodKrakenData),
col = c("DODGERBLUE&
我试图在我的页面中居中一个div,但是我有一个非常特殊的布局,它不能让我用常规的页边距居中:汽车属性。我所拥有的,基本上是这样的:
HTML:
<div id="container">
<div id="sidebar">
some text
</div>
</div id="content">
some text
</div>
</div>
CSS:
#container{
margin: 0 auto