how to get coordinates of a marker
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Habtamu Tesfaw
il 25 Giu 2020
Commentato: Habtamu Tesfaw
il 25 Giu 2020
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/321844/image.jpeg)
How can I get the x and y coordinates of the points on the circle. the center of the circle is at (346,278). I ploted the circle using the following command.
plot(346,278,'Marker','o','color','k','Markersize',20).
Thank you for your help
2 Commenti
Risposta accettata
KSSV
il 25 Giu 2020
You can plot your required circle given center and radius using the below method.
C = [346 278] ; % Center of the circle
R = 0.5 ; % Radius
th = linspace(0,2*pi) ;
x = C(1)+R*cos(th) ;
y = C(2)+R*sin(th) ;
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Surface and Mesh Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!