Multiple_independant variables on X-axis bottom
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
KSSV
2023-4-20
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);
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!