How to add markers to a single line in plotyy
5 次查看(过去 30 天)
显示 更早的评论
I am trying to add markers to a single line on my plotyy.
plotyy(newtime1,AnInput1f,SPMnewtime,SPM)
I would like to add them at every SPM value (8 in all) I have read the manual but I am still very confused!
采纳的回答
Konstantinos Sofos
2015-3-19
编辑:Konstantinos Sofos
2015-3-19
Hi,
Here's one way:
[ax h1 h2] = plotyy(newtime1,AnInput1f,SPMnewtime,SPM)
set(h1,'Marker','.','MarkerSize',8)
set(h2,'Marker','s','MarkerSize',8)
Regards,
1 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Two y-axis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!