Interface: ContourPlotOptions
Defined in: src/mobjects/graphing/ContourPlot.ts:11
Options for creating a ContourPlot.
Properties
axes?
optionalaxes:Axes
Defined in: src/mobjects/graphing/ContourPlot.ts:27
Reference axes for coordinate transformation. Optional.
color?
optionalcolor:string
Defined in: src/mobjects/graphing/ContourPlot.ts:23
Stroke color. Default: '#58c4dd' (Manim blue)
func
func:
ContourField
Defined in: src/mobjects/graphing/ContourPlot.ts:13
The scalar field g(x, y). Contours are the level sets g = level.
levels?
optionallevels:number[]
Defined in: src/mobjects/graphing/ContourPlot.ts:15
The iso levels to draw. Default: [-2, -1, 0, 1, 2]
resolution?
optionalresolution:number
Defined in: src/mobjects/graphing/ContourPlot.ts:21
Grid cells per axis for the marching-squares sampling. Default: 48
strokeWidth?
optionalstrokeWidth:number
Defined in: src/mobjects/graphing/ContourPlot.ts:25
Stroke width in pixels. Default: 2
xRange?
optionalxRange: [number,number]
Defined in: src/mobjects/graphing/ContourPlot.ts:17
X range [min, max]. Default: [-5, 5]
yRange?
optionalyRange: [number,number]
Defined in: src/mobjects/graphing/ContourPlot.ts:19
Y range [min, max]. Default: [-5, 5]