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.
NumericPlot Class Reference
Inherits plotter::BasePlot.
Public Member Functions | |
def | __init__ |
def | update_from_packet |
def | update_show |
Detailed Description
A plot of a single numeric dependent variable vs. a single independent variable
Definition at line 61 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 from BasePlot.
Definition at line 65 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 from BasePlot.
Definition at line 72 of file plotter.py.
def update_show | ( | self, | |
packet | |||
) | [inherited] |
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
