Plot with points as hollow circles without line through them

25 ビュー (過去 30 日間)
Caleb Rosenberg
Caleb Rosenberg 2022 年 9 月 2 日
移動済み: Rik 2022 年 9 月 2 日
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

採用された回答

Dyuman Joshi
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 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by