plotAddScatter#

Purpose#

Adds a 2-dimensional scatter plot to an existing graph.

Format#

plotAddScatter([myPlot, ]x, y)#
Parameters:
  • myPlot (struct) – Optional argument. A plotControl structure.

  • 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.

Remarks#

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.