- You remove the ticks: set(gca, 'ytick', []), but this way you would also see no grid lines.
- Remove the labels: set(gca, 'yticklabel', [])
Help with plot in matlab
2 次查看(过去 30 天)
显示 更早的评论
Hello, I have a simple question: I need to plot two vectors x and y as a function y=f(x), i.e. plot(x,y). I want the y numerical values not to appear on the vertical axis: how can I do that? Thanks
0 个评论
采纳的回答
Titus Edelhofer
2015-1-8
Hi,
two possibilities:
Titus
更多回答(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!