<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: package dataplot.R</title>
</head><body bgcolor="#f0f0f8">
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="dataplot.html"><font color="#ffffff">dataplot</font></a>.R</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/thocking/dataplot/docs/htdocs/pydoc/dataplot/R/__init__.py">/home/thocking/dataplot/docs/htdocs/pydoc/dataplot/R/__init__.py</a></font></td></tr></table>
<p><tt>Plots using R base graphics code and the rpy backend.</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Package Contents</strong></big></font></td></tr>
<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a>(<a href="__builtin__.html#object">__builtin__.object</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="dataplot.R.html#Plot">Plot</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="dataplot.R.html#Histogram">Histogram</a>
</font></dt><dt><font face="helvetica, arial"><a href="dataplot.R.html#NormalQQPlot">NormalQQPlot</a>
</font></dt><dt><font face="helvetica, arial"><a href="dataplot.R.html#Scatter">Scatter</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="dataplot.R.html#SquareScatter">SquareScatter</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="dataplot.R.html#CorrScatter">CorrScatter</a>
</font></dt></dl>
</dd>
</dl>
</dd>
<dt><font face="helvetica, arial"><a href="dataplot.R.html#TimeSeries">TimeSeries</a>
</font></dt><dt><font face="helvetica, arial"><a href="dataplot.R.html#barplot">barplot</a>
</font></dt><dt><font face="helvetica, arial"><a href="dataplot.R.html#multi_time_series">multi_time_series</a>
</font></dt></dl>
</dd>
</dl>
</dd>
<dt><font face="helvetica, arial">rpy.RPy_Exception(<a href="exceptions.html#Exception">exceptions.Exception</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="dataplot.R.html#RFunctionDoesNotExist">RFunctionDoesNotExist</a>
</font></dt></dl>
</dd>
</dl>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="CorrScatter">class <strong>CorrScatter</strong></a>(<a href="dataplot.R.html#SquareScatter">SquareScatter</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Scatterplot used to judge correlation between 2 variables.<br>
<br>
Same as <a href="#Scatter">Scatter</a> but with one.to.one=T and lty.x.y=2.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="dataplot.R.html#CorrScatter">CorrScatter</a></dd>
<dd><a href="dataplot.R.html#SquareScatter">SquareScatter</a></dd>
<dd><a href="dataplot.R.html#Scatter">Scatter</a></dd>
<dd><a href="dataplot.R.html#Plot">Plot</a></dd>
<dd><a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>default_kwargs</strong> = {'lty.x.y': 2, 'one.to.one': True}</dl>
<hr>
Data and other attributes inherited from <a href="dataplot.R.html#SquareScatter">SquareScatter</a>:<br>
<dl><dt><strong>h</strong> = 6.5</dl>
<dl><dt><strong>w</strong> = 6.5</dl>
<hr>
Data and other attributes inherited from <a href="dataplot.R.html#Scatter">Scatter</a>:<br>
<dl><dt><strong>default_args_map</strong> = {'xlab': 'x', 'ylab': 'y'}</dl>
<dl><dt><strong>r_fun_name</strong> = 'generic.scatter.plot'</dl>
<hr>
Methods inherited from <a href="dataplot.R.html#Plot">Plot</a>:<br>
<dl><dt><a name="CorrScatter-__init__"><strong>__init__</strong></a>(self, *args, **kwargs)</dt><dd><tt>Infer default values at init.</tt></dd></dl>
<dl><dt><a name="CorrScatter-check_files_for_function"><strong>check_files_for_function</strong></a>(self)</dt><dd><tt>Go through files looking for the plot function.</tt></dd></dl>
<dl><dt><a name="CorrScatter-get_data_file"><strong>get_data_file</strong></a>(self)</dt></dl>
<dl><dt><a name="CorrScatter-get_r_fun"><strong>get_r_fun</strong></a>(self, e<font color="#909090">=None</font>)</dt><dd><tt>Try to get the R function from the r environment.<br>
<br>
Returns true if it worked.</tt></dd></dl>
<dl><dt><a name="CorrScatter-get_test_file"><strong>get_test_file</strong></a>(self)</dt></dl>
<dl><dt><a name="CorrScatter-makefile"><strong>makefile</strong></a>(self)</dt><dd><tt>Start a PDF device and execute R plotting code.<br>
<br>
Also executes the conversion to other formats.</tt></dd></dl>
<dl><dt><a name="CorrScatter-save_data"><strong>save_data</strong></a>(self)</dt><dd><tt>Save result of call to get_plot_args in Rdata.</tt></dd></dl>
<dl><dt><a name="CorrScatter-set_r_args"><strong>set_r_args</strong></a>(self)</dt></dl>
<dl><dt><a name="CorrScatter-source_for_function"><strong>source_for_function</strong></a>(self)</dt><dd><tt>Source R code files looking for fun_name.<br>
<br>
Raise error if fun_name is never found.</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="dataplot.R.html#Plot">Plot</a>:<br>
<dl><dt><strong>convert_from</strong> = 'pdf'</dl>
<dl><dt><strong>convert_to</strong> = {'pdf': {'suffix': '.pdf'}, 'png': {'suffix': '.png'}, 'thumb': {'convert_args': '-resize 65x90', 'suffix': '-thumb.png'}}</dl>
<dl><dt><strong>view_program</strong> = 'xpdf'</dl>
<hr>
Methods inherited from <a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a>:<br>
<dl><dt><a name="CorrScatter-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<dl><dt><a name="CorrScatter-convert"><strong>convert</strong></a>(self)</dt><dd><tt>Convert from PDF to other formats using ImageMagick.</tt></dd></dl>
<dl><dt><a name="CorrScatter-do_chgrp"><strong>do_chgrp</strong></a>(self)</dt><dd><tt>Change group write perms if requested.<br>
<br>
This is useful if your testing and production webservers have<br>
different users but share the same media directory.</tt></dd></dl>
<dl><dt><a name="CorrScatter-do_chgrp_on"><strong>do_chgrp_on</strong></a>(self, fn)</dt></dl>
<dl><dt><a name="CorrScatter-from_filename"><strong>from_filename</strong></a>(self)</dt></dl>
<dl><dt><a name="CorrScatter-from_url"><strong>from_url</strong></a>(self)</dt></dl>
<dl><dt><a name="CorrScatter-get_app_dirs"><strong>get_app_dirs</strong></a>(self)</dt><dd><tt>Dig through settings.INSTALLED_APPS for full paths.</tt></dd></dl>
<dl><dt><a name="CorrScatter-get_filenames"><strong>get_filenames</strong></a>(self)</dt><dd><tt>Return dictionary of image filenames.</tt></dd></dl>
<dl><dt><a name="CorrScatter-get_full_base"><strong>get_full_base</strong></a>(self)</dt></dl>
<dl><dt><a name="CorrScatter-get_plot_args"><strong>get_plot_args</strong></a>(self)</dt><dd><tt>Gather input data from defaults and return value of tocall.<br>
<br>
1. defaults for this plot type<br>
2. returned arguments from get_plot_args</tt></dd></dl>
<dl><dt><a name="CorrScatter-get_urls"><strong>get_urls</strong></a>(self)</dt><dd><tt>Return dictionary of image URLs.<br>
<br>
Make the plot if it doesn't exist or caching is off.</tt></dd></dl>
<dl><dt><a name="CorrScatter-makedirs"><strong>makedirs</strong></a>(self)</dt><dd><tt>Make subdirectories of media/ for this plot.</tt></dd></dl>
<dl><dt><a name="CorrScatter-makefiles"><strong>makefiles</strong></a>(self)</dt><dd><tt>Make initial file and conversions.<br>
<br>
<a href="#CorrScatter-makefile">makefile</a>() just makes the initial file.</tt></dd></dl>
<dl><dt><a name="CorrScatter-prefix"><strong>prefix</strong></a>(self, pre)</dt><dd><tt>Generalized form of url/filename reporting.<br>
<br>
pre: prefix to attach to the basename and suffix.</tt></dd></dl>
<dl><dt><a name="CorrScatter-render_html"><strong>render_html</strong></a>(self, tfile)</dt><dd><tt>Render a HTML template with self as context 'plot'.</tt></dd></dl>
<dl><dt><a name="CorrScatter-to_html"><strong>to_html</strong></a>(self)</dt><dd><tt>Render the PNG image and link to the PDF.</tt></dd></dl>
<dl><dt><a name="CorrScatter-to_html_nolink"><strong>to_html_nolink</strong></a>(self)</dt><dd><tt>Render the PNG without link to PDF.</tt></dd></dl>
<dl><dt><a name="CorrScatter-to_html_thumb"><strong>to_html_thumb</strong></a>(self)</dt><dd><tt>Render the PNG thumb.</tt></dd></dl>
<dl><dt><a name="CorrScatter-view"><strong>view</strong></a>(self)</dt><dd><tt>Use some other program to look at rendered source image.<br>
<br>
Will make the source image if it does not exist yet.</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a>:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'GenericPlot' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
<dl><dt><strong>autosave</strong> = False</dl>
<dl><dt><strong>chgrp</strong> = None</dl>
<dl><dt><strong>convert_binary</strong> = 'convert'</dl>
<dl><dt><strong>enable_caching</strong> = False</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="Histogram">class <strong>Histogram</strong></a>(<a href="dataplot.R.html#Plot">Plot</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>generic histogram for showing a univariate distribution.<br>
<br>
Arguments passed verbatim to R base function hist.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="dataplot.R.html#Histogram">Histogram</a></dd>
<dd><a href="dataplot.R.html#Plot">Plot</a></dd>
<dd><a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>r_fun_name</strong> = 'hist'</dl>
<hr>
Methods inherited from <a href="dataplot.R.html#Plot">Plot</a>:<br>
<dl><dt><a name="Histogram-__init__"><strong>__init__</strong></a>(self, *args, **kwargs)</dt><dd><tt>Infer default values at init.</tt></dd></dl>
<dl><dt><a name="Histogram-check_files_for_function"><strong>check_files_for_function</strong></a>(self)</dt><dd><tt>Go through files looking for the plot function.</tt></dd></dl>
<dl><dt><a name="Histogram-get_data_file"><strong>get_data_file</strong></a>(self)</dt></dl>
<dl><dt><a name="Histogram-get_r_fun"><strong>get_r_fun</strong></a>(self, e<font color="#909090">=None</font>)</dt><dd><tt>Try to get the R function from the r environment.<br>
<br>
Returns true if it worked.</tt></dd></dl>
<dl><dt><a name="Histogram-get_test_file"><strong>get_test_file</strong></a>(self)</dt></dl>
<dl><dt><a name="Histogram-makefile"><strong>makefile</strong></a>(self)</dt><dd><tt>Start a PDF device and execute R plotting code.<br>
<br>
Also executes the conversion to other formats.</tt></dd></dl>
<dl><dt><a name="Histogram-save_data"><strong>save_data</strong></a>(self)</dt><dd><tt>Save result of call to get_plot_args in Rdata.</tt></dd></dl>
<dl><dt><a name="Histogram-set_r_args"><strong>set_r_args</strong></a>(self)</dt></dl>
<dl><dt><a name="Histogram-source_for_function"><strong>source_for_function</strong></a>(self)</dt><dd><tt>Source R code files looking for fun_name.<br>
<br>
Raise error if fun_name is never found.</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="dataplot.R.html#Plot">Plot</a>:<br>
<dl><dt><strong>convert_from</strong> = 'pdf'</dl>
<dl><dt><strong>convert_to</strong> = {'pdf': {'suffix': '.pdf'}, 'png': {'suffix': '.png'}, 'thumb': {'convert_args': '-resize 65x90', 'suffix': '-thumb.png'}}</dl>
<dl><dt><strong>h</strong> = 6.5</dl>
<dl><dt><strong>view_program</strong> = 'xpdf'</dl>
<dl><dt><strong>w</strong> = 9</dl>
<hr>
Methods inherited from <a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a>:<br>
<dl><dt><a name="Histogram-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<dl><dt><a name="Histogram-convert"><strong>convert</strong></a>(self)</dt><dd><tt>Convert from PDF to other formats using ImageMagick.</tt></dd></dl>
<dl><dt><a name="Histogram-do_chgrp"><strong>do_chgrp</strong></a>(self)</dt><dd><tt>Change group write perms if requested.<br>
<br>
This is useful if your testing and production webservers have<br>
different users but share the same media directory.</tt></dd></dl>
<dl><dt><a name="Histogram-do_chgrp_on"><strong>do_chgrp_on</strong></a>(self, fn)</dt></dl>
<dl><dt><a name="Histogram-from_filename"><strong>from_filename</strong></a>(self)</dt></dl>
<dl><dt><a name="Histogram-from_url"><strong>from_url</strong></a>(self)</dt></dl>
<dl><dt><a name="Histogram-get_app_dirs"><strong>get_app_dirs</strong></a>(self)</dt><dd><tt>Dig through settings.INSTALLED_APPS for full paths.</tt></dd></dl>
<dl><dt><a name="Histogram-get_filenames"><strong>get_filenames</strong></a>(self)</dt><dd><tt>Return dictionary of image filenames.</tt></dd></dl>
<dl><dt><a name="Histogram-get_full_base"><strong>get_full_base</strong></a>(self)</dt></dl>
<dl><dt><a name="Histogram-get_plot_args"><strong>get_plot_args</strong></a>(self)</dt><dd><tt>Gather input data from defaults and return value of tocall.<br>
<br>
1. defaults for this plot type<br>
2. returned arguments from get_plot_args</tt></dd></dl>
<dl><dt><a name="Histogram-get_urls"><strong>get_urls</strong></a>(self)</dt><dd><tt>Return dictionary of image URLs.<br>
<br>
Make the plot if it doesn't exist or caching is off.</tt></dd></dl>
<dl><dt><a name="Histogram-makedirs"><strong>makedirs</strong></a>(self)</dt><dd><tt>Make subdirectories of media/ for this plot.</tt></dd></dl>
<dl><dt><a name="Histogram-makefiles"><strong>makefiles</strong></a>(self)</dt><dd><tt>Make initial file and conversions.<br>
<br>
<a href="#Histogram-makefile">makefile</a>() just makes the initial file.</tt></dd></dl>
<dl><dt><a name="Histogram-prefix"><strong>prefix</strong></a>(self, pre)</dt><dd><tt>Generalized form of url/filename reporting.<br>
<br>
pre: prefix to attach to the basename and suffix.</tt></dd></dl>
<dl><dt><a name="Histogram-render_html"><strong>render_html</strong></a>(self, tfile)</dt><dd><tt>Render a HTML template with self as context 'plot'.</tt></dd></dl>
<dl><dt><a name="Histogram-to_html"><strong>to_html</strong></a>(self)</dt><dd><tt>Render the PNG image and link to the PDF.</tt></dd></dl>
<dl><dt><a name="Histogram-to_html_nolink"><strong>to_html_nolink</strong></a>(self)</dt><dd><tt>Render the PNG without link to PDF.</tt></dd></dl>
<dl><dt><a name="Histogram-to_html_thumb"><strong>to_html_thumb</strong></a>(self)</dt><dd><tt>Render the PNG thumb.</tt></dd></dl>
<dl><dt><a name="Histogram-view"><strong>view</strong></a>(self)</dt><dd><tt>Use some other program to look at rendered source image.<br>
<br>
Will make the source image if it does not exist yet.</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a>:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'GenericPlot' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
<dl><dt><strong>autosave</strong> = False</dl>
<dl><dt><strong>chgrp</strong> = None</dl>
<dl><dt><strong>convert_binary</strong> = 'convert'</dl>
<dl><dt><strong>enable_caching</strong> = False</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="NormalQQPlot">class <strong>NormalQQPlot</strong></a>(<a href="dataplot.R.html#Plot">Plot</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Use to see if univariate data are approximately normal.<br>
<br>
All arguments are passed verbatim to R base function qqnorm.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="dataplot.R.html#NormalQQPlot">NormalQQPlot</a></dd>
<dd><a href="dataplot.R.html#Plot">Plot</a></dd>
<dd><a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>r_fun_name</strong> = 'generic.qqnorm'</dl>
<hr>
Methods inherited from <a href="dataplot.R.html#Plot">Plot</a>:<br>
<dl><dt><a name="NormalQQPlot-__init__"><strong>__init__</strong></a>(self, *args, **kwargs)</dt><dd><tt>Infer default values at init.</tt></dd></dl>
<dl><dt><a name="NormalQQPlot-check_files_for_function"><strong>check_files_for_function</strong></a>(self)</dt><dd><tt>Go through files looking for the plot function.</tt></dd></dl>
<dl><dt><a name="NormalQQPlot-get_data_file"><strong>get_data_file</strong></a>(self)</dt></dl>
<dl><dt><a name="NormalQQPlot-get_r_fun"><strong>get_r_fun</strong></a>(self, e<font color="#909090">=None</font>)</dt><dd><tt>Try to get the R function from the r environment.<br>
<br>
Returns true if it worked.</tt></dd></dl>
<dl><dt><a name="NormalQQPlot-get_test_file"><strong>get_test_file</strong></a>(self)</dt></dl>
<dl><dt><a name="NormalQQPlot-makefile"><strong>makefile</strong></a>(self)</dt><dd><tt>Start a PDF device and execute R plotting code.<br>
<br>
Also executes the conversion to other formats.</tt></dd></dl>
<dl><dt><a name="NormalQQPlot-save_data"><strong>save_data</strong></a>(self)</dt><dd><tt>Save result of call to get_plot_args in Rdata.</tt></dd></dl>
<dl><dt><a name="NormalQQPlot-set_r_args"><strong>set_r_args</strong></a>(self)</dt></dl>
<dl><dt><a name="NormalQQPlot-source_for_function"><strong>source_for_function</strong></a>(self)</dt><dd><tt>Source R code files looking for fun_name.<br>
<br>
Raise error if fun_name is never found.</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="dataplot.R.html#Plot">Plot</a>:<br>
<dl><dt><strong>convert_from</strong> = 'pdf'</dl>
<dl><dt><strong>convert_to</strong> = {'pdf': {'suffix': '.pdf'}, 'png': {'suffix': '.png'}, 'thumb': {'convert_args': '-resize 65x90', 'suffix': '-thumb.png'}}</dl>
<dl><dt><strong>h</strong> = 6.5</dl>
<dl><dt><strong>view_program</strong> = 'xpdf'</dl>
<dl><dt><strong>w</strong> = 9</dl>
<hr>
Methods inherited from <a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a>:<br>
<dl><dt><a name="NormalQQPlot-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<dl><dt><a name="NormalQQPlot-convert"><strong>convert</strong></a>(self)</dt><dd><tt>Convert from PDF to other formats using ImageMagick.</tt></dd></dl>
<dl><dt><a name="NormalQQPlot-do_chgrp"><strong>do_chgrp</strong></a>(self)</dt><dd><tt>Change group write perms if requested.<br>
<br>
This is useful if your testing and production webservers have<br>
different users but share the same media directory.</tt></dd></dl>
<dl><dt><a name="NormalQQPlot-do_chgrp_on"><strong>do_chgrp_on</strong></a>(self, fn)</dt></dl>
<dl><dt><a name="NormalQQPlot-from_filename"><strong>from_filename</strong></a>(self)</dt></dl>
<dl><dt><a name="NormalQQPlot-from_url"><strong>from_url</strong></a>(self)</dt></dl>
<dl><dt><a name="NormalQQPlot-get_app_dirs"><strong>get_app_dirs</strong></a>(self)</dt><dd><tt>Dig through settings.INSTALLED_APPS for full paths.</tt></dd></dl>
<dl><dt><a name="NormalQQPlot-get_filenames"><strong>get_filenames</strong></a>(self)</dt><dd><tt>Return dictionary of image filenames.</tt></dd></dl>
<dl><dt><a name="NormalQQPlot-get_full_base"><strong>get_full_base</strong></a>(self)</dt></dl>
<dl><dt><a name="NormalQQPlot-get_plot_args"><strong>get_plot_args</strong></a>(self)</dt><dd><tt>Gather input data from defaults and return value of tocall.<br>
<br>
1. defaults for this plot type<br>
2. returned arguments from get_plot_args</tt></dd></dl>
<dl><dt><a name="NormalQQPlot-get_urls"><strong>get_urls</strong></a>(self)</dt><dd><tt>Return dictionary of image URLs.<br>
<br>
Make the plot if it doesn't exist or caching is off.</tt></dd></dl>
<dl><dt><a name="NormalQQPlot-makedirs"><strong>makedirs</strong></a>(self)</dt><dd><tt>Make subdirectories of media/ for this plot.</tt></dd></dl>
<dl><dt><a name="NormalQQPlot-makefiles"><strong>makefiles</strong></a>(self)</dt><dd><tt>Make initial file and conversions.<br>
<br>
<a href="#NormalQQPlot-makefile">makefile</a>() just makes the initial file.</tt></dd></dl>
<dl><dt><a name="NormalQQPlot-prefix"><strong>prefix</strong></a>(self, pre)</dt><dd><tt>Generalized form of url/filename reporting.<br>
<br>
pre: prefix to attach to the basename and suffix.</tt></dd></dl>
<dl><dt><a name="NormalQQPlot-render_html"><strong>render_html</strong></a>(self, tfile)</dt><dd><tt>Render a HTML template with self as context 'plot'.</tt></dd></dl>
<dl><dt><a name="NormalQQPlot-to_html"><strong>to_html</strong></a>(self)</dt><dd><tt>Render the PNG image and link to the PDF.</tt></dd></dl>
<dl><dt><a name="NormalQQPlot-to_html_nolink"><strong>to_html_nolink</strong></a>(self)</dt><dd><tt>Render the PNG without link to PDF.</tt></dd></dl>
<dl><dt><a name="NormalQQPlot-to_html_thumb"><strong>to_html_thumb</strong></a>(self)</dt><dd><tt>Render the PNG thumb.</tt></dd></dl>
<dl><dt><a name="NormalQQPlot-view"><strong>view</strong></a>(self)</dt><dd><tt>Use some other program to look at rendered source image.<br>
<br>
Will make the source image if it does not exist yet.</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a>:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'GenericPlot' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
<dl><dt><strong>autosave</strong> = False</dl>
<dl><dt><strong>chgrp</strong> = None</dl>
<dl><dt><strong>convert_binary</strong> = 'convert'</dl>
<dl><dt><strong>enable_caching</strong> = False</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="Plot">class <strong>Plot</strong></a>(<a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>R plot for the web.<br>
<br>
Uses the rpy package and base R graphics. The idea is separation<br>
of R and python code, so each subclass needs to map to an R<br>
function (r_fun_name) in a .R code file (r_code_filename) that can<br>
be sourced and used for plotting by rpy.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="dataplot.R.html#Plot">Plot</a></dd>
<dd><a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Plot-__init__"><strong>__init__</strong></a>(self, *args, **kwargs)</dt><dd><tt>Infer default values at init.</tt></dd></dl>
<dl><dt><a name="Plot-check_files_for_function"><strong>check_files_for_function</strong></a>(self)</dt><dd><tt>Go through files looking for the plot function.</tt></dd></dl>
<dl><dt><a name="Plot-get_data_file"><strong>get_data_file</strong></a>(self)</dt></dl>
<dl><dt><a name="Plot-get_r_fun"><strong>get_r_fun</strong></a>(self, e<font color="#909090">=None</font>)</dt><dd><tt>Try to get the R function from the r environment.<br>
<br>
Returns true if it worked.</tt></dd></dl>
<dl><dt><a name="Plot-get_test_file"><strong>get_test_file</strong></a>(self)</dt></dl>
<dl><dt><a name="Plot-makefile"><strong>makefile</strong></a>(self)</dt><dd><tt>Start a PDF device and execute R plotting code.<br>
<br>
Also executes the conversion to other formats.</tt></dd></dl>
<dl><dt><a name="Plot-save_data"><strong>save_data</strong></a>(self)</dt><dd><tt>Save result of call to get_plot_args in Rdata.</tt></dd></dl>
<dl><dt><a name="Plot-set_r_args"><strong>set_r_args</strong></a>(self)</dt></dl>
<dl><dt><a name="Plot-source_for_function"><strong>source_for_function</strong></a>(self)</dt><dd><tt>Source R code files looking for fun_name.<br>
<br>
Raise error if fun_name is never found.</tt></dd></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>convert_from</strong> = 'pdf'</dl>
<dl><dt><strong>convert_to</strong> = {'pdf': {'suffix': '.pdf'}, 'png': {'suffix': '.png'}, 'thumb': {'convert_args': '-resize 65x90', 'suffix': '-thumb.png'}}</dl>
<dl><dt><strong>h</strong> = 6.5</dl>
<dl><dt><strong>view_program</strong> = 'xpdf'</dl>
<dl><dt><strong>w</strong> = 9</dl>
<hr>
Methods inherited from <a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a>:<br>
<dl><dt><a name="Plot-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<dl><dt><a name="Plot-convert"><strong>convert</strong></a>(self)</dt><dd><tt>Convert from PDF to other formats using ImageMagick.</tt></dd></dl>
<dl><dt><a name="Plot-do_chgrp"><strong>do_chgrp</strong></a>(self)</dt><dd><tt>Change group write perms if requested.<br>
<br>
This is useful if your testing and production webservers have<br>
different users but share the same media directory.</tt></dd></dl>
<dl><dt><a name="Plot-do_chgrp_on"><strong>do_chgrp_on</strong></a>(self, fn)</dt></dl>
<dl><dt><a name="Plot-from_filename"><strong>from_filename</strong></a>(self)</dt></dl>
<dl><dt><a name="Plot-from_url"><strong>from_url</strong></a>(self)</dt></dl>
<dl><dt><a name="Plot-get_app_dirs"><strong>get_app_dirs</strong></a>(self)</dt><dd><tt>Dig through settings.INSTALLED_APPS for full paths.</tt></dd></dl>
<dl><dt><a name="Plot-get_filenames"><strong>get_filenames</strong></a>(self)</dt><dd><tt>Return dictionary of image filenames.</tt></dd></dl>
<dl><dt><a name="Plot-get_full_base"><strong>get_full_base</strong></a>(self)</dt></dl>
<dl><dt><a name="Plot-get_plot_args"><strong>get_plot_args</strong></a>(self)</dt><dd><tt>Gather input data from defaults and return value of tocall.<br>
<br>
1. defaults for this plot type<br>
2. returned arguments from get_plot_args</tt></dd></dl>
<dl><dt><a name="Plot-get_urls"><strong>get_urls</strong></a>(self)</dt><dd><tt>Return dictionary of image URLs.<br>
<br>
Make the plot if it doesn't exist or caching is off.</tt></dd></dl>
<dl><dt><a name="Plot-makedirs"><strong>makedirs</strong></a>(self)</dt><dd><tt>Make subdirectories of media/ for this plot.</tt></dd></dl>
<dl><dt><a name="Plot-makefiles"><strong>makefiles</strong></a>(self)</dt><dd><tt>Make initial file and conversions.<br>
<br>
<a href="#Plot-makefile">makefile</a>() just makes the initial file.</tt></dd></dl>
<dl><dt><a name="Plot-prefix"><strong>prefix</strong></a>(self, pre)</dt><dd><tt>Generalized form of url/filename reporting.<br>
<br>
pre: prefix to attach to the basename and suffix.</tt></dd></dl>
<dl><dt><a name="Plot-render_html"><strong>render_html</strong></a>(self, tfile)</dt><dd><tt>Render a HTML template with self as context 'plot'.</tt></dd></dl>
<dl><dt><a name="Plot-to_html"><strong>to_html</strong></a>(self)</dt><dd><tt>Render the PNG image and link to the PDF.</tt></dd></dl>
<dl><dt><a name="Plot-to_html_nolink"><strong>to_html_nolink</strong></a>(self)</dt><dd><tt>Render the PNG without link to PDF.</tt></dd></dl>
<dl><dt><a name="Plot-to_html_thumb"><strong>to_html_thumb</strong></a>(self)</dt><dd><tt>Render the PNG thumb.</tt></dd></dl>
<dl><dt><a name="Plot-view"><strong>view</strong></a>(self)</dt><dd><tt>Use some other program to look at rendered source image.<br>
<br>
Will make the source image if it does not exist yet.</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a>:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'GenericPlot' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
<dl><dt><strong>autosave</strong> = False</dl>
<dl><dt><strong>chgrp</strong> = None</dl>
<dl><dt><strong>convert_binary</strong> = 'convert'</dl>
<dl><dt><strong>enable_caching</strong> = False</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="RFunctionDoesNotExist">class <strong>RFunctionDoesNotExist</strong></a>(rpy.RPy_Exception)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="dataplot.R.html#RFunctionDoesNotExist">RFunctionDoesNotExist</a></dd>
<dd>rpy.RPy_Exception</dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
</dl>
<hr>
Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><a name="RFunctionDoesNotExist-__getitem__"><strong>__getitem__</strong></a>(...)</dt></dl>
<dl><dt><a name="RFunctionDoesNotExist-__init__"><strong>__init__</strong></a>(...)</dt></dl>
<dl><dt><a name="RFunctionDoesNotExist-__str__"><strong>__str__</strong></a>(...)</dt></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="Scatter">class <strong>Scatter</strong></a>(<a href="dataplot.R.html#Plot">Plot</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Simple x-y scatterplot.<br>
<br>
Required:<br>
x: list of ints or floats: horizontal values.<br>
y: list of ints or floats: vertical values.<br>
<br>
Optional:<br>
ann: list of strings: labels for each data point.<br>
pch: plotting symbol to use; see R>example(points).<br>
fit.lty: lty of least squares fit line, default: 0 => no line.<br>
axis.round: decimal points for rounding axis labels.<br>
lty.x.y: lty of line at x=y, default: 0 => no line.<br>
one.to.one: Force axes to be same?<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="dataplot.R.html#Scatter">Scatter</a></dd>
<dd><a href="dataplot.R.html#Plot">Plot</a></dd>
<dd><a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>default_args_map</strong> = {'xlab': 'x', 'ylab': 'y'}</dl>
<dl><dt><strong>r_fun_name</strong> = 'generic.scatter.plot'</dl>
<hr>
Methods inherited from <a href="dataplot.R.html#Plot">Plot</a>:<br>
<dl><dt><a name="Scatter-__init__"><strong>__init__</strong></a>(self, *args, **kwargs)</dt><dd><tt>Infer default values at init.</tt></dd></dl>
<dl><dt><a name="Scatter-check_files_for_function"><strong>check_files_for_function</strong></a>(self)</dt><dd><tt>Go through files looking for the plot function.</tt></dd></dl>
<dl><dt><a name="Scatter-get_data_file"><strong>get_data_file</strong></a>(self)</dt></dl>
<dl><dt><a name="Scatter-get_r_fun"><strong>get_r_fun</strong></a>(self, e<font color="#909090">=None</font>)</dt><dd><tt>Try to get the R function from the r environment.<br>
<br>
Returns true if it worked.</tt></dd></dl>
<dl><dt><a name="Scatter-get_test_file"><strong>get_test_file</strong></a>(self)</dt></dl>
<dl><dt><a name="Scatter-makefile"><strong>makefile</strong></a>(self)</dt><dd><tt>Start a PDF device and execute R plotting code.<br>
<br>
Also executes the conversion to other formats.</tt></dd></dl>
<dl><dt><a name="Scatter-save_data"><strong>save_data</strong></a>(self)</dt><dd><tt>Save result of call to get_plot_args in Rdata.</tt></dd></dl>
<dl><dt><a name="Scatter-set_r_args"><strong>set_r_args</strong></a>(self)</dt></dl>
<dl><dt><a name="Scatter-source_for_function"><strong>source_for_function</strong></a>(self)</dt><dd><tt>Source R code files looking for fun_name.<br>
<br>
Raise error if fun_name is never found.</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="dataplot.R.html#Plot">Plot</a>:<br>
<dl><dt><strong>convert_from</strong> = 'pdf'</dl>
<dl><dt><strong>convert_to</strong> = {'pdf': {'suffix': '.pdf'}, 'png': {'suffix': '.png'}, 'thumb': {'convert_args': '-resize 65x90', 'suffix': '-thumb.png'}}</dl>
<dl><dt><strong>h</strong> = 6.5</dl>
<dl><dt><strong>view_program</strong> = 'xpdf'</dl>
<dl><dt><strong>w</strong> = 9</dl>
<hr>
Methods inherited from <a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a>:<br>
<dl><dt><a name="Scatter-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<dl><dt><a name="Scatter-convert"><strong>convert</strong></a>(self)</dt><dd><tt>Convert from PDF to other formats using ImageMagick.</tt></dd></dl>
<dl><dt><a name="Scatter-do_chgrp"><strong>do_chgrp</strong></a>(self)</dt><dd><tt>Change group write perms if requested.<br>
<br>
This is useful if your testing and production webservers have<br>
different users but share the same media directory.</tt></dd></dl>
<dl><dt><a name="Scatter-do_chgrp_on"><strong>do_chgrp_on</strong></a>(self, fn)</dt></dl>
<dl><dt><a name="Scatter-from_filename"><strong>from_filename</strong></a>(self)</dt></dl>
<dl><dt><a name="Scatter-from_url"><strong>from_url</strong></a>(self)</dt></dl>
<dl><dt><a name="Scatter-get_app_dirs"><strong>get_app_dirs</strong></a>(self)</dt><dd><tt>Dig through settings.INSTALLED_APPS for full paths.</tt></dd></dl>
<dl><dt><a name="Scatter-get_filenames"><strong>get_filenames</strong></a>(self)</dt><dd><tt>Return dictionary of image filenames.</tt></dd></dl>
<dl><dt><a name="Scatter-get_full_base"><strong>get_full_base</strong></a>(self)</dt></dl>
<dl><dt><a name="Scatter-get_plot_args"><strong>get_plot_args</strong></a>(self)</dt><dd><tt>Gather input data from defaults and return value of tocall.<br>
<br>
1. defaults for this plot type<br>
2. returned arguments from get_plot_args</tt></dd></dl>
<dl><dt><a name="Scatter-get_urls"><strong>get_urls</strong></a>(self)</dt><dd><tt>Return dictionary of image URLs.<br>
<br>
Make the plot if it doesn't exist or caching is off.</tt></dd></dl>
<dl><dt><a name="Scatter-makedirs"><strong>makedirs</strong></a>(self)</dt><dd><tt>Make subdirectories of media/ for this plot.</tt></dd></dl>
<dl><dt><a name="Scatter-makefiles"><strong>makefiles</strong></a>(self)</dt><dd><tt>Make initial file and conversions.<br>
<br>
<a href="#Scatter-makefile">makefile</a>() just makes the initial file.</tt></dd></dl>
<dl><dt><a name="Scatter-prefix"><strong>prefix</strong></a>(self, pre)</dt><dd><tt>Generalized form of url/filename reporting.<br>
<br>
pre: prefix to attach to the basename and suffix.</tt></dd></dl>
<dl><dt><a name="Scatter-render_html"><strong>render_html</strong></a>(self, tfile)</dt><dd><tt>Render a HTML template with self as context 'plot'.</tt></dd></dl>
<dl><dt><a name="Scatter-to_html"><strong>to_html</strong></a>(self)</dt><dd><tt>Render the PNG image and link to the PDF.</tt></dd></dl>
<dl><dt><a name="Scatter-to_html_nolink"><strong>to_html_nolink</strong></a>(self)</dt><dd><tt>Render the PNG without link to PDF.</tt></dd></dl>
<dl><dt><a name="Scatter-to_html_thumb"><strong>to_html_thumb</strong></a>(self)</dt><dd><tt>Render the PNG thumb.</tt></dd></dl>
<dl><dt><a name="Scatter-view"><strong>view</strong></a>(self)</dt><dd><tt>Use some other program to look at rendered source image.<br>
<br>
Will make the source image if it does not exist yet.</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a>:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'GenericPlot' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
<dl><dt><strong>autosave</strong> = False</dl>
<dl><dt><strong>chgrp</strong> = None</dl>
<dl><dt><strong>convert_binary</strong> = 'convert'</dl>
<dl><dt><strong>enable_caching</strong> = False</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="SquareScatter">class <strong>SquareScatter</strong></a>(<a href="dataplot.R.html#Scatter">Scatter</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="dataplot.R.html#SquareScatter">SquareScatter</a></dd>
<dd><a href="dataplot.R.html#Scatter">Scatter</a></dd>
<dd><a href="dataplot.R.html#Plot">Plot</a></dd>
<dd><a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>h</strong> = 6.5</dl>
<dl><dt><strong>w</strong> = 6.5</dl>
<hr>
Data and other attributes inherited from <a href="dataplot.R.html#Scatter">Scatter</a>:<br>
<dl><dt><strong>default_args_map</strong> = {'xlab': 'x', 'ylab': 'y'}</dl>
<dl><dt><strong>r_fun_name</strong> = 'generic.scatter.plot'</dl>
<hr>
Methods inherited from <a href="dataplot.R.html#Plot">Plot</a>:<br>
<dl><dt><a name="SquareScatter-__init__"><strong>__init__</strong></a>(self, *args, **kwargs)</dt><dd><tt>Infer default values at init.</tt></dd></dl>
<dl><dt><a name="SquareScatter-check_files_for_function"><strong>check_files_for_function</strong></a>(self)</dt><dd><tt>Go through files looking for the plot function.</tt></dd></dl>
<dl><dt><a name="SquareScatter-get_data_file"><strong>get_data_file</strong></a>(self)</dt></dl>
<dl><dt><a name="SquareScatter-get_r_fun"><strong>get_r_fun</strong></a>(self, e<font color="#909090">=None</font>)</dt><dd><tt>Try to get the R function from the r environment.<br>
<br>
Returns true if it worked.</tt></dd></dl>
<dl><dt><a name="SquareScatter-get_test_file"><strong>get_test_file</strong></a>(self)</dt></dl>
<dl><dt><a name="SquareScatter-makefile"><strong>makefile</strong></a>(self)</dt><dd><tt>Start a PDF device and execute R plotting code.<br>
<br>
Also executes the conversion to other formats.</tt></dd></dl>
<dl><dt><a name="SquareScatter-save_data"><strong>save_data</strong></a>(self)</dt><dd><tt>Save result of call to get_plot_args in Rdata.</tt></dd></dl>
<dl><dt><a name="SquareScatter-set_r_args"><strong>set_r_args</strong></a>(self)</dt></dl>
<dl><dt><a name="SquareScatter-source_for_function"><strong>source_for_function</strong></a>(self)</dt><dd><tt>Source R code files looking for fun_name.<br>
<br>
Raise error if fun_name is never found.</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="dataplot.R.html#Plot">Plot</a>:<br>
<dl><dt><strong>convert_from</strong> = 'pdf'</dl>
<dl><dt><strong>convert_to</strong> = {'pdf': {'suffix': '.pdf'}, 'png': {'suffix': '.png'}, 'thumb': {'convert_args': '-resize 65x90', 'suffix': '-thumb.png'}}</dl>
<dl><dt><strong>view_program</strong> = 'xpdf'</dl>
<hr>
Methods inherited from <a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a>:<br>
<dl><dt><a name="SquareScatter-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<dl><dt><a name="SquareScatter-convert"><strong>convert</strong></a>(self)</dt><dd><tt>Convert from PDF to other formats using ImageMagick.</tt></dd></dl>
<dl><dt><a name="SquareScatter-do_chgrp"><strong>do_chgrp</strong></a>(self)</dt><dd><tt>Change group write perms if requested.<br>
<br>
This is useful if your testing and production webservers have<br>
different users but share the same media directory.</tt></dd></dl>
<dl><dt><a name="SquareScatter-do_chgrp_on"><strong>do_chgrp_on</strong></a>(self, fn)</dt></dl>
<dl><dt><a name="SquareScatter-from_filename"><strong>from_filename</strong></a>(self)</dt></dl>
<dl><dt><a name="SquareScatter-from_url"><strong>from_url</strong></a>(self)</dt></dl>
<dl><dt><a name="SquareScatter-get_app_dirs"><strong>get_app_dirs</strong></a>(self)</dt><dd><tt>Dig through settings.INSTALLED_APPS for full paths.</tt></dd></dl>
<dl><dt><a name="SquareScatter-get_filenames"><strong>get_filenames</strong></a>(self)</dt><dd><tt>Return dictionary of image filenames.</tt></dd></dl>
<dl><dt><a name="SquareScatter-get_full_base"><strong>get_full_base</strong></a>(self)</dt></dl>
<dl><dt><a name="SquareScatter-get_plot_args"><strong>get_plot_args</strong></a>(self)</dt><dd><tt>Gather input data from defaults and return value of tocall.<br>
<br>
1. defaults for this plot type<br>
2. returned arguments from get_plot_args</tt></dd></dl>
<dl><dt><a name="SquareScatter-get_urls"><strong>get_urls</strong></a>(self)</dt><dd><tt>Return dictionary of image URLs.<br>
<br>
Make the plot if it doesn't exist or caching is off.</tt></dd></dl>
<dl><dt><a name="SquareScatter-makedirs"><strong>makedirs</strong></a>(self)</dt><dd><tt>Make subdirectories of media/ for this plot.</tt></dd></dl>
<dl><dt><a name="SquareScatter-makefiles"><strong>makefiles</strong></a>(self)</dt><dd><tt>Make initial file and conversions.<br>
<br>
<a href="#SquareScatter-makefile">makefile</a>() just makes the initial file.</tt></dd></dl>
<dl><dt><a name="SquareScatter-prefix"><strong>prefix</strong></a>(self, pre)</dt><dd><tt>Generalized form of url/filename reporting.<br>
<br>
pre: prefix to attach to the basename and suffix.</tt></dd></dl>
<dl><dt><a name="SquareScatter-render_html"><strong>render_html</strong></a>(self, tfile)</dt><dd><tt>Render a HTML template with self as context 'plot'.</tt></dd></dl>
<dl><dt><a name="SquareScatter-to_html"><strong>to_html</strong></a>(self)</dt><dd><tt>Render the PNG image and link to the PDF.</tt></dd></dl>
<dl><dt><a name="SquareScatter-to_html_nolink"><strong>to_html_nolink</strong></a>(self)</dt><dd><tt>Render the PNG without link to PDF.</tt></dd></dl>
<dl><dt><a name="SquareScatter-to_html_thumb"><strong>to_html_thumb</strong></a>(self)</dt><dd><tt>Render the PNG thumb.</tt></dd></dl>
<dl><dt><a name="SquareScatter-view"><strong>view</strong></a>(self)</dt><dd><tt>Use some other program to look at rendered source image.<br>
<br>
Will make the source image if it does not exist yet.</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a>:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'GenericPlot' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
<dl><dt><strong>autosave</strong> = False</dl>
<dl><dt><strong>chgrp</strong> = None</dl>
<dl><dt><strong>convert_binary</strong> = 'convert'</dl>
<dl><dt><strong>enable_caching</strong> = False</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="TimeSeries">class <strong>TimeSeries</strong></a>(<a href="dataplot.R.html#Plot">Plot</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Simple cumulative time series.<br>
<br>
Required:<br>
d: list of time data producted with strftime('%s')<br>
<br>
Optional:<br>
y: values at time points. Will assume 1 for each as default.<br>
transform: how to transform the data before plotting, one of:<br>
'cumulative', 'monthly', 'daily'<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="dataplot.R.html#TimeSeries">TimeSeries</a></dd>
<dd><a href="dataplot.R.html#Plot">Plot</a></dd>
<dd><a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>default_args_map</strong> = {'xlab': 'd', 'ylab': 'y'}</dl>
<dl><dt><strong>r_fun_name</strong> = 'generic.time.series'</dl>
<hr>
Methods inherited from <a href="dataplot.R.html#Plot">Plot</a>:<br>
<dl><dt><a name="TimeSeries-__init__"><strong>__init__</strong></a>(self, *args, **kwargs)</dt><dd><tt>Infer default values at init.</tt></dd></dl>
<dl><dt><a name="TimeSeries-check_files_for_function"><strong>check_files_for_function</strong></a>(self)</dt><dd><tt>Go through files looking for the plot function.</tt></dd></dl>
<dl><dt><a name="TimeSeries-get_data_file"><strong>get_data_file</strong></a>(self)</dt></dl>
<dl><dt><a name="TimeSeries-get_r_fun"><strong>get_r_fun</strong></a>(self, e<font color="#909090">=None</font>)</dt><dd><tt>Try to get the R function from the r environment.<br>
<br>
Returns true if it worked.</tt></dd></dl>
<dl><dt><a name="TimeSeries-get_test_file"><strong>get_test_file</strong></a>(self)</dt></dl>
<dl><dt><a name="TimeSeries-makefile"><strong>makefile</strong></a>(self)</dt><dd><tt>Start a PDF device and execute R plotting code.<br>
<br>
Also executes the conversion to other formats.</tt></dd></dl>
<dl><dt><a name="TimeSeries-save_data"><strong>save_data</strong></a>(self)</dt><dd><tt>Save result of call to get_plot_args in Rdata.</tt></dd></dl>
<dl><dt><a name="TimeSeries-set_r_args"><strong>set_r_args</strong></a>(self)</dt></dl>
<dl><dt><a name="TimeSeries-source_for_function"><strong>source_for_function</strong></a>(self)</dt><dd><tt>Source R code files looking for fun_name.<br>
<br>
Raise error if fun_name is never found.</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="dataplot.R.html#Plot">Plot</a>:<br>
<dl><dt><strong>convert_from</strong> = 'pdf'</dl>
<dl><dt><strong>convert_to</strong> = {'pdf': {'suffix': '.pdf'}, 'png': {'suffix': '.png'}, 'thumb': {'convert_args': '-resize 65x90', 'suffix': '-thumb.png'}}</dl>
<dl><dt><strong>h</strong> = 6.5</dl>
<dl><dt><strong>view_program</strong> = 'xpdf'</dl>
<dl><dt><strong>w</strong> = 9</dl>
<hr>
Methods inherited from <a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a>:<br>
<dl><dt><a name="TimeSeries-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<dl><dt><a name="TimeSeries-convert"><strong>convert</strong></a>(self)</dt><dd><tt>Convert from PDF to other formats using ImageMagick.</tt></dd></dl>
<dl><dt><a name="TimeSeries-do_chgrp"><strong>do_chgrp</strong></a>(self)</dt><dd><tt>Change group write perms if requested.<br>
<br>
This is useful if your testing and production webservers have<br>
different users but share the same media directory.</tt></dd></dl>
<dl><dt><a name="TimeSeries-do_chgrp_on"><strong>do_chgrp_on</strong></a>(self, fn)</dt></dl>
<dl><dt><a name="TimeSeries-from_filename"><strong>from_filename</strong></a>(self)</dt></dl>
<dl><dt><a name="TimeSeries-from_url"><strong>from_url</strong></a>(self)</dt></dl>
<dl><dt><a name="TimeSeries-get_app_dirs"><strong>get_app_dirs</strong></a>(self)</dt><dd><tt>Dig through settings.INSTALLED_APPS for full paths.</tt></dd></dl>
<dl><dt><a name="TimeSeries-get_filenames"><strong>get_filenames</strong></a>(self)</dt><dd><tt>Return dictionary of image filenames.</tt></dd></dl>
<dl><dt><a name="TimeSeries-get_full_base"><strong>get_full_base</strong></a>(self)</dt></dl>
<dl><dt><a name="TimeSeries-get_plot_args"><strong>get_plot_args</strong></a>(self)</dt><dd><tt>Gather input data from defaults and return value of tocall.<br>
<br>
1. defaults for this plot type<br>
2. returned arguments from get_plot_args</tt></dd></dl>
<dl><dt><a name="TimeSeries-get_urls"><strong>get_urls</strong></a>(self)</dt><dd><tt>Return dictionary of image URLs.<br>
<br>
Make the plot if it doesn't exist or caching is off.</tt></dd></dl>
<dl><dt><a name="TimeSeries-makedirs"><strong>makedirs</strong></a>(self)</dt><dd><tt>Make subdirectories of media/ for this plot.</tt></dd></dl>
<dl><dt><a name="TimeSeries-makefiles"><strong>makefiles</strong></a>(self)</dt><dd><tt>Make initial file and conversions.<br>
<br>
<a href="#TimeSeries-makefile">makefile</a>() just makes the initial file.</tt></dd></dl>
<dl><dt><a name="TimeSeries-prefix"><strong>prefix</strong></a>(self, pre)</dt><dd><tt>Generalized form of url/filename reporting.<br>
<br>
pre: prefix to attach to the basename and suffix.</tt></dd></dl>
<dl><dt><a name="TimeSeries-render_html"><strong>render_html</strong></a>(self, tfile)</dt><dd><tt>Render a HTML template with self as context 'plot'.</tt></dd></dl>
<dl><dt><a name="TimeSeries-to_html"><strong>to_html</strong></a>(self)</dt><dd><tt>Render the PNG image and link to the PDF.</tt></dd></dl>
<dl><dt><a name="TimeSeries-to_html_nolink"><strong>to_html_nolink</strong></a>(self)</dt><dd><tt>Render the PNG without link to PDF.</tt></dd></dl>
<dl><dt><a name="TimeSeries-to_html_thumb"><strong>to_html_thumb</strong></a>(self)</dt><dd><tt>Render the PNG thumb.</tt></dd></dl>
<dl><dt><a name="TimeSeries-view"><strong>view</strong></a>(self)</dt><dd><tt>Use some other program to look at rendered source image.<br>
<br>
Will make the source image if it does not exist yet.</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a>:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'GenericPlot' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
<dl><dt><strong>autosave</strong> = False</dl>
<dl><dt><strong>chgrp</strong> = None</dl>
<dl><dt><strong>convert_binary</strong> = 'convert'</dl>
<dl><dt><strong>enable_caching</strong> = False</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="barplot">class <strong>barplot</strong></a>(<a href="dataplot.R.html#Plot">Plot</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Standard boring <a href="#barplot">barplot</a>.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="dataplot.R.html#barplot">barplot</a></dd>
<dd><a href="dataplot.R.html#Plot">Plot</a></dd>
<dd><a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods inherited from <a href="dataplot.R.html#Plot">Plot</a>:<br>
<dl><dt><a name="barplot-__init__"><strong>__init__</strong></a>(self, *args, **kwargs)</dt><dd><tt>Infer default values at init.</tt></dd></dl>
<dl><dt><a name="barplot-check_files_for_function"><strong>check_files_for_function</strong></a>(self)</dt><dd><tt>Go through files looking for the plot function.</tt></dd></dl>
<dl><dt><a name="barplot-get_data_file"><strong>get_data_file</strong></a>(self)</dt></dl>
<dl><dt><a name="barplot-get_r_fun"><strong>get_r_fun</strong></a>(self, e<font color="#909090">=None</font>)</dt><dd><tt>Try to get the R function from the r environment.<br>
<br>
Returns true if it worked.</tt></dd></dl>
<dl><dt><a name="barplot-get_test_file"><strong>get_test_file</strong></a>(self)</dt></dl>
<dl><dt><a name="barplot-makefile"><strong>makefile</strong></a>(self)</dt><dd><tt>Start a PDF device and execute R plotting code.<br>
<br>
Also executes the conversion to other formats.</tt></dd></dl>
<dl><dt><a name="barplot-save_data"><strong>save_data</strong></a>(self)</dt><dd><tt>Save result of call to get_plot_args in Rdata.</tt></dd></dl>
<dl><dt><a name="barplot-set_r_args"><strong>set_r_args</strong></a>(self)</dt></dl>
<dl><dt><a name="barplot-source_for_function"><strong>source_for_function</strong></a>(self)</dt><dd><tt>Source R code files looking for fun_name.<br>
<br>
Raise error if fun_name is never found.</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="dataplot.R.html#Plot">Plot</a>:<br>
<dl><dt><strong>convert_from</strong> = 'pdf'</dl>
<dl><dt><strong>convert_to</strong> = {'pdf': {'suffix': '.pdf'}, 'png': {'suffix': '.png'}, 'thumb': {'convert_args': '-resize 65x90', 'suffix': '-thumb.png'}}</dl>
<dl><dt><strong>h</strong> = 6.5</dl>
<dl><dt><strong>view_program</strong> = 'xpdf'</dl>
<dl><dt><strong>w</strong> = 9</dl>
<hr>
Methods inherited from <a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a>:<br>
<dl><dt><a name="barplot-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<dl><dt><a name="barplot-convert"><strong>convert</strong></a>(self)</dt><dd><tt>Convert from PDF to other formats using ImageMagick.</tt></dd></dl>
<dl><dt><a name="barplot-do_chgrp"><strong>do_chgrp</strong></a>(self)</dt><dd><tt>Change group write perms if requested.<br>
<br>
This is useful if your testing and production webservers have<br>
different users but share the same media directory.</tt></dd></dl>
<dl><dt><a name="barplot-do_chgrp_on"><strong>do_chgrp_on</strong></a>(self, fn)</dt></dl>
<dl><dt><a name="barplot-from_filename"><strong>from_filename</strong></a>(self)</dt></dl>
<dl><dt><a name="barplot-from_url"><strong>from_url</strong></a>(self)</dt></dl>
<dl><dt><a name="barplot-get_app_dirs"><strong>get_app_dirs</strong></a>(self)</dt><dd><tt>Dig through settings.INSTALLED_APPS for full paths.</tt></dd></dl>
<dl><dt><a name="barplot-get_filenames"><strong>get_filenames</strong></a>(self)</dt><dd><tt>Return dictionary of image filenames.</tt></dd></dl>
<dl><dt><a name="barplot-get_full_base"><strong>get_full_base</strong></a>(self)</dt></dl>
<dl><dt><a name="barplot-get_plot_args"><strong>get_plot_args</strong></a>(self)</dt><dd><tt>Gather input data from defaults and return value of tocall.<br>
<br>
1. defaults for this plot type<br>
2. returned arguments from get_plot_args</tt></dd></dl>
<dl><dt><a name="barplot-get_urls"><strong>get_urls</strong></a>(self)</dt><dd><tt>Return dictionary of image URLs.<br>
<br>
Make the plot if it doesn't exist or caching is off.</tt></dd></dl>
<dl><dt><a name="barplot-makedirs"><strong>makedirs</strong></a>(self)</dt><dd><tt>Make subdirectories of media/ for this plot.</tt></dd></dl>
<dl><dt><a name="barplot-makefiles"><strong>makefiles</strong></a>(self)</dt><dd><tt>Make initial file and conversions.<br>
<br>
<a href="#barplot-makefile">makefile</a>() just makes the initial file.</tt></dd></dl>
<dl><dt><a name="barplot-prefix"><strong>prefix</strong></a>(self, pre)</dt><dd><tt>Generalized form of url/filename reporting.<br>
<br>
pre: prefix to attach to the basename and suffix.</tt></dd></dl>
<dl><dt><a name="barplot-render_html"><strong>render_html</strong></a>(self, tfile)</dt><dd><tt>Render a HTML template with self as context 'plot'.</tt></dd></dl>
<dl><dt><a name="barplot-to_html"><strong>to_html</strong></a>(self)</dt><dd><tt>Render the PNG image and link to the PDF.</tt></dd></dl>
<dl><dt><a name="barplot-to_html_nolink"><strong>to_html_nolink</strong></a>(self)</dt><dd><tt>Render the PNG without link to PDF.</tt></dd></dl>
<dl><dt><a name="barplot-to_html_thumb"><strong>to_html_thumb</strong></a>(self)</dt><dd><tt>Render the PNG thumb.</tt></dd></dl>
<dl><dt><a name="barplot-view"><strong>view</strong></a>(self)</dt><dd><tt>Use some other program to look at rendered source image.<br>
<br>
Will make the source image if it does not exist yet.</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a>:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'GenericPlot' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
<dl><dt><strong>autosave</strong> = False</dl>
<dl><dt><strong>chgrp</strong> = None</dl>
<dl><dt><strong>convert_binary</strong> = 'convert'</dl>
<dl><dt><strong>enable_caching</strong> = False</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="multi_time_series">class <strong>multi_time_series</strong></a>(<a href="dataplot.R.html#Plot">Plot</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Multiple time series superimposed for comparison.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="dataplot.R.html#multi_time_series">multi_time_series</a></dd>
<dd><a href="dataplot.R.html#Plot">Plot</a></dd>
<dd><a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods inherited from <a href="dataplot.R.html#Plot">Plot</a>:<br>
<dl><dt><a name="multi_time_series-__init__"><strong>__init__</strong></a>(self, *args, **kwargs)</dt><dd><tt>Infer default values at init.</tt></dd></dl>
<dl><dt><a name="multi_time_series-check_files_for_function"><strong>check_files_for_function</strong></a>(self)</dt><dd><tt>Go through files looking for the plot function.</tt></dd></dl>
<dl><dt><a name="multi_time_series-get_data_file"><strong>get_data_file</strong></a>(self)</dt></dl>
<dl><dt><a name="multi_time_series-get_r_fun"><strong>get_r_fun</strong></a>(self, e<font color="#909090">=None</font>)</dt><dd><tt>Try to get the R function from the r environment.<br>
<br>
Returns true if it worked.</tt></dd></dl>
<dl><dt><a name="multi_time_series-get_test_file"><strong>get_test_file</strong></a>(self)</dt></dl>
<dl><dt><a name="multi_time_series-makefile"><strong>makefile</strong></a>(self)</dt><dd><tt>Start a PDF device and execute R plotting code.<br>
<br>
Also executes the conversion to other formats.</tt></dd></dl>
<dl><dt><a name="multi_time_series-save_data"><strong>save_data</strong></a>(self)</dt><dd><tt>Save result of call to get_plot_args in Rdata.</tt></dd></dl>
<dl><dt><a name="multi_time_series-set_r_args"><strong>set_r_args</strong></a>(self)</dt></dl>
<dl><dt><a name="multi_time_series-source_for_function"><strong>source_for_function</strong></a>(self)</dt><dd><tt>Source R code files looking for fun_name.<br>
<br>
Raise error if fun_name is never found.</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="dataplot.R.html#Plot">Plot</a>:<br>
<dl><dt><strong>convert_from</strong> = 'pdf'</dl>
<dl><dt><strong>convert_to</strong> = {'pdf': {'suffix': '.pdf'}, 'png': {'suffix': '.png'}, 'thumb': {'convert_args': '-resize 65x90', 'suffix': '-thumb.png'}}</dl>
<dl><dt><strong>h</strong> = 6.5</dl>
<dl><dt><strong>view_program</strong> = 'xpdf'</dl>
<dl><dt><strong>w</strong> = 9</dl>
<hr>
Methods inherited from <a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a>:<br>
<dl><dt><a name="multi_time_series-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<dl><dt><a name="multi_time_series-convert"><strong>convert</strong></a>(self)</dt><dd><tt>Convert from PDF to other formats using ImageMagick.</tt></dd></dl>
<dl><dt><a name="multi_time_series-do_chgrp"><strong>do_chgrp</strong></a>(self)</dt><dd><tt>Change group write perms if requested.<br>
<br>
This is useful if your testing and production webservers have<br>
different users but share the same media directory.</tt></dd></dl>
<dl><dt><a name="multi_time_series-do_chgrp_on"><strong>do_chgrp_on</strong></a>(self, fn)</dt></dl>
<dl><dt><a name="multi_time_series-from_filename"><strong>from_filename</strong></a>(self)</dt></dl>
<dl><dt><a name="multi_time_series-from_url"><strong>from_url</strong></a>(self)</dt></dl>
<dl><dt><a name="multi_time_series-get_app_dirs"><strong>get_app_dirs</strong></a>(self)</dt><dd><tt>Dig through settings.INSTALLED_APPS for full paths.</tt></dd></dl>
<dl><dt><a name="multi_time_series-get_filenames"><strong>get_filenames</strong></a>(self)</dt><dd><tt>Return dictionary of image filenames.</tt></dd></dl>
<dl><dt><a name="multi_time_series-get_full_base"><strong>get_full_base</strong></a>(self)</dt></dl>
<dl><dt><a name="multi_time_series-get_plot_args"><strong>get_plot_args</strong></a>(self)</dt><dd><tt>Gather input data from defaults and return value of tocall.<br>
<br>
1. defaults for this plot type<br>
2. returned arguments from get_plot_args</tt></dd></dl>
<dl><dt><a name="multi_time_series-get_urls"><strong>get_urls</strong></a>(self)</dt><dd><tt>Return dictionary of image URLs.<br>
<br>
Make the plot if it doesn't exist or caching is off.</tt></dd></dl>
<dl><dt><a name="multi_time_series-makedirs"><strong>makedirs</strong></a>(self)</dt><dd><tt>Make subdirectories of media/ for this plot.</tt></dd></dl>
<dl><dt><a name="multi_time_series-makefiles"><strong>makefiles</strong></a>(self)</dt><dd><tt>Make initial file and conversions.<br>
<br>
<a href="#multi_time_series-makefile">makefile</a>() just makes the initial file.</tt></dd></dl>
<dl><dt><a name="multi_time_series-prefix"><strong>prefix</strong></a>(self, pre)</dt><dd><tt>Generalized form of url/filename reporting.<br>
<br>
pre: prefix to attach to the basename and suffix.</tt></dd></dl>
<dl><dt><a name="multi_time_series-render_html"><strong>render_html</strong></a>(self, tfile)</dt><dd><tt>Render a HTML template with self as context 'plot'.</tt></dd></dl>
<dl><dt><a name="multi_time_series-to_html"><strong>to_html</strong></a>(self)</dt><dd><tt>Render the PNG image and link to the PDF.</tt></dd></dl>
<dl><dt><a name="multi_time_series-to_html_nolink"><strong>to_html_nolink</strong></a>(self)</dt><dd><tt>Render the PNG without link to PDF.</tt></dd></dl>
<dl><dt><a name="multi_time_series-to_html_thumb"><strong>to_html_thumb</strong></a>(self)</dt><dd><tt>Render the PNG thumb.</tt></dd></dl>
<dl><dt><a name="multi_time_series-view"><strong>view</strong></a>(self)</dt><dd><tt>Use some other program to look at rendered source image.<br>
<br>
Will make the source image if it does not exist yet.</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a>:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'GenericPlot' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
<dl><dt><strong>autosave</strong> = False</dl>
<dl><dt><strong>chgrp</strong> = None</dl>
<dl><dt><strong>convert_binary</strong> = 'convert'</dl>
<dl><dt><strong>enable_caching</strong> = False</dl>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt><a name="-values_to_df"><strong>values_to_df</strong></a>(values)</dt><dd><tt>Django values list of dicts -> R data.frame<br>
<br>
This makes writing Django and R code easy, since querysets and<br>
data.frames are the native ways of describing data tables in the<br>
respective programming paradigms.</tt></dd></dl>
</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td>
<td width="100%"><strong>r</strong> = <R instance></td></tr></table>
</body></html>