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

3 次查看(过去 30 天)
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.

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Scatter Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by