plotHistF

Purpose

Graphs a histogram given a vector of frequency counts.

Format

plotHistF([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

The axes are not automatically labeled. Use the functions plotSetXLabel() and plotSetYLabel().

See also

Functions plotHist(), plotBar(), plotSetXLabel()