Public Member Functions | Static Public Attributes | Private Attributes | Static Private Attributes | List of all members
rqt_plot.data_plot.qwt_data_plot.QwtDataPlot Class Reference
Inheritance diagram for rqt_plot.data_plot.qwt_data_plot.QwtDataPlot:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, args)
 
def add_curve (self, curve_id, curve_name, curve_color=QColor(Qt.blue), markers_on=False)
 
def eventFilter (self, _, event)
 
def get_xlim (self)
 
def get_ylim (self)
 
def log (self, level, message)
 
def mouseMoveEvent (self, event)
 
def mousePressEvent (self, event)
 
def move_canvas (self, delta_x, delta_y)
 
def redraw (self)
 
def remove_curve (self, curve_id)
 
def rescale (self)
 
def rescale_axis_x (self, delta__x)
 
def resizeEvent (self, event)
 
def scale_axis_y (self, max_value)
 
def set_values (self, curve_id, data_x, data_y)
 
def set_xlim (self, limits)
 
def set_ylim (self, limits)
 
def vline (self, x, color)
 
def wheelEvent (self, event)
 

Static Public Attributes

 limits_changed = Signal()
 
 mouseCoordinatesChanged = Signal(QPointF)
 

Private Attributes

 _canvas_display_height
 
 _canvas_display_width
 
 _curves
 
 _last_canvas_x
 
 _last_canvas_y
 
 _last_click_coordinates
 
 _picker
 
 _pressed_canvas_x
 
 _pressed_canvas_y
 
 _x_limits
 
 _y_limits
 

Static Private Attributes

int _num_value_saved = 1000
 
int _num_values_ploted = 1000
 

Detailed Description

Definition at line 46 of file qwt_data_plot.py.

Constructor & Destructor Documentation

def rqt_plot.data_plot.qwt_data_plot.QwtDataPlot.__init__ (   self,
  args 
)

Definition at line 53 of file qwt_data_plot.py.

Member Function Documentation

def rqt_plot.data_plot.qwt_data_plot.QwtDataPlot.add_curve (   self,
  curve_id,
  curve_name,
  curve_color = QColor(Qt.blue),
  markers_on = False 
)

Definition at line 124 of file qwt_data_plot.py.

def rqt_plot.data_plot.qwt_data_plot.QwtDataPlot.eventFilter (   self,
  _,
  event 
)

Definition at line 94 of file qwt_data_plot.py.

def rqt_plot.data_plot.qwt_data_plot.QwtDataPlot.get_xlim (   self)

Definition at line 244 of file qwt_data_plot.py.

def rqt_plot.data_plot.qwt_data_plot.QwtDataPlot.get_ylim (   self)

Definition at line 247 of file qwt_data_plot.py.

def rqt_plot.data_plot.qwt_data_plot.QwtDataPlot.log (   self,
  level,
  message 
)

Definition at line 116 of file qwt_data_plot.py.

def rqt_plot.data_plot.qwt_data_plot.QwtDataPlot.mouseMoveEvent (   self,
  event 
)

Definition at line 200 of file qwt_data_plot.py.

def rqt_plot.data_plot.qwt_data_plot.QwtDataPlot.mousePressEvent (   self,
  event 
)

Definition at line 195 of file qwt_data_plot.py.

def rqt_plot.data_plot.qwt_data_plot.QwtDataPlot.move_canvas (   self,
  delta_x,
  delta_y 
)
move the canvas by delta_x and delta_y in SCREEN COORDINATES

Definition at line 185 of file qwt_data_plot.py.

def rqt_plot.data_plot.qwt_data_plot.QwtDataPlot.redraw (   self)

Definition at line 147 of file qwt_data_plot.py.

def rqt_plot.data_plot.qwt_data_plot.QwtDataPlot.remove_curve (   self,
  curve_id 
)

Definition at line 136 of file qwt_data_plot.py.

def rqt_plot.data_plot.qwt_data_plot.QwtDataPlot.rescale (   self)

Definition at line 153 of file qwt_data_plot.py.

