plot::Ellipsoid

Graphical primitive for ellipsoids

MuPAD® notebooks will be removed in a future release. Use MATLAB® live scripts instead.

MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

Syntax

plot::Ellipsoid(rx, ry, rz, <[cx, cy, cz]>, <a = amin .. amax>, options)

Description

plot::Ellipsoid(rx, ry, rz, c) creates an ellipsoid with the center c and symmetry axes parallel to the coordinate axes. The semi axes have the lengths rx, ry, rz.

Ellipsoids with arbitrary orientations of the symmetry axes can be generated via plot::Rotate3d.

Attributes

AttributePurposeDefault Value
AffectViewingBoxinfluence of objects on the ViewingBox of a sceneTRUE
Centercenter of objects, rotation center[0, 0, 0]
CenterXcenter of objects, rotation center, x-component0
CenterYcenter of objects, rotation center, y-component0
CenterZcenter of objects, rotation center, z-component0
Colorthe main colorRGB::LightBlue
FillColorcolor of areas and surfacesRGB::LightBlue
Framesthe number of frames in an animation50
Legendmakes a legend entry 
LegendTextshort explanatory text for legend 
LegendEntryadd this object to the legend?FALSE
Namethe name of a plot object (for browser and legend) 
ParameterEndend value of the animation parameter 
ParameterNamename of the animation parameter 
ParameterBegininitial value of the animation parameter 
ParameterRangerange of the animation parameter 
SemiAxessemi axes of ellipses and ellipsods[1, 2, 3]
SemiAxisXfirst semi axis of ellipses and ellipsods1
SemiAxisYsecond semi axis of ellipses and ellipsods2
SemiAxisZthird semi axis of ellipsods3
Shadingsmooth color blend of surfacesSmooth
TimeEndend time of the animation10.0
TimeBeginstart time of the animation0.0
TimeRangethe real time span of an animation0.0 .. 10.0
Titleobject title 
TitleFontfont of object titles[" sans-serif ", 11]
TitlePositionposition of object titles 
TitleAlignmenthorizontal alignment of titles w.r.t. their coordinatesCenter
TitlePositionXposition of object titles, x component 
TitlePositionYposition of object titles, y component 
TitlePositionZposition of object titles, z component 
VisiblevisibilityTRUE
VisibleAfterobject visible after this time value 
VisibleBeforeobject visible until this time value 
VisibleFromToobject visible during this time range 
VisibleAfterEndobject visible after its animation time ended?TRUE
VisibleBeforeBeginobject visible before its animation time starts?TRUE

Examples

Example 1

Create a blue ellipsoid around the origin with semi axes of lengths 1, 2, 3:

plot(plot::Ellipsoid(1, 2, 3, [0, 0, 0]))

delete s:

Parameters

rx, ry, rz

The length of the semi axes of the ellipsoid: real numerical values or arithmetical expressions of the animation parameter a.

rx, ry, rz are equivalent to the attributes SemiAxes, SemiAxisX, SemiAxisY, SemiAxisZ.

cx, cy, cz

The coordinates of the center: real numerical values or arithmetical expressions of the animation parameter a. If no center is specified, a sphere/ellipsoid centered at the orign is created.

cx, cy, cz are equivalent to the attributes Center, CenterX, CenterY, CenterZ.

a

Animation parameter, specified as a = amin..amax, where amin is the initial parameter value, and amax is the final parameter value.

See Also

MuPAD Functions

MuPAD Graphical Primitives