Main Content

initialize

Class: Aero.Animation
Namespace: Aero

Create animation object figure and axes and build patches for bodies

Syntax

initialize(h)

Description

initialize(h) creates and initializes a figure and axes for the animation object h and builds patches for the bodies associated with the animation object. If an existing figure is present, this function:

  1. Clears out the old figure and its patches.

  2. Creates a new figure and axes with default values.

  3. Repopulates the axes with new patches using the surface to patch data from each body.

Input Arguments

expand all

Aerospace animation object, specified as an Aero.Animation object.

Examples

expand all

h = Aero.Animation;
initialize(h);

Version History

Introduced in R2007a