Skip to main content

Interface: NumberPlaneOptions

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

Options for creating a NumberPlane

Extends

Extended by

Properties

axisConfig?

optional axisConfig: Partial<NumberLineOptions>

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

Common configuration for both axes

Inherited from

AxesOptions.axisConfig


backgroundLineStyle?

optional backgroundLineStyle: BackgroundLineStyle

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

Style configuration for background grid lines


color?

optional color: string

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

Stroke color for axes. Default: '#ffffff'

Inherited from

AxesOptions.color


fadedLineRatio?

optional fadedLineRatio: number

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

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


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.


fadingFactor?

optional fadingFactor: number

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

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


includeBackgroundLines?

optional includeBackgroundLines: boolean

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

Whether to include background grid lines. Default: true


tipLength?

optional tipLength: number

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

Length of arrow tips. Default: 0.25

Inherited from

AxesOptions.tipLength


tips?

optional tips: boolean

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

Whether to include arrow tips on axes. Default: true

Inherited from

AxesOptions.tips


xAxisConfig?

optional xAxisConfig: Partial<NumberLineOptions>

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

Configuration specific to x-axis (overrides axisConfig)

Inherited from

AxesOptions.xAxisConfig


xLength?

optional xLength: number

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

Visual length of the x-axis. Default: 10

Inherited from

AxesOptions.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

AxesOptions.xRange


yAxisConfig?

optional yAxisConfig: Partial<NumberLineOptions>

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

Configuration specific to y-axis (overrides axisConfig)

Inherited from

AxesOptions.yAxisConfig


yLength?

optional yLength: number

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

Visual length of the y-axis. Default: 6

Inherited from

AxesOptions.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

AxesOptions.yRange