How to create cirlces in matlab?

2 ビュー (過去 30 日間)
Andrea Miceli
Andrea Miceli 2021 年 6 月 29 日
編集済み: KSSV 2021 年 6 月 29 日
Hi everyone, I was wondering if there is any possibility of making a chart like this on matlab (this one I entered). Also including arrows.

採用された回答

KSSV
KSSV 2021 年 6 月 29 日
YEs you can draw such circles, using:
th = linspace(0,2*pi) ;
r = 1;
c = [ 0 0] ;
x = c(1)+r*cos(th) ;
y = c(2)+r*sin(th) ;
patch(X,y,'r')
Also you can show them by using markers, you can give the markers size, color and shape.
To draw arrow read about quiver, annotation.
  1 件のコメント
Andrea Miceli
Andrea Miceli 2021 年 6 月 29 日
編集済み: KSSV 2021 年 6 月 29 日
KSSV thank you so much. I was wondering if you could help me also on this one . No need of a code, just some infomation about it.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by