histf

Purpose

Graphs a histogram given a vector of frequency counts. Note: This function is for use with the deprecated PQG graphics. Use plotSetHistF instead.

Library

pgraph

Format

histf(f, c)
Parameters:
  • 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 xlabel() for the category axis and ylabel() for the frequency axis.

Source

phist.src

See also

Functions hist(), bar(), xlabel(), ylabel()