A simple/efficient way to add one additional xtick, and the corresponding xticklabel, to the existing xticks and xticklabels
5 次查看(过去 30 天)
显示 更早的评论
What is a simple/efficient way to add one additional xtick, and the corresponding xticklabel, to the existing xticks and xticklabels (that are automatically displayed by matlab)?
For example, in the following x-axis, I would like to add the xtick "x=5" and the corresponding xticklabel "5":
plot(1:50)
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Axis Labels 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!