Changing horizontal axis to descending order

118 ビュー (過去 30 日間)
Mads
Mads 2011 年 11 月 18 日
コメント済み: M4000_EE 2020 年 10 月 11 日
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

採用された回答

Robert Cumming
Robert Cumming 2011 年 11 月 18 日
set ( gca, 'xdir', 'reverse' )
  5 件のコメント
MUSAAB AHMED
MUSAAB AHMED 2020 年 9 月 3 日
Thank you very much
M4000_EE
M4000_EE 2020 年 10 月 11 日
Thanks a lot

サインインしてコメントする。

その他の回答 (1 件)

Guus Janssen
Guus Janssen 2018 年 10 月 23 日
is there a way to do this for semilogx as well?
  1 件のコメント
madhan ravi
madhan ravi 2018 年 10 月 23 日
ask a separate question

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by