CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Static Public Attributes
svgfig.XErrorBars Class Reference

Public Member Functions

def __init__
 
def __repr__
 
def SVG
 

Public Attributes

 attr
 
 d
 

Static Public Attributes

dictionary defaults = {"stroke-width":"0.25pt"}
 

Detailed Description

Draws x error bars at a set of points. This is usually used
before (under) a set of Dots at the same points.

XErrorBars(d, attribute=value)

d                       required        list of (x,y,xerr...) points
attribute=value pairs   keyword list    SVG attributes

If points in d have

    * 3 elements, the third is the symmetric error bar
    * 4 elements, the third and fourth are the asymmetric lower and
      upper error bar. The third element should be negative,
      e.g. (5, 5, -1, 2) is a bar from 4 to 7.
    * more than 4, a tick mark is placed at each value. This lets
      you nest errors from different sources, correlated and
      uncorrelated, statistical and systematic, etc.

Definition at line 3281 of file svgfig.py.

Constructor & Destructor Documentation

def svgfig.XErrorBars.__init__ (   self,
  d = [],
  attr 
)

Definition at line 3305 of file svgfig.py.

Member Function Documentation

def svgfig.XErrorBars.__repr__ (   self)

Definition at line 3302 of file svgfig.py.

def svgfig.XErrorBars.SVG (   self,
  trans = None 
)
Apply the transformation "trans" and return an SVG object.

Definition at line 3311 of file svgfig.py.

Member Data Documentation

svgfig.XErrorBars.attr

Definition at line 3308 of file svgfig.py.

svgfig.XErrorBars.d

Definition at line 3306 of file svgfig.py.

dictionary svgfig.XErrorBars.defaults = {"stroke-width":"0.25pt"}
static

Definition at line 3300 of file svgfig.py.