<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: package dataplot.bike.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>.<a href="dataplot.bike.html"><font color="#ffffff">bike</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/bike/R/__init__.py">/home/thocking/dataplot/docs/htdocs/pydoc/dataplot/bike/R/__init__.py</a></font></td></tr></table>
<p></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.R.html#Plot">dataplot.R.Plot</a>(<a href="dataplot.html#GenericPlot">dataplot.GenericPlot</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="dataplot.bike.R.html#ThereAndBackPlot">ThereAndBackPlot</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="ThereAndBackPlot">class <strong>ThereAndBackPlot</strong></a>(<a href="dataplot.R.html#Plot">dataplot.R.Plot</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.bike.R.html#ThereAndBackPlot">ThereAndBackPlot</a></dd>
<dd><a href="dataplot.R.html#Plot">dataplot.R.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_code_filename</strong> = 'bikelog.plots.R'</dl>
<dl><dt><strong>r_fun_name</strong> = 'df.to.work.and.back.plot'</dl>
<hr>
Methods inherited from <a href="dataplot.R.html#Plot">dataplot.R.Plot</a>:<br>
<dl><dt><a name="ThereAndBackPlot-__init__"><strong>__init__</strong></a>(self, *args, **kwargs)</dt><dd><tt>Infer default values at init.</tt></dd></dl>
<dl><dt><a name="ThereAndBackPlot-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="ThereAndBackPlot-get_data_file"><strong>get_data_file</strong></a>(self)</dt></dl>
<dl><dt><a name="ThereAndBackPlot-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="ThereAndBackPlot-get_test_file"><strong>get_test_file</strong></a>(self)</dt></dl>
<dl><dt><a name="ThereAndBackPlot-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="ThereAndBackPlot-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="ThereAndBackPlot-set_r_args"><strong>set_r_args</strong></a>(self)</dt></dl>
<dl><dt><a name="ThereAndBackPlot-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">dataplot.R.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="ThereAndBackPlot-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<dl><dt><a name="ThereAndBackPlot-convert"><strong>convert</strong></a>(self)</dt><dd><tt>Convert from PDF to other formats using ImageMagick.</tt></dd></dl>
<dl><dt><a name="ThereAndBackPlot-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="ThereAndBackPlot-do_chgrp_on"><strong>do_chgrp_on</strong></a>(self, fn)</dt></dl>
<dl><dt><a name="ThereAndBackPlot-from_filename"><strong>from_filename</strong></a>(self)</dt></dl>
<dl><dt><a name="ThereAndBackPlot-from_url"><strong>from_url</strong></a>(self)</dt></dl>
<dl><dt><a name="ThereAndBackPlot-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="ThereAndBackPlot-get_filenames"><strong>get_filenames</strong></a>(self)</dt><dd><tt>Return dictionary of image filenames.</tt></dd></dl>
<dl><dt><a name="ThereAndBackPlot-get_full_base"><strong>get_full_base</strong></a>(self)</dt></dl>
<dl><dt><a name="ThereAndBackPlot-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="ThereAndBackPlot-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="ThereAndBackPlot-makedirs"><strong>makedirs</strong></a>(self)</dt><dd><tt>Make subdirectories of media/ for this plot.</tt></dd></dl>
<dl><dt><a name="ThereAndBackPlot-makefiles"><strong>makefiles</strong></a>(self)</dt><dd><tt>Make initial file and conversions.<br>
<br>
<a href="#ThereAndBackPlot-makefile">makefile</a>() just makes the initial file.</tt></dd></dl>
<dl><dt><a name="ThereAndBackPlot-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="ThereAndBackPlot-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="ThereAndBackPlot-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="ThereAndBackPlot-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="ThereAndBackPlot-to_html_thumb"><strong>to_html_thumb</strong></a>(self)</dt><dd><tt>Render the PNG thumb.</tt></dd></dl>
<dl><dt><a name="ThereAndBackPlot-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>
</body></html>