SCM

SCM Repository

[latticeextra] Diff of /www/man/horizonplot.html
ViewVC logotype

Diff of /www/man/horizonplot.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 164, Sat Jul 31 11:34:36 2010 UTC revision 165, Sun Aug 1 12:55:44 2010 UTC
# Line 25  Line 25 
25    
26  ## Default S3 method:  ## Default S3 method:
27  horizonplot(x, data = NULL, ...,  horizonplot(x, data = NULL, ...,
     origin = function(y) na.omit(y)[1],  
28      horizonscale = NA,      horizonscale = NA,
29        origin = function(y) na.omit(y)[1],
30      colorkey = FALSE, legend = NULL,      colorkey = FALSE, legend = NULL,
31      panel = panel.horizonplot,      panel = panel.horizonplot,
32      prepanel = prepanel.horizonplot,      prepanel = prepanel.horizonplot,
# Line 73  Line 73 
73  In typical usage, the method of <code>xyplot</code> called will be  In typical usage, the method of <code>xyplot</code> called will be
74  <code>xyplot.ts</code>.  <code>xyplot.ts</code>.
75  </td></tr>  </td></tr>
 <tr valign="top"><td><code>origin</code></td>  
 <td>  
   
 the baseline y value for the first (positive) segment  
 (i.e. the value at which red changes to blue). This can be a  
 number, which is then fixed across all panels, or it can be a  
 function, which is evaluated with the <code>y</code> values in each  
 panel. The default is the first non-missing y value in each  
 panel. See the Details section.  
 </td></tr>  
76  <tr valign="top"><td><code>horizonscale</code></td>  <tr valign="top"><td><code>horizonscale</code></td>
77  <td>  <td>
78    
79  the scale of each color segment. There are 3 positive  the scale of each color segment. There are 3 positive
80  color segments and 3 negative segments. If this is a given as a  segments and 3 negative segments. If this is a given as a
81  number then all panels will have comparable distances, though not  number then all panels will have comparable distances, though not
82  necessarily the same actual values (similar in concept to  necessarily the same actual values (similar in concept to
83  <code>scales$relation = "sliced"</code>). If <code>NA</code>, as it is by  <code>scales$relation = "sliced"</code>). If <code>NA</code>, as it is by
84  default, then the scale is chosen in each panel to cover the range  default, then the scale is chosen in each panel to cover the range
85  of the data (unless overridden by <code>ylim</code>); see Details.  of the data (unless overridden by <code>ylim</code>); see Details.
86  </td></tr>  </td></tr>
87    <tr valign="top"><td><code>origin</code></td>
88    <td>
89    
90    the baseline y value for the first (positive) segment
91    (i.e. the value at which red changes to blue). This can be a
92    number, which is then fixed across all panels, or it can be a
93    function, which is evaluated with the <code>y</code> values in each
94    panel. The default is the first non-missing y value in each
95    panel. See the Details section.
96    </td></tr>
97  <tr valign="top"><td><code>colorkey, legend</code></td>  <tr valign="top"><td><code>colorkey, legend</code></td>
98  <td>  <td>
99    

Legend:
Removed from v.164  
changed lines
  Added in v.165

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business University of Wisconsin - Madison Powered By FusionForge