UniDec
Universal Deconvolution of Mass and Ion Mobility Spectra
Public Member Functions | Public Attributes | List of all members
UniDec.unidec_modules.plot3d.CubePlot Class Reference
Inheritance diagram for UniDec.unidec_modules.plot3d.CubePlot:
Inheritance graph
[legend]
Collaboration diagram for UniDec.unidec_modules.plot3d.CubePlot:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, args, kwargs)
 
def cubeplot
 
def make_isomatrices (self)
 
def isometric_projection (self, x, y, z)
 
def isogrids (self)
 
def isoticks (self, ax, col)
 
def isolabels (self, xticlab, yticlab, zticlab, ax, col)
 
def isolines (self)
 

Public Attributes

 normaltickes
 
 subplot1
 
 alpha
 
 beta
 
 cmap
 
 xlen
 
 ylen
 
 zlen
 
 xticlab
 
 yticlab
 
 zticlab
 
 xticloc
 
 yticloc
 
 zticloc
 
 cbar
 
 datalims
 
 flag
 
 pc
 

Detailed Description

Plotting class for cube plots. Performs isometric projections of three 2D plots onto three faces of a cube.

Constructor & Destructor Documentation

def UniDec.unidec_modules.plot3d.CubePlot.__init__ (   self,
  args,
  kwargs 
)
Initialize the plotting window. Specify axes. Specify that the plot does not have normal tick marks to repaint.
:param args:
:param kwargs:
:return: CubePlot Object

Member Function Documentation

def UniDec.unidec_modules.plot3d.CubePlot.cubeplot (   self,
  xaxis,
  yaxis,
  zaxis,
  C,
  C2,
  C3,
  xlab = "",
  ylab = "",
  zlab = "",
  cmap = "jet" 
)
Make 2D isometric projection plot of three cube faces
:param xaxis: X-axis values
:param yaxis: Y-axis values
:param zaxis: Z-axis values
:param C: Intensity grid for X v. Y face
:param C2: Intensity grid for X v. Z face
:param C3: Intensity grid for Y v. Z face
:param xlab: X-axis label
:param ylab: Y-axis label
:param zlab: Z-axis label
:param cmap: Colormap for 2D plot
:return: None

Here is the call graph for this function:

def UniDec.unidec_modules.plot3d.CubePlot.isogrids (   self)
Sets jsometric projections of X, Y, and Z axis grids
:return: None

Here is the call graph for this function:

def UniDec.unidec_modules.plot3d.CubePlot.isolabels (   self,
  xticlab,
  yticlab,
  zticlab,
  ax,
  col 
)
Draw isometric projection of axis labels
:param xticlab: X-axis label (string)
:param yticlab: Y-axis label (string)
:param zticlab: Z-axis label (string)
:param ax: Axis object
:param col: Color (not presently used)
:return: None

Here is the call graph for this function:

def UniDec.unidec_modules.plot3d.CubePlot.isolines (   self)
Draw isometric projection of lines at the edge of the cube.
:return: None

Here is the call graph for this function:

def UniDec.unidec_modules.plot3d.CubePlot.isometric_projection (   self,
  x,
  y,
  z 
)
Give the isometric projection of a given (x,y,z) onto a plane set by self.alpha and self.beta
:param x: x value (float)
:param y: y value (float)
:param z: z value (float)
:return: o, isometric projection vector

Here is the caller graph for this function:

def UniDec.unidec_modules.plot3d.CubePlot.isoticks (   self,
  ax,
  col 
)
Draws isometric projection of tick marks.
:param ax: Axis object
:param col: Color of ticks
:return: None

Here is the call graph for this function:

def UniDec.unidec_modules.plot3d.CubePlot.make_isomatrices (   self)
Make projection matrix, self.pc, for calculating isometric projection
:return: None

Member Data Documentation

UniDec.unidec_modules.plot3d.CubePlot.alpha
UniDec.unidec_modules.plot3d.CubePlot.beta
UniDec.unidec_modules.plot3d.CubePlot.cbar
UniDec.unidec_modules.plot3d.CubePlot.cmap
UniDec.unidec_modules.plot3d.CubePlot.datalims
UniDec.unidec_modules.plot3d.CubePlot.flag
UniDec.unidec_modules.plot3d.CubePlot.normaltickes
UniDec.unidec_modules.plot3d.CubePlot.pc
UniDec.unidec_modules.plot3d.CubePlot.subplot1
UniDec.unidec_modules.plot3d.CubePlot.xlen
UniDec.unidec_modules.plot3d.CubePlot.xticlab
UniDec.unidec_modules.plot3d.CubePlot.xticloc
UniDec.unidec_modules.plot3d.CubePlot.ylen
UniDec.unidec_modules.plot3d.CubePlot.yticlab
UniDec.unidec_modules.plot3d.CubePlot.yticloc
UniDec.unidec_modules.plot3d.CubePlot.zlen
UniDec.unidec_modules.plot3d.CubePlot.zticlab
UniDec.unidec_modules.plot3d.CubePlot.zticloc

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