开发者

Horizontal scale bar in R plot

开发者 https://www.devze.com 2023-01-08 17:09 出处:网络
When I plot my fitted models in R, I get the output with a开发者_高级运维 vertical scale bar. Can some one kindly tell me how to place a horizontal scale bar in R plots instead of vertical? Thanks in

When I plot my fitted models in R, I get the output with a开发者_高级运维 vertical scale bar. Can some one kindly tell me how to place a horizontal scale bar in R plots instead of vertical? Thanks in advance.


Not sure what you want to do.

Here are some possible solutions:

1) If using `library(ggplot2)

add + coord_flip()

2) If using plot

plot(x = value, y = 1:length(name),...)

0

精彩评论

暂无评论...
验证码 换一张
取 消