How can I easily mark data points in a plot?
5 次查看(过去 30 天)
显示 更早的评论
I would like to mark significant data points in a plot with an asterisk.
Is there an easy way to do that or do I have to use "text()" and manually shift the asterisk to a position next to the data point?
1 个评论
Sara
2014-7-18
Can't you just replot them? You can use
hold on
plot(x,y,'*')
where x,y are ONLY the significant points.
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!