필터 지우기
필터 지우기

Changing horizontal axis to descending order

조회 수: 154 (최근 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?

카테고리

Help CenterFile Exchange에서 Axis Labels에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by