anim_mode

opsvis.anim_mode(modeNo, sfac=False, nep=17, unDefoFlag=1, fmt_defo={'color': 'blue', 'linestyle': 'solid', 'linewidth': 1.2, 'marker': '', 'markersize': 1}, fmt_undefo={'color': 'green', 'linestyle': (0, (1, 5)), 'linewidth': 1.2, 'marker': '', 'markersize': 1}, interpFlag=1, endDispFlag=1, Eo=0, az_el=(-60.0, 30.0), fig_wi_he=False, fig_lbrt=False, xlim=[0, 1], ylim=[0, 1], ax=False)[source]

Make animation of a mode shape obtained from eigenvalue solution.

Parameters
  • modeNo (int) – indicates which mode shape to animate.

  • sfac (float) – scale factor

  • nep (integer) – number of evaluation points inside the element and including both element ends

  • unDefoFlag (integer) – 1 - plot the undeformed model (mesh), 0 - do not plot the mesh

  • interpFlag (integer) – 1 - interpolate deformation inside element, 0 - no interpolation

  • endDispFlag (integer) – 1 - plot marks at element ends, 0 - no marks

  • fmt_defo (dict) – format line string for interpolated (continuous) deformated shape. The format contains information on line color, style and marks as in the standard matplotlib plot function.

  • az_el (tuple) – a tuple containing the azimuth and elevation

  • fig_lbrt (tuple) – a tuple contating left, bottom, right and top offsets

  • fig_wi_he (tuple) – contains width and height of the figure

Returns

animation object

Return type

anim

Notes:

See also

anim_mode()