Hi,
I'd like to know, if there is any solution to this:
I have a mesh plot:
question.png
Can i somehow assign the names of samples displayed in plot (left bottom corner) to the numbers 1-6 on the x-axis?
Thank you for any answers.

 채택된 답변

Star Strider
Star Strider 2019년 2월 9일

1 개 추천

Use the 'XTick' (link) and 'XTickLabel' (link) properties to define the tick values and tick labels. Note that you need to use them together, or you will get unexpected (and probably undesirable) results.

댓글 수: 2

Tomas Suchanek
Tomas Suchanek 2019년 2월 9일
Works! Thanks alot.
Star Strider
Star Strider 2019년 2월 9일
As always, my pleasure!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Axis Labels에 대해 자세히 알아보기

질문:

2019년 2월 9일

댓글:

2019년 2월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by