residuals

residualsNode

Dashed drops from each of a fit's own observations to the fitted curve. of: names the fit; omitted, it takes the graph's only fit, and a graph with more than one has to be told which.

Only withxyplane

#Attributes

ofImplicit
The fit to measure from, by its id — residuals(of: #trend). The points drawn are that fit's own. Omitted, it takes the graph's only fit.Can be written as shorthand: residuals:value
colourAnimatable
neutralredorangeyellowgreentealbluepurplepinkgreywhiteblack
Also written: colorColour.
Defaultorange
widthAnimatable
Stroke width.
Default1.5
hiddenAnimatable
Declared but not drawn. Animatable — hidden: true !cue.to{false}(at: 2) reveals it — and unlike a cue, a hidden element still frames the plot, so the axes do not jump when it appears.
Defaultfalse
Also written: lockedKeeps the reader from editing this element on an editable: graph. Nothing at all on a graph that is not editable.
Defaultfalse

#Allowed in

#Examples

cue{
    residuals(of: #trend; colour: orange)
}(
    in: 1
)