MATLAB: Axis tick numbers in descending order

descending axis

How do I make my axis in descending order? I made a contour grid and the picture is in the right order but the tick numbers are not.
gx = (maxlon:-diflon:minlon);
gy = (minlat:diflat:maxlat);
Thank you

Best Answer

xticklabels([1:10]) %an example
set ( gca, 'xdir', 'reverse' )