ReferenceregionBetweenCurves

<regionBetweenCurves>

<regionBetweenCurves> is a Graphical component that renders a shaded region on a graph between a specified function and the xx-axis.

Attributes and Properties

Attributes for <regionBetweenCurves>
AttributeTypeValues
applyStyleToLabel = "…"boolean"true" "false"
boundaryValues = "…"numberList
flipFunctions = "…"boolean"true" "false"
labelIsName = "…"boolean"true" "false"
layer = "…"integer
Props for <regionBetweenCurves name="r">
PropertyType
$r.applyStyleToLabelboolean
$r.boundaryValuesnumberList
$r.disabledboolean
$r.fixedboolean
$r.fixLocationboolean
$r.flipFunctionsboolean
$r.hiddenboolean
$r.labellabel
$r.labelIsNameboolean
$r.layerinteger
$r.styleDescriptiontext
$r.styleDescriptionWithNountext

Example: Render shading between two functions

The <regionBetweenCurves> component shades in the region between two functions ff and gg over a specified interval.


Attribute Example: flipFunctions

The flipFunctions attribute reflects the functions considered for the shading of the region about the line y=xy=x. The original functions remain unchanged.

Note: In order to render the reference function as “flipped”, you must use the <curve> component with the flipFunction attribute, as shown in the second graph.


Attribute Example: boundaryValues

The boundaryValues attribute accepts a list of xx-values or numerical references that define the endpoints of the shaded interval.


Attribute Example: styleNumber

The <regionBetweenCurves> component accepts the styleNumber attribute. Default styleNumbers range from 11 to 66.


Property Example: styleDescription/ styleDescriptionWithNoun

Since users can override styles and so may see different colors and line styles, don’t directly refer to the colors and line styles you create. Instead, use the properties styleDescription and styleDescriptionWithNoun. With those properties, the text will change to match the displayed styles.