beanplot更改图例中项目的顺序

时间:2017-11-02 04:32:10

标签: r legend

我正在使用beanplot包中的beanplot函数,我想在x轴上更改项目的顺序。

我的代码如下所示:

beanplot(NoEggs~Treat, data=data, col=list("firebrick", "deepskyblue3", "chartreuse4"),
     ylab="Number of eggs", xlab="Reproductive mode",
      las=1, ylim=c(0,140), cutmin = 1.1, cutmax =99)

Here is the graph I'm getting

我需要让Pa成为第一个,然后是Mo和Po。我该怎么做?

0 个答案:

没有答案