Hi, How can I make the axis look like in the attached figures?
1 次查看(过去 30 天)
显示 更早的评论
采纳的回答
SALAH ALRABEEI
2021-6-20
See this example
x = linspace(-5,5); y = x.^2; plot(x,y)
xticks([-5 -2.5 -1 0 0.25 0.5 0.75 1 2.5 10])
text(0,15,'$\frac{5\%}{20 s}$','interpreter','latex')
0 个评论
更多回答(1 个)
Jonas
2021-6-19
what do you mean exactly? if you mean the logarithmic x axis then you can use semilogx() function for plotting
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!