Adds a frequency histogram to an existing graph.
plotAddHistF([myPlot, ]f, c)¶
myPlot (struct) – Optional argument. A
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.
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.