*Category() - HyperView

Sets the category override information.

Syntax

*Category (value, label, rgb)

Application

HyperView

Inputs

value
The numerical value to assign a category to.
label
The label to assign the category.
rgb
An RGB color value for the category.

Context

*BeginContour()

*BeginCategoryOverride()

Example

*BeginGraphicDefaults() 
	*BeginCategoryOverride("Contact Status")
		*Category(3, "Frozen", "255 0 0")
		*Category(2, "ClosedStick", "255 165 0")
		*Category(1, "ClosedSlip", "0 255 0")
		*Category(0, "Open", "0 0 255")
		*Category("N/A", "No Result", "192 192 192")
	*EndCategoryOverride()
*EndGraphicDefaults()

Comments

Category overrides can be used to show results that are represented as discrete numerical values using a custom category legend as opposed to a numerical legend.

See the *BeginCategoryOverride() Preference File statement for additional details on setting custom category overrides.