Reversing axes in contourf plot
Show older comments
Is it possible to reverse the axes of a 'contourf' plot. In other words have the x axis grow from right to left?
Answers (1)
Star Strider
on 1 Jul 2019
Yes.
figure
contourf(YourMatrix)
set(gca, 'XDir','reverse')
Categories
Find more on Contour 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!