how to get/extract x,y values from scatter function
Mostrar comentarios más antiguos
Hi,
I am currently plotting the X,Y coordinates using scatter function as below.
scatter(x(:,1),x(:,2),[],x(:,3),'filled')
I would like to get the x,y value which is being plotted with different colors, could you please do help me out here.
thank you.
Respuesta aceptada
Más respuestas (1)
darova
el 4 de Mzo. de 2020
Use handle
h = scatter(..)
get(h,'xdata')
1 comentario
SatyaPrakash Gupta
el 5 de Mzo. de 2020
Categorías
Más información sobre Color and Styling 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!