gstlal  1.4.1
Functions | Variables
python.plotutil Namespace Reference

plotting utilities module More...

Functions

def colour_from_instruments
 
def latexnumber (s)
 
def latexfilename (s)
 

Variables

tuple golden_ratio = (1. + math.sqrt(5.)) / 2.
 
 floatpattern = re.compile("([+-]?[.0-9]+)[Ee]([+-]?[0-9]+)")
 

Detailed Description

plotting utilities module

Function Documentation

◆ latexfilename()

def python.plotutil.latexfilename (   s)
Escapes "\\" and "_" characters, and replaces " " with "~"
(non-breaking space).

Definition at line 86 of file plotutil.py.

◆ latexnumber()

def python.plotutil.latexnumber (   s)
Convert a string of the form "d.dddde-dd" to "d.dddd \\times
10^{-dd}".  Strings that contain neither an "e" nor an "E" are
returned unchanged.

Definition at line 74 of file plotutil.py.