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

3 visualizaciones (últimos 30 días)
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.

Respuestas (1)

Nicolas Schmit
Nicolas Schmit el 13 de Oct. de 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.

Categorías

Más información sobre Scatter Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by