Trees | Indices | Help |
---|
|
object --+ | ComparativeScatterPlot
Display a scatter-type plot comparing two different kinds of info. Attributes; o display_info -- a 2D list of the information we'll be outputting. Each top level list is a different data type, and each data point is a two-tuple of the coordinates of a point. So if you had two distributions of points, it should look like: display_info = [[(1, 2), (3, 4)], [(5, 6), (7, 8)]] if everything is just one set of points, display_info can look like: display_info = [[(1, 2), (3, 4), (5, 6)]]
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Write the comparative plot to a file. Arguments: o output_file - The name of the file to output the information to, or a handle to write to. o title - A title to display on the graphic. |
Set the colors and shapes of the points displayed. By default this just sets all of the points according to the order of colors and shapes defined in self.color_choices and self.shape_choices. The first 5 shapes and colors are unique, the rest of them are just set to the same color and shape (since I ran out of shapes!). You can change how this function works by either changing the values of the color_choices and shape_choices attributes, or by inheriting from this class and overriding this function. |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sat Aug 20 10:37:31 2011 | http://epydoc.sourceforge.net |