How to create cirlces in matlab?

조회 수: 1 (최근 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 CenterFile Exchange에서 Creating, 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