plotAddHistF#

Purpose#

Adds a frequency histogram to an existing graph.

Format#

plotAddHistF([myPlot, ]f, c)#
Parameters:
  • myPlot (struct) – Optional argument. A plotControl structure.

  • f (Nx1 vector) – frequencies to be graphed.

  • c (Nx1 vector) – numeric labels for categories. If this is a scalar 0, a sequence from 1 to rows(f) will be created.

Remarks#

plotAddHistF() may only add a histogram 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.