E=MC / telemetry-master
Embed: (wiki syntax)

« Back to documentation index

NumericPlot Class Reference

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.