ApasScript.

Argand

These are Apas Cloud services: they run on our servers for a signed-in member. The examples below are shown already made; sign in to edit and run your own.

argandPlane Apas Cloud

A diagram for the complex plane with equal scale on both axes (circles look like circles): the picture is sized from the ranges, unit grid, axes labelled Re and Im. Returns the diagram for the calls below. pixelsPerUnit defaults to 60 (less for a wide range).

argandOn Apas Cloud

A dot at the complex number z with an optional label, placed clear of the dot on the side away from the origin.

argandVectorOn Apas Cloud

An arrow from z1 to z2 (a complex number as the vector from 0 is argandVectorOn(d, 0, z)), with an optional label beside its middle.

argandPolygonOn Apas Cloud

A polygon through a list of complex numbers, lightly filled (fill defaults to the colour at 14%).

argandUnitCircleOn Apas Cloud

The unit circle |z| = 1 in grey.

rootsPolygonOn Apas Cloud

The n-th roots of unity: the unit circle, the regular n-gon through them, a dot at each and its label 1, ω, ω², ... (labels for n up to 16).

locusCircleOn Apas Cloud

The locus |z - a| kind r. "=" the circle; "<" the open disc (dashed boundary), "<=" the closed disc (solid), ">" and ">=" the outside. Regions are lightly filled and cut to the ranges.

locusRayOn Apas Cloud

The locus arg(z - a) = theta: the ray from a at angle theta (radians) to the edge of the view, an open dot at a (a is left out).

locusSectorOn Apas Cloud

The region theta1 < arg(z - a) < theta2 (radians), filled, with both rays dashed and an open dot at a.

locusEllipseOn Apas Cloud

The locus |z - a| + |z - b| kind k with foci a and b: the ellipse, its inside or outside. k must exceed |a - b| (the segment case is refused).

locusBisectorOn Apas Cloud

The locus |z - a| kind |z - b|: "=" the perpendicular bisector of a and b; "<" the side nearer a; ">" the side nearer b (filled, boundary dashed when strict).

halfPlaneOn Apas Cloud

The half-plane Re(z) kind c or Im(z) kind c, filled, with its boundary line dashed when the sign is strict.

regionOn Apas Cloud

Draws a region from its condition, as written: "|z - a| < r", "|z + 1 - i| >= 2", "|z - a| < |z - b|", "Re(z) >= 1", "Im(z) < 2" (= for the curve itself). Other conditions are refused.