0001"""
0002**the complex plane**, as drawing reference to
0003"""
0004
0005zPlaneClasses = ['zPlane']
0006
0007__all__ = zPlaneClasses
0008
0009import pygeo.base.abstracts._real as Real
0010from pygeo.base.analytics.pygeomath import vector
0011from pygeo.base.support.pygeoconstants import LIGHTGRAY
0012
0013
0014
0015class zPlane(Real._Plane):
0016    """
0017    plane for drawing reference to the complex plane
0018    and taking no arguments
0019    
0020    inherits
0021    
0022        `_Plane`__
0023
0024__ class-base.abstracts._real._Plane.html
0025    
0026    """
0027
0028    def __init__(self,*args,**kws):
0029        Real._Plane.__init__(self,*args,**kws)
0030        self.grid_scale = kws.get('grid_scale',4.)
0031        self._u.set(vector(0,0,1.))
0032        self._s.set(vector(1.,0.,0.))
0033        self.color = LIGHTGRAY
0034        self.grid_scale = kws.get('grid_scale',4.)
0035        self.line_width = kws.get('linewidth',.005)
0036        self.init()