gridpoints | R Documentation |
This little function will return the co-ordinates and put a marker on given grid points. It is
essentially the same ase points
, but it accepts grid indices in
stead of geographical co-ordinates.
gridpoints(x, y=NULL, ...)
x , y |
Grid indices (column and row) of the points to plot. Either 2 vectors, or a 2-column matrix. |
... |
Graphical parameters for the generic |
A list with following members:
data |
The value of the field in the chosen grid point. |
x , y |
The actual coordinates of the chosen grid point. |
i , j |
The matrix indices of the chosen grid point. |
DomainPoints
,points
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.