TableHistogram
Create a table histogram plot for 1D and 2D plot groups.
Syntax
model.result(<pgtag>).create(<ftag>,"TableHistogram");
model.result(<pgtag>).feature(<ftag>).set(property,<value>);
model.result(<pgtag>).feature(<ftag>).run();
Description
model.result(<pgtag>).create(<ftag>,"TableHistogram") creates a table histogram plot feature named <ftag> belonging to the plot group <pgtag>.
Table histograms are used to visualize the distribution of the range of data taken from a table or evaluation group. The result is a plot with the data range on the x-axis and the data length, area, or volume on the y-axis. Such histogram plots can be added to 1D plot groups. In 2D histograms, which you can add to 2D plot groups, the x-axis and y-axis represent the values of two quantities (as a number of bins or a range of values), and the color surface represents the count of the total element volume in each “bin”.
The following properties are available:
custom | black | blue | cyan | gray | green | magenta | red | white | yellow
default | long
The color cycle, when linecolor is set to cycle. With default, it contains 7 colors; with long, it contains 19 colors.
The color table to use when linecolor is set to cyclecolortable. See Color Tables for a list of color tables.
{1,0,0} or last used color
The uniform color to use. Active when bottomcolor is set to custom.
{0,0,1} or last used edgecolor
{1,0,0} or last used color
The uniform color to use. Active when topcolor is set to custom.
auto | manual
The length of color cycle when linecolor is cyclegradient.
on | off
on | off
The evaluation group to take the data from, when source is set to evaluationgroup.
continuous | discrete
custom | cycle | cyclereset | cyclecolortable | cyclegradient | fromtheme | black | blue | cyan | gray | green | magenta | red | white | yellow
How to color the lines in the graph. Cycle indicates that the colors is different for each line. Use cyclereset to restart the cycling of colors from the first color. Use fromtheme to take the color from the selected color theme.
double | preference
none | cycle | asterisk | circle | diamond | plus | point | square | star | triangle
none | cycle | solid | dotted | dashed | dashdot
auto | integral | count
The measure for evaluation of the histogram data. Choose integral for volume-based data; choose count of element-based data. auto is count for Mesh datasets; integral otherwise.
limit | number
integralsum | integralscaled | none | peak
on | off
Whether to use the manual color range specified in rangecolormin and rangecolormax. The color range specifies the minimum and maxim value in the plotted colors. Default is the minimum and maximum data values. This and other range settings are available for 2D Histogram plots.
table | evaluationgroup
The title to use when titletype is manual.
auto | custom | label | manual | none
auto, if the title should be computed automatically. custom, if the title should be computed automatically, but customized. label, if the title should be the plot group’s label. manual, if the manual title should be used (the title property). none, if no title should be displayed.
custom | black | blue | cyan | gray | green | magenta | red | white | yellow
curve | solid
Use a filled histogram (solid) or a histogram drawn using lines (curve). This property is only available when function is discrete.
on | off
on | off
Attributes
Height, AberrationHeight, HistogramHeight, TableHeight (2D only); Transparency (if a height attribute is used)
See Also
Histogram, MatrixHistogram