def rqt_plot.data_plot.qwt_data_plot.QwtDataPlot.rescale_axis_x (   self,
  delta__x 
)
add delta_x to the length of the x axis

Definition at line 165 of file qwt_data_plot.py.

def rqt_plot.data_plot.qwt_data_plot.QwtDataPlot.resizeEvent (   self,
  event 
)

Definition at line 120 of file qwt_data_plot.py.

def rqt_plot.data_plot.qwt_data_plot.QwtDataPlot.scale_axis_y (   self,
  max_value 
)
set the y axis height to max_value, about the current center

Definition at line 174 of file qwt_data_plot.py.

def rqt_plot.data_plot.qwt_data_plot.QwtDataPlot.set_values (   self,
  curve_id,
  data_x,
  data_y 
)

Definition at line 143 of file qwt_data_plot.py.

def rqt_plot.data_plot.qwt_data_plot.QwtDataPlot.set_xlim (   self,
  limits 
)

Definition at line 236 of file qwt_data_plot.py.

def rqt_plot.data_plot.qwt_data_plot.QwtDataPlot.set_ylim (   self,
  limits 
)

Definition at line 240 of file qwt_data_plot.py.

def rqt_plot.data_plot.qwt_data_plot.QwtDataPlot.vline (   self,
  x,
  color 
)

Definition at line 233 of file qwt_data_plot.py.

def rqt_plot.data_plot.qwt_data_plot.QwtDataPlot.wheelEvent (   self,
  event 
)

Definition at line 217 of file qwt_data_plot.py.

Member Data Documentation

rqt_plot.data_plot.qwt_data_plot.QwtDataPlot._canvas_display_height
private

Definition at line 161 of file qwt_data_plot.py.

rqt_plot.data_plot.qwt_data_plot.QwtDataPlot._canvas_display_width
private

Definition at line 162 of file qwt_data_plot.py.

rqt_plot.data_plot.qwt_data_plot.QwtDataPlot._curves
private

Definition at line 58 of file qwt_data_plot.py.

rqt_plot.data_plot.qwt_data_plot.QwtDataPlot._last_canvas_x
private

Definition at line 69 of file qwt_data_plot.py.

rqt_plot.data_plot.qwt_data_plot.QwtDataPlot._last_canvas_y
private

Definition at line 70 of file qwt_data_plot.py.

rqt_plot.data_plot.qwt_data_plot.QwtDataPlot._last_click_coordinates
private

Definition at line 73 of file qwt_data_plot.py.

int rqt_plot.data_plot.qwt_data_plot.QwtDataPlot._num_value_saved = 1000
staticprivate

Definition at line 48 of file qwt_data_plot.py.

int rqt_plot.data_plot.qwt_data_plot.QwtDataPlot._num_values_ploted = 1000
staticprivate

Definition at line 49 of file qwt_data_plot.py.

rqt_plot.data_plot.qwt_data_plot.QwtDataPlot._picker
private

Definition at line 81 of file qwt_data_plot.py.

rqt_plot.data_plot.qwt_data_plot.QwtDataPlot._pressed_canvas_x
private

Definition at line 72 of file qwt_data_plot.py.

rqt_plot.data_plot.qwt_data_plot.QwtDataPlot._pressed_canvas_y
private

Definition at line 71 of file qwt_data_plot.py.

rqt_plot.data_plot.qwt_data_plot.QwtDataPlot._x_limits
private

Definition at line 65 of file qwt_data_plot.py.

rqt_plot.data_plot.qwt_data_plot.QwtDataPlot._y_limits
private

Definition at line 66 of file qwt_data_plot.py.

rqt_plot.data_plot.qwt_data_plot.QwtDataPlot.limits_changed = Signal()
static

Definition at line 51 of file qwt_data_plot.py.

rqt_plot.data_plot.qwt_data_plot.QwtDataPlot.mouseCoordinatesChanged = Signal(QPointF)
static

Definition at line 47 of file qwt_data_plot.py.


The documentation for this class was generated from the following file:


rqt_plot
Author(s): Dorian Scholz, Dirk Thomas
autogenerated on Thu Feb 25 2021 03:12:45