Plot and geometry notation
Everything you can write in a ```plot or ```geometry block: symbols, functions, options, constructions and limits.
Expressions
How values are written, in both kinds of block.
| Written | Also written | Meaning |
|---|---|---|
a; b | Several statements on one line. A statement continues on the next line only inside brackets, when that line is indented or starts with ) or ,. | |
# note | A comment, to the end of the line. | |
1.5 | .51e-3 | A number. The decimal separator is always a dot; a comma separates values. |
"text" | Text, on one line, at most 200 characters. \" is a quote inside it. | |
2x | 2 x2pi | A product written without *: 2 sin(x), (x + 1)(x − 1), a b. xy is one name, not x times y. |
-x^2 | A minus binds looser than a power, as in maths: -(x^2). | |
2^3^2 | Powers group from the right: 2^9. | |
|x - 1| | Absolute value in a plot. In a geometry block, |AB| is a length.plot only | |
30 deg | Degrees in a plot, turned into radians where they are used. A geometry angle is in degrees already.plot only | |
sin^2(x) | A power written on a function's name is a power of its value: sin(x)^2. | |
sin^-1(x) | -1 written on a trigonometric or hyperbolic function, exp or ln, is its inverse: asin(x). | |
f'(x) | f''(x)sin'(x) | The first derivative of a function of one variable, builtin or the block's own; f''(x) the second.plot onlyf(x) = sin(x) + x/4 f'(x) dashed |
log_2(x) | log_10(x) | The logarithm to a whole-number base. |
x^2 if x < 0, 2x otherwise | A piecewise definition: the first branch whose condition holds, else the last value, else a gap.plot onlyf(x) = x^2 if x < 0, 2x otherwise | |
0 <= x < 2 | A condition: comparisons with < <= > >=, chained, all of which must hold.plot only |
Functions
A function needs brackets: cos(x), never cos x.
| Written | Also written | Meaning |
|---|---|---|
sin(x) | Sine of an angle in radians. | |
cos(x) | Cosine of an angle in radians. | |
tan(x) | tg(x) | Tangent, sin(x) / cos(x). |
cot(x) | cotg(x)ctg(x) | Cotangent, 1 / tan(x). |
sec(x) | Secant, 1 / cos(x). | |
csc(x) | cosec(x) | Cosecant, 1 / sin(x). |
asin(x) | arcsin(x) | Inverse sine, from −π/2 to π/2. |
acos(x) | arccos(x) | Inverse cosine, from 0 to π. |
atan(x) | arctan(x)arctg(x) | Inverse tangent, from −π/2 to π/2. |
acot(x) | arccot(x)arccotg(x)arcctg(x) | Inverse cotangent, from 0 to π and continuous through 0. |
asec(x) | arcsec(x) | Inverse secant, acos(1/x). |
acsc(x) | arccsc(x)arccosec(x) | Inverse cosecant, asin(1/x). |
atan2(y, x) | The angle of the point (x, y) seen from the origin, from −π to π. | |
sinh(x) | Hyperbolic sine. | |
cosh(x) | Hyperbolic cosine. | |
tanh(x) | tgh(x) | Hyperbolic tangent. |
coth(x) | cotgh(x) | Hyperbolic cotangent, 1 / tanh(x). |
sech(x) | Hyperbolic secant, 1 / cosh(x). | |
csch(x) | cosech(x) | Hyperbolic cosecant, 1 / sinh(x). |
asinh(x) | arsinh(x)argsinh(x)arcsinh(x) | Inverse hyperbolic sine. |
acosh(x) | arcosh(x)argcosh(x)arccosh(x) | Inverse hyperbolic cosine, for x ≥ 1. |
atanh(x) | artanh(x)argtanh(x)arctanh(x)artgh(x) | Inverse hyperbolic tangent, for −1 < x < 1. |
acoth(x) | arcoth(x)argcoth(x)arccoth(x)arcotgh(x) | Inverse hyperbolic cotangent, for |x| > 1. |
asech(x) | arsech(x)arcsech(x) | Inverse hyperbolic secant, for 0 < x ≤ 1. |
acsch(x) | arcsch(x)arccsch(x) | Inverse hyperbolic cosecant. |
exp(x) | e to the power x. | |
ln(x) | Natural logarithm. | |
log(x) | lg(x) | Logarithm to base 10. |
log2(x) | Logarithm to base 2. log_N(x) takes any whole-number base. | |
sqrt(x) | Square root. | |
cbrt(x) | Cube root, negative for a negative x. | |
nroot(x, n) | The n-th root, negative for an odd root of a negative x. | |
abs(x) | Absolute value. In a plot, |x| means the same. | |
floor(x) | The largest whole number not above x. | |
ceil(x) | The smallest whole number not below x. | |
round(x) | The nearest whole number. | |
sign(x) | sgn(x) | −1, 0 or 1, by the sign of x. |
min(a, b, …) | The smallest of 2 to 8 values. | |
max(a, b, …) | The largest of 2 to 8 values. | |
mod(a, b) | The remainder of a / b, never negative for a positive b. |
Constants
Names with a fixed value.
| Written | Also written | Meaning |
|---|---|---|
pi | π, half a turn in radians. | |
tau | τ = 2π, a whole turn in radians. | |
e | Euler's number, the base of ln. |
Lines in both blocks
Header lines, constants and points, the same in a plot and a geometry block.
| Written | Also written | Meaning |
|---|---|---|
title | A heading above the figure, and its accessible name.title "Parabola" | |
alt | The accessible name, when it should differ from the title.alt "A parabola opening upwards" | |
width | Narrower than the column, from 10% to 100% or 80px to 4000px; a plot is centred, a geometry figure starts at its left line.width 60% | |
let | A constant. Without a value, in a geometry block, an unknown the solver finds.let a = 2 | |
point | A dot: at a coordinate in a plot; in a geometry block, a named point, placed when = (x, y) follows. Takes a label, a colour and hide.point (pi/2, 1) label "max" | |
show | In a plot, marks with its coordinates every point where a curve crosses an axis (intercepts) or another curve (intersections). In a geometry block, labels every edge with its length or every polygon corner with its angle, or shows names again.show intercepts show intersections |
Plot lines
What a ```plot block draws.
| Written | Also written | Meaning |
|---|---|---|
sin(x) | A graph: any expression in x.plot only | |
y = 2x + 1 | The same, written as an equation.plot only | |
f(x) = x^2 | Defines f and draws it, labelled f(x). hide only defines it. A function of t is only defined.plot only | |
x = 2 | A vertical line.plot onlyy = x^2 / 2 x = 1 dashed | |
x = y^2 | A graph of x against y.plot onlySee examplesy: -3 .. 3 x = y^2 / 2 | |
x^2 + y^2 = 1 | An implicit curve: where both sides are equal. So are y = … y … and x = … x …. Features smaller than a cell are missed: narrow the range or raise samples.plot onlySee examplesx: -2 .. 2 y: -2 .. 2 x^2 + y^2 = 1 | |
x: -2pi .. 2pi | y: 0 .. 1t: 0 .. 2pix: label "time" | An axis line: its range, then label and ticks. The range is optional, so x: label "time" only names the axis. x runs from -10 to 10 without one; y fits the curves.plot only |
(cos(t), sin(2t)) | A parametric curve. Its parameter needs a range, except theta.plot onlyt: 0 .. 2pi (cos(t), sin(2t)) | |
r = 1 + cos(theta) | A polar curve. theta runs from 0 to 2pi unless theta: a .. b says otherwise.plot only | |
z(x, y) = x^2 - y^2 | z = x y | A surface over the x and y ranges, -3 to 3 without them. Any surface makes the plot 3D.plot onlySee examples |
(cos(t), sin(t), t/4) | A curve in space.plot onlySee examplest: 0 .. 4pi (cos(t), sin(t), t/4) | |
aspect | Width to height: a ratio, a number, or equal for one unit as long on both axes.plot onlyaspect 16:9 | |
view | A 3D plot, with the camera's turn and height in degrees, and perspective if wanted.plot onlySee examplesview 3d azimuth 30 elevation 25 |
Options
Words after a curve, a shape or a circle, in any order. Each line takes the options listed for it, the same word meaning the same in both blocks.
| Written | Also written | Meaning |
|---|---|---|
color | One of the colours below. Taken by: curve, plot point, point, segment, line, ray, polygon, triangle, circle, angle, column, chart line.sin(x) color red | |
label | Text for what the line draws: a curve's legend entry, an axis's name, a point's or a shape's own text. Taken by: curve, plot point, point, segment, line, ray, polygon, triangle, circle, angle, column, chart line.sin(x) label "wave" | |
width | Line width, 0.5 to 6. Taken by: curve, segment, line, ray, polygon, triangle, circle, chart line.sin(x) width 3 | |
dashed | A dashed line. Taken by: curve, segment, line, ray, polygon, triangle, circle, chart line.cos(x) dashed | |
dotted | A dotted line. Taken by: curve, segment, line, ray, polygon, triangle, circle, chart line.cos(x) dotted | |
hide | Defined but not drawn: a helper curve, or a helper point. Taken by: curve, plot point, point.g(x) = x^2 hide | |
samples | Samples for a curve (10–4000), or cells per side for a surface (4–60) or an implicit curve (10–160). Taken by: curve.x^2 + y^2 = 1 samples 120 | |
fill | A surface as shaded faces, the default; with a colour, a shape filled in it. Taken by: curve, polygon, triangle, circle.polygon ABC fill teal | |
wire | A surface as a wire mesh. Taken by: curve.z = x^2 - y^2 wire | |
right | In a chart, a series drawn against a second value axis on the right, for numbers of another size. Taken by: column, chart line.charts onlycategories A2:A5 column B2:B5 line D2:D5 right | |
azimuth | The 3D camera's turn about the vertical axis, in degrees.view 3d azimuth 30 | |
elevation | The 3D camera's height, from −90° to 90°.view 3d elevation 25 | |
ortho | Orthographic projection, the default.view 3d ortho | |
perspective | Perspective projection.view 3d perspective | |
ticks | The step between an axis's ticks.x: -2pi .. 2pi ticks pi/2 |
Geometry lines
A ```geometry block gives lengths, angles and relations, and the solver finds where the points go. Only shape lines draw.
| Written | Also written | Meaning |
|---|---|---|
A, B2, A' | Points are capital letters, then digits and primes. A run of capitals is a run of points: AB is two.geometry only | |
|AB| = 5 | The length from A to B. Like every relation, it places points and draws nothing: segment AB = 5 also draws the segment.geometry only | |
AB = 5 | The same: a name made of two points is their length, unless a constant has that name.geometry only | |
|CD| = 2|AB| | Any equation between lengths, angles, constants and unknowns.geometry only | |
AB : BC = 3 : 4 | AB : BC : CA = 3 : 4 : 5 | Lengths in proportion, any number of terms. a : b = k means k : 1.geometry onlytriangle ABC AB : BC = 3 : 4 CA = 5 |
AB parallel CD | AB || CD | Parallel lines.geometry only |
AB perp CD | Perpendicular lines.geometry only | |
P on k | P on AB | P lies on circle k, or on the line through two points: P on AB.geometry only |
A = (0, 0) | Fixes a point at a coordinate. point A = (0, 0) is the same, and takes a label and a colour.geometry only | |
let s | An unknown the solver finds, such as a side shared by |AB| = s and |BC| = s.geometry only | |
x: -1 .. 7 | y: -1 .. 5 | What the figure shows across, and y: up: kept as written, and grown only where a point falls outside. Moving a point writes them, so the figure stays framed as it was; fit takes them away.geometry onlyx: -1 .. 9 y: -1 .. 5 triangle ABC AB = 5; BC = 4 |
left | Where a geometry figure starts in a note's column, 0% to 90% of it from the left. Pulling the figure's left side writes it.geometry onlyleft 15% | |
text | A geometry figure's text size, 25% to 400% of the note's. Resizing the figure by its corner writes it, so the text keeps its size beside the drawing.geometry onlytext 75% | |
polygon | A filled shape through the points in order. Its corners are its plain angles when written counter-clockwise.geometry onlypolygon ABCD fill blue | |
triangle | A filled triangle.geometry onlytriangle ABC | |
segment | A segment between two points, with its length when = follows. Only shape lines draw: AB = 5 alone places A and B and draws nothing between them.geometry onlysegment AB = 5 label "c" | |
line | A line through two points, across the whole figure.geometry onlyline AB | |
ray | A ray from the first point through the second.geometry onlyray AB | |
hide | Leaves out every point's name.geometry onlyhide names | |
angle | The angle at B, marked with an arc, in degrees unless rad follows. It turns from ray BC round to ray BA counter-clockwise: under 180 means A, B, C run counter-clockwise, over 180 is the reflex angle, and angle CBA is the mirror image.geometry onlyangle ABC = 60 label "beta" |
Constructions
Points made from other points, written after P =.
| Written | Also written | Meaning |
|---|---|---|
M = midpoint(A, B) | Halfway between two points. midpoint(AB) is the same.geometry onlysegment AB = 6 M = midpoint(A, B) | |
G = centroid(ABC) | Where a triangle's medians meet.geometry onlytriangle ABC AB = 6; BC = 5; CA = 4 G = centroid(ABC) | |
I = incenter(ABC) | I = incentre(ABC) | The centre of the inscribed circle, equally far from every side.geometry onlytriangle ABC AB = 6; BC = 5; CA = 4 I = incenter(ABC) |
O = circumcenter(ABC) | O = circumcentre(ABC) | The centre of the circle through all three points, equally far from each.geometry onlytriangle ABC AB = 6; BC = 5; CA = 4 O = circumcenter(ABC) |
H = orthocenter(ABC) | H = orthocentre(ABC) | Where a triangle's altitudes meet.geometry onlytriangle ABC AB = 6; BC = 5; CA = 4 H = orthocenter(ABC) |
F = foot(C, AB) | The point on line AB nearest to C: the foot of the perpendicular from C.geometry onlytriangle ABC AB = 6; BC = 5; CA = 4 F = foot(C, AB) segment CF dashed | |
D = bisector(ABC) | Where the bisector of the angle at B meets AC.geometry onlytriangle ABC AB = 6; BC = 4; CA = 5 D = bisector(ABC) segment BD | |
P = AB intersect CD | Where lines AB and CD meet. intersect(AB, CD) is the same.geometry onlyA = (0, 0); B = (4, 3); C = (0, 3); D = (4, 0) line AB; line CD P = AB intersect CD |
Circles
A circle needs a centre and a size, or a triangle to pass through or sit inside.
| Written | Also written | Meaning |
|---|---|---|
circle k: center A, r = 2 | A circle by its radius. The name and the colon are optional.geometry only | |
circle center A, d = 4 | A circle by its diameter.geometry only | |
circle center A, through B | A circle through a point.geometry only | |
circle k: through ABC | The circle through three points. Its centre follows; center O names it.geometry onlytriangle ABC AB = 5; BC = 4; CA = 3 circle k: through ABC | |
circle k: incircle ABC | The circle touching a triangle's three sides. Its centre follows; center I names it.geometry onlytriangle ABC AB = 5; BC = 4; CA = 3 circle k: incircle ABC |
Charts
On a spreadsheet only: a chart is drawn from the spreadsheet's own cells, named by range, and redraws as they change. Its other lines and options are the ones above.
| Written | Also written | Meaning |
|---|---|---|
categories | The names along the chart's axis, or a pie's slices: one row or one column of cells, shown as the spreadsheet shows them.charts onlycategories A2:A5 column B2:B5 | |
column | A series of columns, one per category, from one row or one column of numbers. Several stand side by side.charts onlycategories A2:A5 column B2:B5 label B1 | |
line | A series drawn as a line with a dot at each value, over columns when there are any. A cell that is not a number leaves a gap.charts onlycategories A2:A5 line B2:B5 label B1 | |
pie | A pie of one series, a slice per category, which cannot share a chart with columns or lines.charts onlycategories A2:A5 pie B2:B5 | |
B2:B7 | B2 | Cells of the spreadsheet, one row or one column. They follow their cells: inserting or deleting rows and columns, or moving the cells, rewrites them.charts only |
label B1 | A series' or an axis's label from one cell, which follows what the cell says.charts onlycategories A2:A5 column B2:B5 label B1 | |
REF | Cells that were all deleted. The chart shows nothing for them until other cells are named.charts only | |
y: 0 .. 250 | The value axis: its range, label and ticks, each optional. y2 is the right-hand axis that right series use.charts onlycategories A2:A5 column B2:B5 y: 0 .. 250 label "EUR" ticks 50 | |
x: label "Quarter" | The category axis's label. Its names come from categories.charts onlycategories A2:A5 column B2:B5 x: label "Quarter" |
Reserved words
These cannot name anything. They end an expression, which is how options follow one on the same line.
| Written | Also written | Meaning |
|---|---|---|
about | A preferred value in place of =: AC about 5, angle ABC about 60, C about (3, 1). It holds only where the other lines leave the shape open, and is what moving a point writes.geometry only | |
alt | Starts the line giving the figure's accessible name. | |
angle | Starts a line marking an angle, and fixing it with = 60; inside an expression, the angle at B.geometry only | |
aspect | Starts the line setting a plot's width to height.plot only | |
azimuth | After view 3d: the camera's turn about the vertical axis.plot only | |
center | In a circle line, the point the circle is centred on: circle center A, r = 2.geometry only | |
circle | Starts a circle line. See Circles.geometry only | |
color | An option: draws a curve or a shape in one of the colours. | |
dashed | An option: draws the line dashed. | |
dotted | An option: draws the line dotted. | |
elevation | After view 3d: the camera's height, from −90° to 90°.plot only | |
fill | An option: fills a shape with a colour, or shades a surface's faces. | |
hide | An option: defines a curve or a point without drawing it. hide names leaves out every point's name. | |
if | In a piecewise definition, starts a branch's condition: x^2 if x < 0.plot only | |
label | An option: text for what a line draws, from a legend entry or an axis name to a point's or a shape's own label. | |
left | Starts the line saying where a figure begins in a note's column: left 15%.geometry only | |
let | Starts a constant, or in a geometry block an unknown the solver finds. | |
line | Starts a line through two points: line AB.geometry only | |
midpoint | The point halfway between two points: M = midpoint(A, B).geometry only | |
on | Puts a point on a circle or on a line through two points: P on k, P on AB.geometry only | |
ortho | After view 3d: orthographic projection, the default.plot only | |
otherwise | In a piecewise definition, marks the value used when no condition holds.plot only | |
parallel | Makes two lines parallel: AB parallel CD.geometry only | |
perp | Makes two lines perpendicular: AB perp CD.geometry only | |
perspective | After view 3d: perspective projection.plot only | |
point | Starts a line drawing a dot, at a coordinate in a plot or at a named point: point A = (0, 0). | |
polygon | Starts a filled shape through points in order: polygon ABCD.geometry only | |
rad | After an angle's value, reads it in radians rather than degrees: angle ABC = 1 rad.geometry only | |
ray | Starts a ray from one point through another: ray AB.geometry only | |
right | An option: draws a chart's series against a second value axis on the right.charts only | |
samples | An option: how finely a curve, a surface or an implicit curve is computed.plot only | |
segment | Starts a segment between two points, with its length after =: segment AB = 5.geometry only | |
show | Starts a line marking where curves cross the axes or each other, or labelling every drawn length or polygon corner, or showing names again. | |
text | Starts the line saying a figure's text size, as a share of the note's: text 75%.geometry only | |
through | In a circle line, a point the circle passes through, or three points it is drawn through.geometry only | |
ticks | After a range: the step between its ticks.plot only | |
title | Starts the line giving the figure a heading. | |
triangle | Starts a filled triangle: triangle ABC.geometry only | |
view | Starts the line making a plot 3D: view 3d.plot only | |
width | Starts the line setting the figure's width; as an option, a curve's line width. | |
wire | An option: draws a surface as a wire mesh.plot only |
Also accepted: symbols
Every example on this page is plain text. A symbol pasted from elsewhere still reads as the word beside it.
| Written | Also written | Meaning |
|---|---|---|
− | - | The same as -. |
· | * | The same as *. |
⋅ | * | The same as *. |
∙ | * | The same as *. |
∗ | * | The same as *. |
× | * | The same as *. |
÷ | / | The same as /. |
∕ | / | The same as /. |
∶ | : | The same as :. |
° | deg | The same as deg. |
º | deg | The same as deg. |
˚ | deg | The same as deg. |
∥ | || | The same as ||. |
‖ | || | The same as ||. |
… | .. | The same as ... |
≤ | <= | The same as <=. |
⩽ | <= | The same as <=. |
≥ | >= | The same as >=. |
⩾ | >= | The same as >=. |
⊥ | perp | The same as perp. |
⟂ | perp | The same as perp. |
∠ | angle | The same as angle. |
∡ | angle | The same as angle. |
∢ | angle | The same as angle. |
△ | triangle | The same as triangle. |
∩ | intersect | The same as intersect. |
√ | sqrt | The same as sqrt. |
∛ | cbrt | The same as cbrt. |
⁰ | ^0 | A raised digit or sign; a run of them is one power. |
¹ | ^1 | A raised digit or sign; a run of them is one power. |
² | ^2 | A raised digit or sign; a run of them is one power. |
³ | ^3 | A raised digit or sign; a run of them is one power. |
⁴ | ^4 | A raised digit or sign; a run of them is one power. |
⁵ | ^5 | A raised digit or sign; a run of them is one power. |
⁶ | ^6 | A raised digit or sign; a run of them is one power. |
⁷ | ^7 | A raised digit or sign; a run of them is one power. |
⁸ | ^8 | A raised digit or sign; a run of them is one power. |
⁹ | ^9 | A raised digit or sign; a run of them is one power. |
⁻ | ^- | A raised digit or sign; a run of them is one power. |
⁺ | ^+ | A raised digit or sign; a run of them is one power. |
′ | ' | A prime inside a name: A′ is the point A'. |
″ | '' | A prime inside a name: A′ is the point A'. |
Also accepted: Greek letters
A Greek letter reads as its name, so π is pi and 2πx is 2 · pi · x.
| Written | Also written | Meaning |
|---|---|---|
α | alpha | The name alpha. |
β | beta | The name beta. |
γ | gamma | The name gamma. |
δ | delta | The name delta. |
ε | epsilon | The name epsilon. |
ζ | zeta | The name zeta. |
η | eta | The name eta. |
θ | theta | The name theta. |
ι | iota | The name iota. |
κ | kappa | The name kappa. |
λ | lambda | The name lambda. |
μ | mu | The name mu. |
ν | nu | The name nu. |
ξ | xi | The name xi. |
π | pi | The name pi. |
ρ | rho | The name rho. |
σ | sigma | The name sigma. |
τ | tau | The name tau. |
υ | upsilon | The name upsilon. |
φ | phi | The name phi. |
χ | chi | The name chi. |
ψ | psi | The name psi. |
ω | omega | The name omega. |
Limits
Every limit bounds an amount of work, never a time, so a block draws the same on a phone as on the server.
| Written | Also written | Meaning |
|---|---|---|
8,000 | Characters in a block. | |
200 | Statements in a block. | |
64 | Nesting depth of one expression. | |
200 | Characters in a title, a label or alt text. | |
20 | Curves in one plot, or series in one chart. | |
64 | Points in one construction. | |
4,000 | Samples one curve may refine up to. | |
200 | Samples a curve starts from. | |
60 | Surface cells per side, at most. | |
32 | Surface cells per side, unless samples says otherwise. | |
80 | Implicit-curve cells along the longer side, unless samples says otherwise. | |
160 | Implicit-curve cells along the longer side, at most. | |
600,000 | Evaluations times call cost for all of a plot's implicit curves, shared equally. | |
1,000 | Calls of the block's own functions one value may make, counted through every call. | |
200 | Solver iterations from each starting layout. | |
4 | Starting layouts the solver tries before reporting a contradiction. | |
40 | Points one plot's show lines may mark. | |
400 | Steps each pair of curves is scanned in for crossings, before each is refined. | |
1,000 | Cells in one range of a chart. |
Colours
Named inks, which follow the theme. Curves without a colour take them in turn.
defaultinkredorangeamberlimegreentealcyanblueindigovioletpink
Messages
What the editor underlines, with its code. Errors stop a block from drawing; warnings and information do not.
| Code | Severity | Message |
|---|---|---|
F_UNEXPECTED_CHAR | error | “{char}” has no meaning here. |
F_UNTERMINATED_STRING | error | This text is missing its closing quote. |
F_BAD_NUMBER | error | “{text}” is not a number. |
F_EXPECTED | error | Expected “{expected}” here. |
F_EXPECTED_EXPRESSION | error | Expected a value or an expression here. |
F_EXPECTED_STRING | error | Expected text in quotes here. |
F_EXPECTED_NUMBER | error | Expected a number here. |
F_EXPECTED_NAME | error | Expected a name here. |
F_EXPECTED_POINT | error | Expected a point name here, such as A or AB. |
F_UNEXPECTED_TRAILING | error | The line should end before this. |
F_UNCLOSED_PAREN | error | This bracket is never closed. |
F_UNKNOWN_STATEMENT | error | A line cannot start with “{word}”. |
F_WRONG_FENCE | error | “{statement}” cannot be used in a {fence} block. |
F_UNKNOWN_OPTION | error | “{word}” is not an option here. |
F_OPTION_NOT_APPLICABLE | error | “{option}” does not apply to “{target}”, which takes {allowed}. |
F_DUPLICATE_OPTION | error | “{option}” is given twice. |
F_BAD_OPTION_VALUE | error | “{option}” must be {allowed}. |
F_UNKNOWN_COLOR | error | There is no colour called “{value}”. |
F_UNKNOWN_NAME | error | “{name}” is not defined. |
F_UNKNOWN_FUNCTION | error | There is no function called “{name}”. |
F_CALL_NEEDS_PARENS | error | “{name}” is a function: write what it applies to in brackets. |
F_NO_INVERSE | error | “{name}^-1” is an inverse only for the trigonometric and hyperbolic functions, exp and ln. For the reciprocal, write 1/{name}(…). |
F_BAD_DERIVATIVE | error | “{name}” is not a derivative that can be taken: only the first and second, f′ and f″, of a function of one variable. |
F_ARITY | error | Wrong number of values for “{name}”: it takes {expected}, this gives it {got}. |
F_RESERVED_NAME | error | “{name}” is a reserved word and cannot be used as a name. |
F_DUPLICATE_DEFINITION | error | “{name}” is already defined. |
F_CYCLE | error | These definitions depend on each other in a loop: {names}. |
F_NOT_CONSTANT | error | This has to be a fixed value, but it uses “{name}”. |
F_NOT_FINITE | error | This works out to infinity, or to no number at all. |
F_BAD_RANGE | error | A range runs from low to high; this one runs from {from} to {to}. |
F_STRING_TOO_LONG | error | Text here can be at most {max} characters long. |
F_DUPLICATE_HEADER | warning | “{statement}” is given twice; the first one is used. |
F_EMPTY | warning | Nothing to draw yet. |
L_SOURCE_TOO_LONG | error | This block is too long to draw. The limit is {max} characters. |
L_TOO_MANY_STATEMENTS | error | A block can hold at most {max} lines. |
L_TOO_DEEP | error | This expression is nested too deeply. The limit is {max} levels. |
L_TOO_MANY_SERIES | error | A plot can draw at most {max} curves, and a chart {max} series. |
L_TOO_MANY_POINTS | error | A figure can have at most {max} points. |
L_SAMPLES_CAPPED | warning | At most {max} samples are taken. |
L_GRID_CAPPED | warning | A surface grid has at most {max} cells a side. |
L_TOO_COSTLY | warning | This makes too many function calls to draw: at most {max} for each point. |
L_CROSSINGS_CAPPED | warning | At most {max} crossing points are marked; the rest are left out. |
P_RANGE_MISSING | error | “{name}” needs a range, such as “{name}: 0 .. 2pi”. |
P_FREE_VARIABLE | error | “{name}” has no value here. |
P_MIXED_DIMENSIONS | error | 2D and 3D curves cannot share one plot. |
P_TUPLE_ARITY | error | A curve has 2 or 3 coordinates, not {got}. |
P_AXIS_REDEFINED | error | The range of “{name}” is given twice. |
P_NO_FINITE_VALUES | warning | This draws nothing: it has no value anywhere in its range. |
P_IMPLICIT_EMPTY | warning | No point of this curve lies in the window: it may be outside it, or only touch zero without crossing it. |
P_VIEW_ANGLE | error | The elevation must be between −90° and 90°, not {value}°. |
P_ASPECT_CLAMPED | warning | The aspect ratio is kept between 1:4 and 4:1. |
P_SHOW_2D_ONLY | warning | Crossings are marked only in a 2D plot. |
G_BAD_POINT_NAME | error | “{name}” is not a point name. A point is a capital letter, optionally followed by digits or primes. |
G_SAME_POINT | error | “{name}” is used where two different points are needed. |
G_ANGLE_NEEDS_THREE | error | An angle is named by three points, such as ABC, and “{name}” is not. |
G_ANGLE_RANGE | error | An angle must be between 0° and 360°, not {value}°. |
G_NEGATIVE_LENGTH | error | A length must be more than zero, not {value}. |
G_RATIO_TERMS | error | The two sides of this ratio have {left} and {right} terms; they need the same number. |
G_UNKNOWN_CIRCLE | error | There is no circle called “{name}”. |
G_CIRCLE_RADIUS_MISSING | error | A circle needs a size: “r = …”, “d = …” or “through P”. |
G_POINT_REDEFINED | error | “{name}” is already placed elsewhere in this block. |
G_UNDERCONSTRAINED | information | The shape is not fully determined ({dof} free). Assumed: {assumed}. |
G_REDUNDANT | information | This already follows from the lines above it. |
G_TRIANGLE_INEQUALITY | error | No triangle fits: |{a}| is longer than |{b}| and |{c}| together. |
G_CIRCLES_APART | error | Circles {k1} and {k2} never meet, so no point can lie on both. |
G_INCONSISTENT | error | This cannot hold together with the rest: it asks for {expected}, and the closest fit gives {got}. |
G_NOT_CONVERGED | error | No layout satisfies every line of this block. |
G_CONSTRUCTION_UNDEFINED | error | {what} does not exist here: its lines are parallel, or its points lie on one line. |
G_DEGENERATE | warning | {shape} comes out flat: its points lie on one line. |
G_SELF_INTERSECT | warning | Polygon {polygon} crosses itself. |
G_OPTION_NOT_A_LINE | error | “{word}” goes after the shape it applies to: {example} |
G_NOTHING_DRAWN | warning | Only points are drawn: lengths, angles and relations only constrain. Add a shape line, such as polygon {points}. |
G_ABOUT_REDUNDANT | information | The other lines already decide this, so the preferred value changes nothing. |
G_ABOUT_UNMET | warning | This preferred value cannot hold with the rest, so the figure is drawn without it. |
C_EXPECTED_RANGE | error | Expected cells here, such as B2:B7. |
C_RANGE_DELETED | error | The cells this named were deleted. Name the cells to use instead. |
C_RANGE_NOT_LINE | error | {range} is a block. A series is one row or one column. |
C_RANGE_TOO_LARGE | error | {range} holds more than {max} cells. |
C_LABEL_ONE_CELL | error | A label is one cell's text, such as B1, not {range}. |
C_CATEGORY_AXIS | error | The x axis lists the categories: it takes a label, but no range or ticks. |
C_NO_SERIES | error | Nothing to draw: add a series, such as column B2:B7. |
C_PIE_MIXED | error | A pie cannot share a chart with columns or lines. |
C_ONE_PIE | error | A chart holds one pie. |
C_PIE_NEGATIVE | warning | {cell} is below zero, which a pie cannot show. Its slice is left out. |
C_CELL_ERROR | warning | {cell} holds an error, so its value is left out. |
C_LENGTH_MISMATCH | warning | This series has {count} values for {categories} categories. |
C_NO_NUMBERS | warning | None of these cells holds a number yet. |
C_RIGHT_ONLY | warning | Every series is on the right axis, so they are drawn on the left. |
C_RIGHT_UNUSED | warning | No series is drawn on the right axis: add right to one. |