Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Matlab scatter plot help

  1. Mar 7, 2011 #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. Mar 7, 2011 #2
    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 thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Matlab scatter plot help
  1. Matlab 3D Scatter Plot (Replies: 4)

  2. Help with MatLab plot (Replies: 0)

  3. MATLAB: Plotting help (Replies: 2)