h = scatter([x1 x2 x3; y1,y2,y3])
I have tried using the following code but it changes the the color of all the data points. I thought it would set the first point stored in the array to red instead of all the points.
set(h([1]),'CData',[1 0 0])
colorhandles
h = scatter([x1 x2 x3; y1,y2,y3])
set(h([1]),'CData',[1 0 0])
Best Answer