How to write theta - theta bar as a axis label
조회 수: 10 (최근 30일)
이전 댓글 표시
Good afternoon,
I am trying to plot a Bland Altman plot, but I would like to have the x-axis labelled as theta- theta bar however, this should be in mathematical symbols.
How would I do this?
I have tried a couple of variations:
for y = 1:20
scatter(young_av{1,y}, young_er{1,y}, 10, "Filled");
hold on
scatter(young_av{1,y}, young_er{1,y}, 10, "Filled");
grid on
xlim([-30 50])
ylim([-10 10])
xlabel('\theta' - '$\bar{\theta}$', 'Interpreter','Latex')
ylabel('Error (deg)')
legend("Young")
end
댓글 수: 0
채택된 답변
Aquatris
2024년 3월 6일
scatter(1:10,rand(1,10) , "Filled");
grid on
xlabel('$\theta$ - $\bar{\theta}$','interpreter', 'latex')
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Labels and Annotations에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!