Documentation

## Gallery

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.

We present a collection of pictures illustrating the capabilities of the present MuPAD® graphics system. These pictures are created at various places in this document where they are used to demonstrate certain features of the graphics system. A reference to the location of detailed documentation is provided along with each picture in this gallery. There, further details including the MuPAD commands for generating the picture can be found.

### 2D Function and Curve Plots

The following picture shows a plot of several functions. Singularities are highlighted by “vertical asymptotes.” See 2D Function Graphs: plotfunc2d for details: The following picture shows a function plot together with a spline interpolation through a set of sample points. See section Some Examples for details: The following picture shows a hatched area between functions. See the examples on the help page of `plot::Hatch` for details: The following picture demonstrates some layout possibilities. See the examples on the help page of `Layout` for details: The following picture demonstrates the construction of cycloids via points fixed to a rolling wheel. See section Some Examples for an animated version and details: The following picture demonstrates hatched areas inside curves. See the examples on the help page of `plot::Hatch` for details: ### Other 2D examples

The following picture shows an imported bitmap inside function plots. See section Importing Pictures for details: The following picture shows some frames of an animation of the perturbed orbit of a small planet kicked out of a solar system by a giant planet after a near-collision. See section Example 3 for details of the animation: The following picture shows three solution curves of an ODE inside the directional vector field associated with the ODE. See the examples on the help page of `plot::VectorField2d` for details: The following picture shows the Mandelbrot set together with two blow ups of regions of special interest. See the examples on the help page of `plot::Density` for details: The following picture shows several rotated copies of a function graph. See the examples on the help page of `plot::Rotate2d` for details: The following picture shows a data plot of type `plot::Bars2d`. See the examples on the help page of `plot::Bars2d` for details: The following picture shows the image of a rectangle in the complex plane under the map . See the examples on the help page of `plot::Conformal` for details: The following picture shows some elliptic curves generated as a contour plot. See the examples on the help page of `plot::Implicit2d` for details: The following picture shows the Feigenbaum diagram of the logistic map. See the examples on the help page of `plot::PointList2d` for details: The following picture shows a fractal object generated by a turtle plot of a Lindenmayer system. See the examples on the help page of `plot::Lsys` for details: ### 3D Functions, Surfaces, and Curves

The following picture demonstrates a 3D function plot of , where is the ```Bessel function of the first kind```. See the examples on the help page of `plot::Function3d` for details: The following picture demonstrates a 3D function plot enhanced by a coordinate grid. See the examples on the help page of `GridVisible` for details: The following picture demonstrates a 3D function plot of , which is not real for some parts of the parameter space. See the documentation of `plot::Function3d` for details: The following picture shows “Klein's bottle” (a famous topological object). This surface does not have an orientation; there is no “inside” and no “outside” of this object. See the examples on the help page of `plot::Surface` for details: The following picture demonstrates the reconstruction of an object with rotational symmetry from measurements of its radius at various points. See section Some Examples for details: The following picture shows the “Lorenz attractor.” See section Cameras in 3D for an animated version and details: The following picture shows a 3D level surface of a function (the solution set of z2 = sin(z - x2y2)). See the examples on the help page of `plot::Implicit3d` for details: #### Mathematical Modeling with Symbolic Math Toolbox

Get examples and videos