Matlab scatter plot help


by Poisonous
Tags: matlab, plot, scatter
Poisonous
Poisonous is offline
#1
Mar7-11, 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.
Phys.Org News Partner Science news on Phys.org
Better thermal-imaging lens from waste sulfur
Hackathon team's GoogolPlex gives Siri extra powers
Bright points in Sun's atmosphere mark patterns deep in its interior
caffenta
caffenta is offline
#2
Mar7-11, 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