How to reverse axis in image
Show older comments
Hello
I want to reverse my image horizantally to see the propagation in the x-axis ( like in the figure 2 P_energy), I used Flip function but it didn't work in this case.
Any suggestion please.
Thank you in advance.
Answers (1)
Walter Roberson
on 23 May 2023
1 vote
2 Comments
bouchra turki
on 23 May 2023
Walter Roberson
on 23 May 2023
You can set the figure property 'Color' -- though I would suggest that instead you create a uipanel within the figure, and make the uipanel the parent of the axes, and set the uipanel Color property . This will have the effect of changing the color only inside the uipanel instead of the entire figure.
Categories
Find more on Convert Image Type 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!