chump.objects.mobject3d

mobject3d represents grid data structures.

plottype: str

plotting type of the grid data, must be 'contour', 'grid', 'cgrid', 'colorgrid', 'colormesh' or 'colorflood'.

norm: str

the color scale used for color grid, either 'Normalize' or 'LogNorm', default is 'Normalize' which is linear scale color map.

legend: bool

whether to plot the legend of this object, default is false.

Example:

>>> legend = true
colorbararg: dict

the color bar argument for color grid plot.

Example:

>>> colorbararg = {shrink=0.88, pad=0.01, label='Simulated groundwater elevation (feet)'}
clabelarg: dict

the contour label argument for contour plot.

Example:

>>> clabel = {}
levels: dict

levels used for contour plots.

Example:

>>> levels = [0,1,2,5,10,20,50,100,200,300,500]
dlevel: dict

level intervel for contour plots.

Example:

>>> dlevel = 10
label

set data label/name used in legend.

writeshp

if true, write shapefile of the object.

Example:

>>> writeshp = true