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에서 Graphics Object Programming에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!