How can I insert a square root in y-axis of curve ?
73 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Mallouli Marwa
le 27 Août 2020
Modifié(e) : Manoj Kumar
le 4 Juin 2022
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 commentaires
Manoj Kumar
le 4 Juin 2022
Modifié(e) : Manoj Kumar
le 4 Juin 2022
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)
Réponse acceptée
J. Alex Lee
le 27 Août 2020
You can use latex
ylabel('$$\theta \quad \left(10^{-3} \mathrm{C/m} \sqrt{\mathrm{kg}}\right)$$','Interpreter','latex')
also see
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur LaTeX dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!