[英]ggplot reflect plot about y-axis
Is there a way to reflect a plot made with ggplot through the y-axis? 有没有办法通过y轴反映由ggplot绘制的图?
I would like to go from this: 我想从这里开始:
to this: 对此: (Obviously without reflecting the axis labels!) (显然没有反映轴标签!)
有一个函数scale_x_reverse()
应该可以执行您想要的操作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.