viscircles - How to flip dashed line?

Hi,
I'm using viscircles to draw a circle with the dashed line property. The problem is one specific dash line interefers with a data point (the circle is stack backwards, but its color and the data color both have red hue).
Is there a way to flip the dashed line, so where it is blank it would be red and viceversa?
Thanks.

2 件のコメント

KALYAN ACHARJYA
KALYAN ACHARJYA 2021 年 2 月 5 日
Please attach the sample image
yonatan s
yonatan s 2021 年 2 月 6 日
Attached.

サインインしてコメントする。

 採用された回答

Walter Roberson
Walter Roberson 2021 年 2 月 6 日

0 投票

h = viscircles([.5,.5], 1, 'LineStyle', '--', 'color', 'r');
nc1 = h.NodeChildren(1);
set(nc1, 'XData', fliplr(nc1.XData), 'YData', fliplr(nc1.YData))

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

製品

リリース

R2020b

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by