简体   繁体   中英

ggplot reflect plot about y-axis

Is there a way to reflect a plot made with ggplot through the y-axis?

I would like to go from this: 在此处输入图片说明

to this: 在此处输入图片说明 (Obviously without reflecting the axis labels!)

有一个函数scale_x_reverse()应该可以执行您想要的操作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM