Plot with points as hollow circles without line through them
26 次查看(过去 30 天)
显示 更早的评论

I am trying to recreate this plot in MATLAB. This is what I have so far.

I was wondering how to make the circle points not have the lines through them as shown in the first plot. Thank you
0 个评论
采纳的回答
Dyuman Joshi
2022-9-2
移动:Rik
2022-9-2
One way is to color the inside of the marker white.
%random data
x=0:0.1:2*pi;
plot(x,sin(x),'o-', 'MarkerFaceColor', 'w')
0 个评论
更多回答(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!
