How can I insert a square root in y-axis of curve ?
Show older comments
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 Comments
MaHa
on 27 Aug 2020
Good question, I don't know is the sqrt symbol is native (maybe by importing some latex ones), but you can use brackets {} and exponents form only
ylabel ('\theta (10^{-3} C.m^{-1}.kg^{1/2})')
Not sure if your kg unit is above or below the units fraction, add a - to adjust
Mallouli Marwa
on 27 Aug 2020
Manoj Kumar
on 4 Jun 2022
Edited: Manoj Kumar
on 4 Jun 2022
Use: \surd (x) , incase you want to write √x on y-axis
For e.g.
ylabel ('Fracture Toughness (MPa\surd(m))')

Accepted Answer
More Answers (0)
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!