Matlab scatter plot help

  1. 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. jcsd
  3. You're missing the size parameter. The scatter function goes: scatter(X, Y, S, C).

    If you want the standard size, use [].
     
Know someone interested in this topic? Share this thead via email, Google+, Twitter, or Facebook

Have something to add?