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 件)

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by