Package trunk :: Package BIP :: Package Viz :: Module realtime :: Class RTplot
[hide private]

Class RTplot

source code

Real time plotting class based on Gnuplot
Instance Methods [hide private]
 
__init__(self, persist=0, debug=0) source code
 
clearFig(self)
Clears the figure.
source code
 
close_plot(self) source code
 
scatter(self, x, y, names=[], title='', style='points', jitter=True)
Makes scatter plots from numpy arrays. if arrays are multidimensional, multiple scatter plots will be generated, pairing rows.
source code
 
plotlines(self, data, x=None, names=[], title='', style='lines', multiplot=0)
Create a single/multiple line plot from a numpy array or record array.
source code
 
_linesFromRA(self, data, x, style)
Record-array specific code
source code
 
plothist(self, data, title='', names=[], multiplot=0)
Create a sinlge/multiple Histogram plot from a numpy array or record array.
source code
 
_histFromRA(self, data)
Record-array specific code
source code
Method Details [hide private]

plotlines(self, data, x=None, names=[], title='', style='lines', multiplot=0)

source code 
Create a single/multiple line plot from a numpy array or record array.
Parameters:
  • data - : must be a numpy array or a list of lists,or record array, with series as rows
  • x - : x values for the series: numpy array
  • names - : is a list of strings to serve as legend labels
  • title - : Figure Title.
  • style - : plot styles from gnuplot: lines, boxes, points, linespoints, etc.
  • multiplot - : Whether to make multiple subplots

plothist(self, data, title='', names=[], multiplot=0)

source code 
Create a sinlge/multiple Histogram plot from a numpy array or record array.
Parameters:
  • data - : must be a numpy array or record array, with series as rows
  • names - : is a list of strings to serve as legend labels