How do I manually input a group of coordinates, then add them to a scatter plot?

3 views (last 30 days)
This is probably basic but I can't find it in the tutorials. I simply want to graph a scatter-plot on an xy coordinate plane. I have a group of random data points, like (0,2.4), (2,4.65), etc etc..
What is the most efficient way to input the data points, and then graph them... do I have to enter them all individually and then do a separate scatter(x,y) for every point?
As a secondary question, is there a way to edit, for example, color of the all data points, once they have already been plotted?
Thanks in advance.

Answers (1)

Nicolas Schmit
Nicolas Schmit on 13 Oct 2017
Use the scatter() command to create a scatter plot. After the plot is created, you can change its aspect by changing the Axes Properties.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!