surface

marxs.visualization.mayavi.surface(surface, display, viewer=None)[source] [edit on github]

Plot a parametric surface.

The parameter boundaries are taken from the coo1 and coo2 in the display dictionary. The plotting routine is generic. It calls the parametric_surface() method of the object that is plotted; see there for a detailed description of parameters.

Parameters:
objmarxs.base.MarxsElement

The element that should be plotted.

displaydict of None

Dictionary with display settings.

viewermayavi.core.scene.Scene instance.

If None, the source is not added to any figure, and will be added automatically by the modules or filters. If False, no figure will be created by modules or filters applied to the source: the source can only be used for testing, or numerical algorithms, not visualization.

Returns:
outmayavi object

Return the result of a mayavi plotting method.