Table of Contents

Module: madrigalPlot madrigalWebPlot/madrigalPlot.py

madrigalPlot is the module that produces plots of Madrigal data.

It is meant to be included as part of the Remote Python Madrigal API.

Presently based on madplotlib: http://matplotlib.sourceforge.net/

$Id: madrigalPlot.py.html 3304 2011-01-17 15:25:59Z brideout $

Functions   
convertToAbsoluteTimeStr
defineHomeEnvVariable
get_vo_cmap
  convertToAbsoluteTimeStr 
convertToAbsoluteTimeStr ( xticks,  noTime=False )

convertToAbsoluteTimeStr converts a list of strings containing seconds since 1/1/1950 to datetime string.

Input: xticks - a list of strings containing seconds since 1/1/1950

Returns: a list of strings formated as YYYY-MM-DD HH-MM-SS. If noTime, format as YYYY-MM-DD

  defineHomeEnvVariable 
defineHomeEnvVariable ()

defineHomeEnvVariable makes sure HOME env variable is defined, as required by matplotlib.

If not defined, sets HOME to PWD

  get_vo_cmap 
get_vo_cmap ()

get_vo_cmap is a function to return a colormap optimized to show sign changes in the middle of the range.

Classes   
madPcolorPlot

madPcolorPlot is the class that produces pcolor plots of x versus y with z intensity.

madScatterPlot

madScatterPlot is the class the produces two dimensional scatter plots of x versus y.


Table of Contents

This document was automatically generated on Fri May 1 09:51:15 2009 by HappyDoc version r1_5