dataplot::shellscript::__init__::Plot Class Reference

List of all members.

Public Member Functions

def get_cline_template_dict
def get_cline
def write_data_to_infile
def makefile

Detailed Description

Make plots through the filesystem and command line programs.

Subclasses need to define:

1. A method get_plot_args, which returns a dictionary with at
   least one key 'data' which maps to a text string that will be
   written out to the input file for the command line program.

2. The attribute cmdtmp, which is a template string that will be
   filled in with the dictionary returned by get_plot_args. This
   string will be the command line that is executed to make the
   plot. You should use the 'infile' key in your string, i.e.

   cmdtmp='/usr/local/bin/hairpinplot.bash %(infile)s'

Definition at line 12 of file

Member Function Documentation

def dataplot::shellscript::__init__::Plot::get_cline   self  ) 

Construct command line based on template and dict.

Definition at line 33 of file

def dataplot::shellscript::__init__::Plot::get_cline_template_dict   self  ) 

Dict used to fill in self.cmdtmp string.

Definition at line 15 of file

def dataplot::shellscript::__init__::Plot::makefile   self  ) 

Write data to infile and then execute the commandline.

This presumably makes the convert_from file.

Definition at line 54 of file

def dataplot::shellscript::__init__::Plot::write_data_to_infile   self  ) 

Write data from get_plot_args into infile specified.

Presumably this data is the input for a command-line program.

Definition at line 41 of file

The documentation for this class was generated from the following file:
Generated on Tue Apr 22 23:16:24 2008 for django-dataplot by  doxygen 1.4.6