grid2image - Display regular data grid as image
Syntax
grid2image(Z,R)
grid2image(Z,R,'PropertyName',PropertyValue,...)
h = grid2image(...)
Description
grid2image(Z,R) displays
a regular data grid as an image. Z can be a matrix
of dimension M-by-N or M-by-N-by-3, and can contain double, uint8,
or uint16 data. R is a 1-by-3
referencing vector defined as [cells/angle units north-latitude west-longitude],
or a 3-by-2 referencing matrix, defining a two-dimensional affine
transformation from pixel coordinates to spatial coordinates. The
displayed map is a Plate Carrée projection, treating longitude
as X and latitude as Y. This projection produces significant distortion
near the poles.
grid2image(Z,R,'PropertyName',PropertyValue,...) uses
the specified image properties to display the map. See the image function
reference page for a list of properties that can be changed.
h = grid2image(...) returns the handle
of the image object displayed.
See Also
image, mapshow, mapview, meshm, surfacem, surfm
 | gridm | | grn2eqa |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit