|
Contents | Previous | Next | Subchapters |
| Syntax |
[y, ry] = tphist(x, K) |
[y, ry] = tphist(x, K, relativeFrequencies) | |
| See Also | tpplot , tpput |
tphist function
will determine the bin count automatically. If present,
the argument relativeFrequencies, must equal
true, and specifies that relative frequencies should
be plotted.
The returned value y is the calculated frequency vector,
and the returned argument ry is the relative frequency vector.
r = snormal(128000,1)
tphist(r, 40);
Tecplot will create the following histogram plot for the
normal distribution, r.
If you continue the example above by entering
tpframe("Relative Frequencies")
tphist(r, 30, true);
Tecplot will create a histogram plot for the relative frequencies