如何在条形图中获得X系列标签?

时间:2014-06-26 10:38:30

标签: r

> data(women)
> barplot(women$height,women$weight)

如何将女性体重作为x标签轴?

enter image description here

1 个答案:

答案 0 :(得分:3)

 bp <- barplot(women$height,women$weight)
 axis(1, bp, women$weight)

enter image description here