How to create cirlces in matlab?
조회 수: 1 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
채택된 답변
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.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File 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!