Mirror plotting a curve
20 views (last 30 days)
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?
0 Comments
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')
See Also
Categories
Find more on Surface and Mesh 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!