phystricks
Public Member Functions | Public Attributes | Private Member Functions | List of all members
phystricks.src.CustomSurfaceGraph.CustomSurfaceGraph Class Reference
Inheritance diagram for phystricks.src.CustomSurfaceGraph.CustomSurfaceGraph:
Inheritance graph
[legend]
Collaboration diagram for phystricks.src.CustomSurfaceGraph.CustomSurfaceGraph:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, args)
 
def tikz_code (self, pspict=None)
 
def latex_code (self, language=None, pspict=None)
 

Public Attributes

 graphList
 
 edges
 

Private Member Functions

def _bounding_box (self, pspict=None)
 
def _math_bounding_box (self, pspict=None)
 

Detailed Description

INPUT:

- args - A list or a tuple of graphs that can compose a \pscustom

Constructor & Destructor Documentation

def phystricks.src.CustomSurfaceGraph.CustomSurfaceGraph.__init__ (   self,
  args 
)

Member Function Documentation

def phystricks.src.CustomSurfaceGraph.CustomSurfaceGraph._bounding_box (   self,
  pspict = None 
)
private
def phystricks.src.CustomSurfaceGraph.CustomSurfaceGraph._math_bounding_box (   self,
  pspict = None 
)
private
def phystricks.src.CustomSurfaceGraph.CustomSurfaceGraph.latex_code (   self,
  language = None,
  pspict = None 
)
There are two quite different ways to get here. The first is to ask a surface under a function and the second is to ask for a rectangle or a polygon.

if self.parameters.color is given, this will be the color of the edges

If one wants to give different colors to edges, one has to ask explicitly using
self.Isegment
self.Fsegment
self.curve1
self.curve2
in the case of surface between curves.

If one wants the surface to be filled or hatched, on has to ask explicitly.
def phystricks.src.CustomSurfaceGraph.CustomSurfaceGraph.tikz_code (   self,
  pspict = None 
)
If the CustomSurface has to be filled, we start by plotting the filling.

Then we plot, separately, the lines making the border. Thus we can have different colors and line style for the different edges.

Member Data Documentation

phystricks.src.CustomSurfaceGraph.CustomSurfaceGraph.edges
phystricks.src.CustomSurfaceGraph.CustomSurfaceGraph.graphList

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