how to mirror plot in x=4 axis
Show older comments
Hi i need to draw
figure(3);
ezplot(@(x) sqrt(x),[0;4]),
axis equal
this graphic it the mirror to axis x=4 and in interval [4;8] as well to draw an axel x=4.
5 Comments
Star Strider
on 11 Mar 2018
That is likely not possible with ezplot or fplot. You need to use plot.
Nikita Zuravliov
on 11 Mar 2018
dpb
on 11 Mar 2018
What have you tried so far??? Not really sure what you want, precisely...
Nikita Zuravliov
on 11 Mar 2018
Star Strider
on 11 Mar 2018
There are probably a few different ways to do this. If you have to do it mirror-wise, think about how to set up your ‘x’ vector to do that.
I already coded it successfully. (It looks like a Gothic arch.)
Accepted Answer
More Answers (0)
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!