Multiple_independant variables on X-axis bottom

Hello
This question is still not answered and I am struggling to get the right plot that looks like the following.
I would be happy to hear from you all.
Thank you

回答 (1 件)

KSSV
KSSV 2023 年 4 月 20 日

0 投票

plot(1:3,rand(1,3))
xticks([1 2 3])
str = {sprintf('1\\newlineOne\\newlineOkati') sprintf('2\\newlineTwo\\newlineRendu') sprintf('3\\newlineThree\\newlineMoodu')} ;
set(gca(),'XTickLabel',str);

カテゴリ

ヘルプ センター および File ExchangeEntering Commands についてさらに検索

質問済み:

2023 年 4 月 20 日

回答済み:

2023 年 4 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by