Adds a box graph to an existing graph.


plotAddBox([myPlot, ]grp, y)
  • myPlot (struct) – Optional argument. A plotControl structure
  • grp (1xM vector) – contains the group numbers corresponding to each column of y data. If scalar 0, a sequence from 1 to cols(y) will be generated automatically for the x-axis.
  • y (NxM matrix) – Each column represents the set of y values for an individual percentiles box symbol.


plotAddBox() may only add a box graph 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.