ReferencesubsetOfReals

<subsetOfReals>

Defines an interval or a subset on the number line.

Attributes and Properties

Attributes for <subsetOfReals>
AttributeTypeValues
anchor = "…"point
createIntervals = "…"boolean"true" "false"
createVectors = "…"boolean"true" "false"
displayBlanks = "…"boolean"true" "false"
displayDecimals = "…"integer
displayDigits = "…"integer
displayMode = "…"text"intervals" "inequalities"
displaySmallAsZero = "…"number
draggable = "…"boolean"true" "false"
expand = "…"boolean"true" "false"
format = "…"text"text" "latex"
functionSymbols = "…"textList
layer = "…"number
padZeros = "…"boolean"true" "false"
parseScientificNotation = "…"boolean"true" "false"
positionFromAnchor = "…"text"upperright" "upperleft" "lowerright" "lowerleft" "top" "bottom" "left" "right" "center"
renderMode = "…"text
simplify = "…"text"none" "full" "numbers" "numberspreserveorder"
sourcesAreFunctionSymbols = "…"
splitSymbols = "…"boolean"true" "false"
unordered = "…"boolean"true" "false"
variable = "…"
Props for <subsetOfReals name="s">
PropertyType
$s.anchorpoint
$s.backgroundColortext
$s.createIntervalsboolean
$s.createVectorsboolean
$s.displayBlanksboolean
$s.displayDecimalsinteger
$s.displayDigitsinteger
$s.displayModetext
$s.displaySmallAsZeronumber
$s.draggableboolean
$s.expandboolean
$s.formattext
$s.functionSymbolstextList
$s.intervals[ math ]
$s.isNumberboolean
$s.isNumericboolean
$s.isolatedPoints[ math ]
$s.latexlatex
$s.layernumber
$s.list[ math ]
$s.matrix[ math ]
$s.matrixSizenumberList
$s.numbernumber
$s.numColumnsinteger
$s.numDimensionsinteger
$s.numListItemsinteger
$s.numRowsinteger
$s.padZerosboolean
$s.parseScientificNotationboolean
$s.points[ math ]
$s.pointsClosed[ boolean ]
$s.positionFromAnchortext
$s.renderModetext
$s.simplifytext
$s.splitSymbolsboolean
$s.texttext
$s.textColortext
$s.textStyleDescriptiontext
$s.unorderedboolean
$s.valuemath
$s.vector[ math ]
$s.xmath
$s.ymath
$s.zmath

Example: minimum <subsetOfReals>

A subset of the number line can be defined by enclosing either an inequality in xx, or an interval, within the <subsetOfReals> component. The default rendering mode is interval notation.


Example: set builder notation, variable and predicate

A <subsetOfReals> can be defined using set builder notation with variable and predicate. When defined in this manner, the variables attribute is not required.


Example: displayMode

The displayMode can be specified as intervals or inequalities, regardless of the manner in which the subset is entered. The default mode is intervals.


Example: simplify

The simplify attribute can be used to simplify inequalities and intervals defined with <subsetOfReals>.


Example: variable

When defining a <subsetOfReals> using interval or inequality notation, the default variable is xx. Use the variable attribute to define a subset with a different variable.