How can I insert a square root in y-axis of curve ?
조회 수: 102 (최근 30일)
이전 댓글 표시
Hi
Please see the program and rectify the sqrt .
Thanks
FVF = [0.86;0.89; 0.92 ; 0.95]*100;
teta_r = [3.17; 3.29; 3.41; 3.53];
figure (8)
plot(FVF,teta_r,'gx-','Linewidth', 2)
xlabel ( 'FVF (%)')
ylabel ('\theta (10^-3 C/m sqrt(kg))')
댓글 수: 3
Manoj Kumar
2022년 6월 4일
편집: Manoj Kumar
2022년 6월 4일
Use: \surd (x) , incase you want to write √x on y-axis
For e.g.
ylabel ('Fracture Toughness (MPa\surd(m))')
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1021635/image.jpeg)
채택된 답변
J. Alex Lee
2020년 8월 27일
You can use latex
ylabel('$$\theta \quad \left(10^{-3} \mathrm{C/m} \sqrt{\mathrm{kg}}\right)$$','Interpreter','latex')
also see
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!