R: How can I make a barplot with labels parallel (horizontal) to bars

后端 未结 2 1394
挽巷
挽巷 2021-02-05 05:18

In barplot, is it possible to make the labels parallel to the bars?

Suppose we have the data frame called \"data\".

              Page   PV UniquePgv
1 /         


        
2条回答
  •  半阙折子戏
    2021-02-05 06:09

    enter image description here

    enter image description hereng

    esal = c(res$V3)

    ename = res$V2 barplot(esal, names.arg=ename, col=c(rainbow(length(esal))), xlab="Employee Name", ylab="Salary", main="Emp V/S Salary")

提交回复
热议问题