Menu

[r183]: / trunk / docs / htdocs / pydoc / dataplot.bike.R.html  Maximize  Restore  History

Download this file

161 lines (115 with data), 10.0 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!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>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<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>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Package Contents</strong></big></font></td></tr>
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</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>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</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>&nbsp;<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>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</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&nbsp;default&nbsp;values&nbsp;at&nbsp;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&nbsp;through&nbsp;files&nbsp;looking&nbsp;for&nbsp;the&nbsp;plot&nbsp;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&nbsp;to&nbsp;get&nbsp;the&nbsp;R&nbsp;function&nbsp;from&nbsp;the&nbsp;r&nbsp;environment.<br>
&nbsp;<br>
Returns&nbsp;true&nbsp;if&nbsp;it&nbsp;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&nbsp;a&nbsp;PDF&nbsp;device&nbsp;and&nbsp;execute&nbsp;R&nbsp;plotting&nbsp;code.<br>
&nbsp;<br>
Also&nbsp;executes&nbsp;the&nbsp;conversion&nbsp;to&nbsp;other&nbsp;formats.</tt></dd></dl>
<dl><dt><a name="ThereAndBackPlot-save_data"><strong>save_data</strong></a>(self)</dt><dd><tt>Save&nbsp;result&nbsp;of&nbsp;call&nbsp;to&nbsp;get_plot_args&nbsp;in&nbsp;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&nbsp;R&nbsp;code&nbsp;files&nbsp;looking&nbsp;for&nbsp;fun_name.<br>
&nbsp;<br>
Raise&nbsp;error&nbsp;if&nbsp;fun_name&nbsp;is&nbsp;never&nbsp;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&nbsp;from&nbsp;PDF&nbsp;to&nbsp;other&nbsp;formats&nbsp;using&nbsp;ImageMagick.</tt></dd></dl>
<dl><dt><a name="ThereAndBackPlot-do_chgrp"><strong>do_chgrp</strong></a>(self)</dt><dd><tt>Change&nbsp;group&nbsp;write&nbsp;perms&nbsp;if&nbsp;requested.<br>
&nbsp;<br>
This&nbsp;is&nbsp;useful&nbsp;if&nbsp;your&nbsp;testing&nbsp;and&nbsp;production&nbsp;webservers&nbsp;have<br>
different&nbsp;users&nbsp;but&nbsp;share&nbsp;the&nbsp;same&nbsp;media&nbsp;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&nbsp;through&nbsp;settings.INSTALLED_APPS&nbsp;for&nbsp;full&nbsp;paths.</tt></dd></dl>
<dl><dt><a name="ThereAndBackPlot-get_filenames"><strong>get_filenames</strong></a>(self)</dt><dd><tt>Return&nbsp;dictionary&nbsp;of&nbsp;image&nbsp;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&nbsp;input&nbsp;data&nbsp;from&nbsp;defaults&nbsp;and&nbsp;return&nbsp;value&nbsp;of&nbsp;tocall.<br>
&nbsp;<br>
1.&nbsp;defaults&nbsp;for&nbsp;this&nbsp;plot&nbsp;type<br>
2.&nbsp;returned&nbsp;arguments&nbsp;from&nbsp;get_plot_args</tt></dd></dl>
<dl><dt><a name="ThereAndBackPlot-get_urls"><strong>get_urls</strong></a>(self)</dt><dd><tt>Return&nbsp;dictionary&nbsp;of&nbsp;image&nbsp;URLs.<br>
&nbsp;<br>
Make&nbsp;the&nbsp;plot&nbsp;if&nbsp;it&nbsp;doesn't&nbsp;exist&nbsp;or&nbsp;caching&nbsp;is&nbsp;off.</tt></dd></dl>
<dl><dt><a name="ThereAndBackPlot-makedirs"><strong>makedirs</strong></a>(self)</dt><dd><tt>Make&nbsp;subdirectories&nbsp;of&nbsp;media/&nbsp;for&nbsp;this&nbsp;plot.</tt></dd></dl>
<dl><dt><a name="ThereAndBackPlot-makefiles"><strong>makefiles</strong></a>(self)</dt><dd><tt>Make&nbsp;initial&nbsp;file&nbsp;and&nbsp;conversions.<br>
&nbsp;<br>
<a href="#ThereAndBackPlot-makefile">makefile</a>()&nbsp;just&nbsp;makes&nbsp;the&nbsp;initial&nbsp;file.</tt></dd></dl>
<dl><dt><a name="ThereAndBackPlot-prefix"><strong>prefix</strong></a>(self, pre)</dt><dd><tt>Generalized&nbsp;form&nbsp;of&nbsp;url/filename&nbsp;reporting.<br>
&nbsp;<br>
pre:&nbsp;prefix&nbsp;to&nbsp;attach&nbsp;to&nbsp;the&nbsp;basename&nbsp;and&nbsp;suffix.</tt></dd></dl>
<dl><dt><a name="ThereAndBackPlot-render_html"><strong>render_html</strong></a>(self, tfile)</dt><dd><tt>Render&nbsp;a&nbsp;HTML&nbsp;template&nbsp;with&nbsp;self&nbsp;as&nbsp;context&nbsp;'plot'.</tt></dd></dl>
<dl><dt><a name="ThereAndBackPlot-to_html"><strong>to_html</strong></a>(self)</dt><dd><tt>Render&nbsp;the&nbsp;PNG&nbsp;image&nbsp;and&nbsp;link&nbsp;to&nbsp;the&nbsp;PDF.</tt></dd></dl>
<dl><dt><a name="ThereAndBackPlot-to_html_nolink"><strong>to_html_nolink</strong></a>(self)</dt><dd><tt>Render&nbsp;the&nbsp;PNG&nbsp;without&nbsp;link&nbsp;to&nbsp;PDF.</tt></dd></dl>
<dl><dt><a name="ThereAndBackPlot-to_html_thumb"><strong>to_html_thumb</strong></a>(self)</dt><dd><tt>Render&nbsp;the&nbsp;PNG&nbsp;thumb.</tt></dd></dl>
<dl><dt><a name="ThereAndBackPlot-view"><strong>view</strong></a>(self)</dt><dd><tt>Use&nbsp;some&nbsp;other&nbsp;program&nbsp;to&nbsp;look&nbsp;at&nbsp;rendered&nbsp;source&nbsp;image.<br>
&nbsp;<br>
Will&nbsp;make&nbsp;the&nbsp;source&nbsp;image&nbsp;if&nbsp;it&nbsp;does&nbsp;not&nbsp;exist&nbsp;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> = &lt;dictproxy object&gt;<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = &lt;attribute '__weakref__' of 'GenericPlot' objects&gt;<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;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>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.