phystricks
Classes | Functions
phystricks.src.main Namespace Reference

Classes

class  FigureGenerationSuite
 

Functions

def no_symbol (arg)
 
def get_phystricks_version ()
 return the version of 'phystricks' More...
 
def get_equal_lengths_code (s1, s2, n=1, d=0.1, l=0.1, angle=45, pspict=None, pspicts=None)
 
def put_equal_lengths_code (s1, s2, n=1, d=0.1, l=0.1, angle=45, pspict=None, pspicts=None)
 
def GenericFigure (nom, script_filename=None)
 
def SinglePicture (name, script_filename=None)
 
def MultiplePictures (name, n=None, pspicts=None, script_filename=None)
 
def IndependentPictures (name, n)
 
def SubsetFigures (old_pspicts, old_fig, l)
 

Function Documentation

def phystricks.src.main.GenericFigure (   nom,
  script_filename = None 
)
This function returns a figure with some default values. 
It creates coherent label, file name and prints the lines 
to be appended in the LaTeX file to include the figure.
def phystricks.src.main.get_equal_lengths_code (   s1,
  s2,
  n = 1,
  d = 0.1,
  l = 0.1,
  angle = 45,
  pspict = None,
  pspicts = None 
)
def phystricks.src.main.get_phystricks_version ( )

return the version of 'phystricks'

def phystricks.src.main.IndependentPictures (   name,
  n 
)
Return a tuple of a list of 'n' pspictures and 'n' figures.
def phystricks.src.main.MultiplePictures (   name,
  n = None,
  pspicts = None,
  script_filename = None 
)
def phystricks.src.main.no_symbol (   arg)
def phystricks.src.main.put_equal_lengths_code (   s1,
  s2,
  n = 1,
  d = 0.1,
  l = 0.1,
  angle = 45,
  pspict = None,
  pspicts = None 
)
Add the code for equal length between segments s1 and s2
def phystricks.src.main.SinglePicture (   name,
  script_filename = None 
)
Return the tuple of pspicture and figure that one needs in 90% of the cases. 
def phystricks.src.main.SubsetFigures (   old_pspicts,
  old_fig,
  l 
)