Write variable label on the Y-axis of graphs
2 views (last 30 days)
Show older comments
Juan Angel Tapia
on 16 Nov 2022
Commented: Star Strider
on 16 Nov 2022
Hello!,
Can anybody help me please?
I would like to write this label in Y_axis of plot in latex: $\~ H_{H,2}^{H,1}$, or

but matlab doesn't recognize it \~
I appreciate your help please, thank you!
0 Comments
Accepted Answer
More Answers (1)
Star Strider
on 16 Nov 2022
Try this —
figure
plot(sort(rand(1,10)), rand(1,10), '-p')
ylabel('$\tilde{H}_{H,2}^{H,1}$', 'Interpreter','latex', 'FontSize',20)
.
2 Comments
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!