Trees | Index | Help |
---|
Package Bio :: Package Graphics :: Module Distribution :: Class DistributionPage |
|
Display a grouping of distributions on a page.
This organizes Distributions, and will display them nicely on a single page.Method Summary | |
---|---|
__init__(self,
output_format)
| |
Draw out the distribution information. | |
Draw all of the distributions on the page. | |
Add a legend to the figure. | |
Add the title of the figure to the drawing. |
Method Details |
---|
draw(self, output_file, title)Draw out the distribution information. Arguments: o output_file - The name of the file to output the information to. o title - A title to display on the graphic. |
_draw_distributions(self, cur_drawing, start_x_pos, x_pos_change, start_y_pos, y_pos_change, num_y_drawings)Draw all of the distributions on the page. Arguments: o cur_drawing - The drawing we are working with. o start_x_pos - The x position on the page to start drawing at. o x_pos_change - The change in x position between each figure. o start_y_pos - The y position on the page to start drawing at. o y_pos_change - The change in y position between each figure. o num_y_drawings - The number of drawings we'll have in the y (up/down) direction. |
_draw_legend(self, cur_drawing, start_y, width)Add a legend to the figure. Subclasses can implement to provide a specialized legend. |
_draw_title(self, cur_drawing, title, width, height)Add the title of the figure to the drawing. |
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Aug 27 16:13:09 2007 | http://epydoc.sf.net |