Skip to main content

Interface: ComplexPlaneOptions

Defined in: mobjects/graphing/ComplexPlane.ts:24

Options for creating a ComplexPlane

Extends

Properties

axisConfig?

optional axisConfig: Partial<NumberLineOptions>

Defined in: mobjects/graphing/Axes.ts:29

Common configuration for both axes

Inherited from

NumberPlaneOptions.axisConfig


backgroundLineStyle?

optional backgroundLineStyle: BackgroundLineStyle

Defined in: mobjects/graphing/NumberPlane.ts:24

Style configuration for background grid lines

Inherited from

NumberPlaneOptions.backgroundLineStyle


color?

optional color: string

Defined in: mobjects/graphing/Axes.ts:27

Stroke color for axes. Default: '#ffffff'

Inherited from

NumberPlaneOptions.color


fadedLineRatio?

optional fadedLineRatio: number

Defined in: mobjects/graphing/NumberPlane.ts:28

Number of faded lines per interval between main lines. Default: 1

Inherited from

NumberPlaneOptions.fadedLineRatio


fadedLineStyle?

optional fadedLineStyle: BackgroundLineStyle

Defined in: mobjects/graphing/NumberPlane.ts:26

Style configuration for faded sub-grid lines. Auto-computed from backgroundLineStyle if not set.

Inherited from

NumberPlaneOptions.fadedLineStyle


fadingFactor?

optional fadingFactor: number

Defined in: mobjects/graphing/NumberPlane.ts:30

Fading factor for lines far from axes. Default: 1 (no fading)

Inherited from

NumberPlaneOptions.fadingFactor


includeBackgroundLines?

optional includeBackgroundLines: boolean

Defined in: mobjects/graphing/NumberPlane.ts:22

Whether to include background grid lines. Default: true

Inherited from

NumberPlaneOptions.includeBackgroundLines


includeImaginaryLabels?

optional includeImaginaryLabels: boolean

Defined in: mobjects/graphing/ComplexPlane.ts:26

Whether to show imaginary unit labels (i, 2i, etc.). Default: true


labelColor?

optional labelColor: string

Defined in: mobjects/graphing/ComplexPlane.ts:30

Color for axis labels. Default: '#ffffff'


labelFontSize?

optional labelFontSize: number

Defined in: mobjects/graphing/ComplexPlane.ts:28

Font size for labels. Default: 24


tipLength?

optional tipLength: number

Defined in: mobjects/graphing/Axes.ts:37

Length of arrow tips. Default: 0.25

Inherited from

NumberPlaneOptions.tipLength


tips?

optional tips: boolean

Defined in: mobjects/graphing/Axes.ts:35

Whether to include arrow tips on axes. Default: true

Inherited from

NumberPlaneOptions.tips


xAxisConfig?

optional xAxisConfig: Partial<NumberLineOptions>

Defined in: mobjects/graphing/Axes.ts:31

Configuration specific to x-axis (overrides axisConfig)

Inherited from

NumberPlaneOptions.xAxisConfig


xLength?

optional xLength: number

Defined in: mobjects/graphing/Axes.ts:23

Visual length of the x-axis. Default: 10

Inherited from

NumberPlaneOptions.xLength


xRange?

optional xRange: [number, number] | [number, number, number]

Defined in: mobjects/graphing/Axes.ts:19

X-axis range as [min, max] or [min, max, step]. Default: [-5, 5, 1]

Inherited from

NumberPlaneOptions.xRange


yAxisConfig?

optional yAxisConfig: Partial<NumberLineOptions>

Defined in: mobjects/graphing/Axes.ts:33

Configuration specific to y-axis (overrides axisConfig)

Inherited from

NumberPlaneOptions.yAxisConfig


yLength?

optional yLength: number

Defined in: mobjects/graphing/Axes.ts:25

Visual length of the y-axis. Default: 6

Inherited from

NumberPlaneOptions.yLength


yRange?

optional yRange: [number, number] | [number, number, number]

Defined in: mobjects/graphing/Axes.ts:21

Y-axis range as [min, max] or [min, max, step]. Default: [-3, 3, 1]

Inherited from

NumberPlaneOptions.yRange