residuals
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 withplane
#Attributes
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:valuecolour
Also written: colorColour.
Default
orangeDeclared 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.Default
false#Allowed in
#Examples
cue{
residuals(of: #trend; colour: orange)
}(
in: 1
)