User`s guide
18-5
geoshow now creates a true 3-D surface if given a 'surface' DisplayType rather than
setting the ZData values to 0.
Texturemap DisplayType Behavior Changes
The 'texturemap' DisplayType now uses the pixel edges to create XData and YData
grids rather than using the pixel centers, which correctly registers the display to map
coordinates. The ZData contains an array of zeros having the same dimensions as the
XData and YData arrays, which exceed the input grid in size by one in both the x and y
dimensions.
You should use'texturemap' displays when the attribute being displayed is coded by
color (i.e. 2-D displays); use 'surface' displays when you need to show data with relief
(nonzero ZData).
More General Support for Graphics Properties
All Handle Graphics
®
patch properties are now supported for polygon inputs.
All Handle Graphics line properties are now supported for point and line inputs, except
that 'linestyle' is ignored for point inputs.
Limitations on Referencing Matrices for Geoshow Removed
geoshow is now capable of accepting any referencing matrix. Previously it could only
accept those referencing matrices that were convertible to referencing vectors.
mapshow and geoshow Ignore Empty Inputs Rather than Erroring
In previous versions, mapshow and geoshow would throw errors when provided with
empty ([]) arrays. This behavior could be inconvenient when running these functions
via scripts. The new behavior is also more consistent with that of MATLAB plotting
functions such as plot, surf, mesh, and contour.
dted Automatically Fixes Incorrectly Specified Longitude Directions in
DTED Data
Some DTED level 0 files available via the National Geospatial-Intelligence Agency's
(NGA) web interface may have minor errors. Specifically, Level 0 data for cells just to the
east of the prime meridian may have longitude coordinate strings with 'W' substituted for
'E'. The dted function now detects and automatically corrects this data error.