Adds a percent histogram to an existing graph.
plotAddHistP([myPlot, ]x, v)¶
myPlot (struct) – Optional argument. A
x (Mx1 vector) – data
v (Nx1 vector or scalar) –
the breakpoints to be used to compute the frequencies.
the number of categories.
plotAddHistP() 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.