<parabola>
<parabola>
is a Graphical
component that renders a parabola when nested inside a <graph>
component.
Attributes and Properties
Attribute | Type | Values |
---|---|---|
applyStyleToLabel = "…" | boolean | "true" "false" |
displayDecimals = "…" | integer | |
displayDigits = "…" | integer | |
displaySmallAsZero = "…" | number | |
draggable = "…" | boolean | "true" "false" |
extrapolateBackward = "…" | boolean | "true" "false" |
extrapolateForward = "…" | boolean | "true" "false" |
flipFunction = "…" | boolean | "true" "false" |
labelIsName = "…" | boolean | "true" "false" |
labelPosition = "…" | text | "upperright" "upperleft" "lowerright" "lowerleft" "top" "bottom" "left" "right" |
layer = "…" | integer | |
nearestPointAsCurve = "…" | "true" "false" | |
numDiscretizationPoints = "…" | number | |
padZeros = "…" | boolean | "true" "false" |
periodic = "…" | boolean | "true" "false" |
showCoordsWhenDragging = "…" | boolean | "true" "false" |
splineForm = "…" | text | "centripetal" "uniform" |
splineTension = "…" | number | |
through = "…" | ||
vertex = "…" | [ math ] |
Property | Type |
---|---|
$p.a | number |
$p.applyStyleToLabel | boolean |
$p.b | number |
$p.c | number |
$p.disabled | boolean |
$p.displayDecimals | integer |
$p.displayDigits | integer |
$p.displaySmallAsZero | number |
$p.draggable | boolean |
$p.equation | math |
$p.extrapolateBackward | boolean |
$p.extrapolateForward | boolean |
$p.fixed | boolean |
$p.fixLocation | boolean |
$p.flipFunction | boolean |
$p.hidden | boolean |
$p.label | label |
$p.labelIsName | boolean |
$p.labelPosition | text |
$p.layer | integer |
$p.numDiscretizationPoints | number |
$p.padZeros | boolean |
$p.parMax | number |
$p.parMin | number |
$p.periodic | boolean |
$p.showCoordsWhenDragging | boolean |
$p.splineForm | text |
$p.splineTension | number |
$p.styleDescription | text |
$p.styleDescriptionWithNoun | text |
$p.throughPoints | [ math ] |
$p.vertex | [ math ] |
Example: Default <parabola>
The default <parabola>
renders the graph of the equation . It is not draggable.
Example: <parabola>
passing through 3 points
A <parabola>
can be rendered when 3 throughPoints are specified with the through
attribute.
Example: <parabola>
with vertex and throughPoint
A <parabola>
can be rendered by specifying the vertex
and a single throughPoint.
Attribute Example: through
The through
attribute specifies a point or points the parabola passes through.
Attribute Example: vertex
The vertex
attribute specifies the maximum or minimum point on the parabola.
Example: flipFunction
The flipFunction
attribute is used to define a quadratic function in .
Attribute Example: Standard graphical attributes
The uses of the following standard graphical attributes are illustrated: hide
, layer
, styleNumber
, applyStyleToLabel
and labelIsName
.
Property Example: Style properties
The styleDescription
and styleDescriptionWithNoun
properties render a text description corresponding to the styleNumber
of the component.
Property Example: a, b, c
The a, b
and c
properties return the coefficients of the parabola’s equation in general form.