Interface: UnitIntervalOptions
Defined in: src/mobjects/graphing/NumberLine.ts:363
Options for creating a UnitInterval
Properties
color?
optionalcolor:string
Defined in: src/mobjects/graphing/NumberLine.ts:367
Stroke color as CSS color string. Default: the active theme's fill color
includeNumbers?
optionalincludeNumbers:boolean
Defined in: src/mobjects/graphing/NumberLine.ts:375
Whether to include number labels. Default: false
includeTicks?
optionalincludeTicks:boolean
Defined in: src/mobjects/graphing/NumberLine.ts:371
Whether to include tick marks. Default: true
length?
optionallength:number
Defined in: src/mobjects/graphing/NumberLine.ts:365
Visual length of the unit interval. Default: 5
numbersToExclude?
optionalnumbersToExclude:number[]
Defined in: src/mobjects/graphing/NumberLine.ts:379
Numbers to exclude from labels. Default: []
numDecimalPlaces?
optionalnumDecimalPlaces:number
Defined in: src/mobjects/graphing/NumberLine.ts:377
Number of subdivisions. Default: 10 (ticks at 0, 0.1, 0.2, ..., 1)
strokeWidth?
optionalstrokeWidth:number
Defined in: src/mobjects/graphing/NumberLine.ts:369
Stroke width in pixels. Default: 2
tickSize?
optionaltickSize:number
Defined in: src/mobjects/graphing/NumberLine.ts:373
Size of tick marks. Default: 0.2