how to get coordinates of a marker
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Habtamu Tesfaw
el 25 de Jun. de 2020
Comentada: Habtamu Tesfaw
el 25 de Jun. de 2020

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 comentarios
Respuesta aceptada
KSSV
el 25 de Jun. de 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) ;
Más respuestas (0)
Ver también
Categorías
Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!