Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
BasePlot Class Reference
Inherited by NumericPlot, and WaterfallPlot.
Public Member Functions | |
def | __init__ |
def | update_from_packet |
def | update_show |
Detailed Description
Base class / interface definition for telemetry plotter plots with a dependent variable vs. an scrolling independent variable (like time).
Definition at line 17 of file plotter.py.
Constructor & Destructor Documentation
def __init__ | ( | self, | |
subplot, | |||
indep_def, | |||
dep_def, | |||
indep_span | |||
) |
Constructor. Arguments: subplot -- matplotlib subplot to draw stuff onto indep_def -- TelemetryData of the independent variable dep_def -- TelemetryData of the dependent variable indep_span -- the span of the independent variable to keep track of
Reimplemented in NumericPlot.
Definition at line 21 of file plotter.py.
Member Function Documentation
def update_from_packet | ( | self, | |
packet | |||
) |
Updates my internal data structures from a received packet. Should not do rendering - this may be called multiple times per visible update.
Reimplemented in NumericPlot.
Definition at line 43 of file plotter.py.
def update_show | ( | self, | |
packet | |||
) |
Render my data. This is separated from update_from_packet to allow multiple packets to be processed while doing only one time-consuming render.
Definition at line 49 of file plotter.py.
Generated on Tue Jul 12 2022 22:03:01 by
