Mirror plotting a curve
Show older comments
I would like to plot mirror the blue curve from the x=0 vertical axis

So to achieve something like that:

Is there any way of achieving that?
Answers (1)
John D'Errico
on 2 Nov 2020
You must have plotted the curve using a call like
plot(x,y,'-b')
But then, what would the following do?
plot(-x,y,'-b')
1 Comment
ErikJon Pérez Mardaras
on 2 Nov 2020
Categories
Find more on Line Plots 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!
