I have some blue and red points located on a line with a center at solid white circle (attached screen shot). I want to rotate these points around the center by 360 degree with a desired incerement(e.g. 5 degree) while keeping the color of the points as they are. it should end up with 2d map in a circle with red and blue points.
Many thanks for any advice!

 採用された回答

Matt J
Matt J 2022 年 10 月 24 日
編集済み: Matt J 2022 年 10 月 24 日

1 投票

You can imitate the following example.
h=plot(1:5,'--x');
center=[2,2,0];
for i=1:10:360
rotate(copyobj(h,h.Parent),[0,0,1],i,center);
end

1 件のコメント

Ham Man
Ham Man 2022 年 10 月 25 日
Thank you!

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

その他の回答 (0 件)

タグ

質問済み:

2022 年 10 月 24 日

コメント済み:

2022 年 10 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by