OpNav_Plotting

Overview

OpNavScenarios/plotting/OpNav_Plotting.py contains the plotting routines. None of the files are saved, but are shown when the scenario is run with python. Saving is left to the user’s discretion.

class OpNav_Plotting.AnimatedCircles(size, centers, radii, validity)[source]

Bases: object

An animated scatter plot using matplotlib.animations.FuncAnimation.

setup_plot()[source]

Initial drawing of the scatter plot.

update(i)[source]

Update the scatter plot.

class OpNav_Plotting.AnimatedLimb(size, limb, centers, validity)[source]

Bases: object

An animated scatter plot using matplotlib.animations.FuncAnimation.

data_stream(i)[source]

Generate a random walk (brownian motion). Data is scaled to produce a soft “flickering” effect.

setup_plot()[source]

Initial drawing of the scatter plot.

update(i)[source]

Update the scatter plot.