gepetto.corbaserver.tools Namespace Reference

Classes

class  Angular
 Helper class to plot a 3D vector as a circular arrow. More...
 
class  Linear
 Helper class to plot a 3D vector as a straight arrow. More...
 
class  Vector6
 Helper class to plot a 6D vector with one Linear and one Angular arrow. More...
 

Functions

def graphOfFunction (gui, name, args, func, color=Color.red)
 Plot a function of 2 arguments i.e. More...
 

Function Documentation

◆ graphOfFunction()

def gepetto.corbaserver.tools.graphOfFunction (   gui,
  name,
  args,
  func,
  color = Color.red 
)

Plot a function of 2 arguments i.e.

(x, y, f(x, y))

Parameters
guithe CORBA client
namethe curve node name
argsa list [X,Y] of two lists X and Y, where the arguments that should be considered are all the possible pairs of elements of X and Y.
funca function that takes x,y as arguments
color