EVOLUTION-MANAGER
Edit File: draw.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: Draw a line or polygon</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 draw {raster}"><tr><td>draw {raster}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2> Draw a line or polygon </h2> <h3>Description</h3> <p>Draw a line or polygon on a plot (map) and save it for later use. After calling the function, start clicking on the map. To finish, right-click and select 'stop'. </p> <h3>Usage</h3> <pre> drawPoly(sp=TRUE, col='red', lwd=2, ...) drawLine(sp=TRUE, col='red', lwd=2, ...) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>sp</code></td> <td> <p>logical. If <code>TRUE</code>, the output will be a sp object (SpatialPolygons or SpatialLines). Otherwise a matrix of coordinates is returned</p> </td></tr> <tr valign="top"><td><code>col</code></td> <td> <p>the color of the lines to be drawn</p> </td></tr> <tr valign="top"><td><code>lwd</code></td> <td> <p>the width of the lines to be drawn</p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>additional arguments padded to locator</p> </td></tr> </table> <h3>Value</h3> <p>If <code>sp==TRUE</code> a SpatialPolygons or SpatialLines object; otherwise a matrix of coordinates </p> <h3>See Also</h3> <p><code><a href="../../graphics/html/locator.html">locator</a></code> </p> <hr /><div style="text-align: center;">[Package <em>raster</em> version 3.3-13 <a href="00Index.html">Index</a>]</div> </body></html>