Changing horizontal axis to descending order

Hi all.
Do anyone know how to change the order of xaxis labels in the plot function? Instead of, say, 1 , 2 , 3... i would the axis to plot for ..., 3, 2, 1.
Thank a lot,
Mads

 Accepted Answer

More Answers (1)

is there a way to do this for semilogx as well?

Tags

Asked:

on 18 Nov 2011

Commented:

on 11 Oct 2020

Community Treasure Hunt

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

Start Hunting!