How to find the center point in this plot?
Mostrar comentarios más antiguos
This is my plot. How to find the center point available in this plot?

4 comentarios
Walter Roberson
el 12 de Feb. de 2013
Do you want the center of mass, or do you want the mid-point of the x and y values ?
the cyclist
el 12 de Feb. de 2013
Do you have
- Only the image?
- The figure window actively open in MATLAB?
- The data in the workspace from which the figure was created?
Sabarinathan Vadivelu
el 13 de Feb. de 2013
Editada: Sabarinathan Vadivelu
el 13 de Feb. de 2013
Sabarinathan Vadivelu
el 13 de Feb. de 2013
Respuesta aceptada
Más respuestas (1)
Thorsten
el 12 de Feb. de 2013
x = rand(1,100);
y = rand(1,100);
plot(x, y, 'r*')
hold on
plot(mean(x), mean(y), 'k*', 'MarkerSize', 20)
2 comentarios
Sabarinathan Vadivelu
el 13 de Feb. de 2013
Cameron Burgoni
el 9 de Abr. de 2018
Did you ever figure this out?
Categorías
Más información sobre Line Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!