Adds a 2-dimensional scatter plot to an existing graph.
plotAddScatter([myPlot, ]x, y)¶
myPlot (struct) – Optional argument. A
x (Nx1 or NxM matrix) – Each column contains the X values for a particular data point.
y (Nx1 or NxM matrix) – Each column contains the Y values for a particular data point.
plotAddScatter() may only add a scatter plot to 2-D graphs.
This function will not change any of the current graph’s settings other than to resize the view as necessary to display the new curve.