Flipping a plot by 180 degrees
Show older comments
Hi!
I want to flip/rotate the plot in the attachment, such that the right part of the plot is rotated to the left and vice versa. I have used flip command but doesn't seem to work. I have also used camroll(-90), view() and set(gca,'YDir','reverse') to achieve my desired result.

Accepted Answer
More Answers (1)
Sayyed Ahmad Fani Yazdi
on 14 Jan 2019
0 votes
if your x values are positive nambers you need only use
x=-x
and plot again. It could be flip your plot at y axis
1 Comment
Subha Bose
on 14 Jan 2019
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
