How to create cirlces in matlab?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Akzeptierte Antwort
KSSV
am 29 Jun. 2021
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 Kommentar
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!