EVOLUTION-MANAGER
Edit File: addPolygon.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Add a polygon to an existing xts plot</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for addPolygon {xts}"><tr><td>addPolygon {xts}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Add a polygon to an existing xts plot</h2> <h3>Description</h3> <p>Draw a polygon on an existing xts plot by specifying a time series of y coordinates. The xts index is used for the x coordinates and the first two columns are the upper and lower y coordinates, respectively. </p> <h3>Usage</h3> <pre> addPolygon(x, y = NULL, main = "", on = NA, col = NULL, ...) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>x</code></td> <td> <p>an xts object to plot. Must contain 2 columns for the upper and lower y coordinates for the polygon. The first column is interpreted as the upper y coordinates and the second column as the lower y coordinates. </p> </td></tr> <tr valign="top"><td><code>y</code></td> <td> <p>NULL, not used</p> </td></tr> <tr valign="top"><td><code>main</code></td> <td> <p>main title for a new panel if drawn.</p> </td></tr> <tr valign="top"><td><code>on</code></td> <td> <p>panel number to draw on. A new panel will be drawn if <code>on=NA</code>.</p> </td></tr> <tr valign="top"><td><code>col</code></td> <td> <p>color palette to use, set by default to rational choices.</p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>passthru parameters to <code><a href="../../graphics/html/par.html">par</a></code></p> </td></tr> </table> <h3>Author(s)</h3> <p>Ross Bennett</p> <h3>References</h3> <p>Based on code by Dirk Eddelbuettel from <a href="http://dirk.eddelbuettel.com/blog/2011/01/16/">http://dirk.eddelbuettel.com/blog/2011/01/16/</a> </p> <hr /><div style="text-align: center;">[Package <em>xts</em> version 0.12.2 <a href="00Index.html">Index</a>]</div> </body></html>