Register to reply 
Matlab scatter plot help 
Share this thread: 
#1
Mar711, 06:04 PM

P: 26

I have a scatter plot of data already created. I want to add a different colored point to the plot at specific coordinates. How can I do this? I tried using hold on, plotting my data, then writing scatter(1,0,r) hold off to plot a red point at (1,0) but its not working.



#2
Mar711, 08:50 PM

P: 163

You're missing the size parameter. The scatter function goes: scatter(X, Y, S, C).
If you want the standard size, use []. 


Register to reply 
Related Discussions  
3d plot in matlab  General Engineering  6  
BER plot using matlab  Math & Science Software  0  
3D plot in Matlab  General Discussion  0  
3D Matlab plot  Math & Science Software  4  
Matlab Plot  Engineering, Comp Sci, & Technology Homework  1 