MATLAB: Scatterplot

Communications Toolboxhandle graphicsscatterplot

is there any way to get the (x,y) coordinates of a scatterplot.

Best Answer

You have to dig down a couple of layers to find the data:
h = scatterplot(rand(20,2));
h = get(h,'Children');
h = get(h,'Children');
x = get(h,'xdata');
y = get(h,'ydata');