vector
An arrow from (x, y) along (dx, dy). dx is the implicit attribute, and the tail sits at the origin unless x and y move it.
#Attributes
On any plane
colour
Also written: colorColour.
Default
greenText drawn beside the element — rich text, so
$maths$ and inline formatting render. Fades and draws with the element.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.Default
falseAlso written: lockedKeeps the reader from editing this element on an
editable: graph. Nothing at all on a graph that is not editable.Default
falseOnly withplane
X component. Cartesian on the ordinary and polar planes alike; on the argand plane the displacement is
z:.Can be written as shorthand: vector:valueY component. Cartesian on the ordinary and polar planes alike; on the argand plane the displacement is
z:.Only withplane
X component. Cartesian on the ordinary and polar planes alike; on the argand plane the displacement is
z:.Can be written as shorthand: vector:valueY component. Cartesian on the ordinary and polar planes alike; on the argand plane the displacement is
z:.Only withplane
On the argand plane, the number the arrow IS — a complex expression (
3 + 2i, (1 + i)^2, e^(i * a), i the unit) drawn from the tail out by this displacement. dx/dy are not read there.Only withplane
X component. Cartesian on the ordinary and polar planes alike; on the argand plane the displacement is
z:.Can be written as shorthand: vector:valueY component. Cartesian on the ordinary and polar planes alike; on the argand plane the displacement is
z:.#Allowed in
#Examples
vector(x: 0; y: 0; dx: 3; dy: 2)vector(x: -1; y: -1; dx: 2; dy: 1; dashed: true)