Reversing axes in contourf plot

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)

Yes.
figure
contourf(YourMatrix)
set(gca, 'XDir','reverse')

Categories

Asked:

on 1 Jul 2019

Answered:

on 1 Jul 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!