Create a South-polar Stereographic Azimuthal projection map extending from the South Pole to 20 degrees S, centered on longitude 150 degrees West. Include a value for the Origin property in
Display vector maps as lines or patches (filled-in polygons). Mapping Toolbox functions let you display patch vector data that uses NaNs to separate closed regions.
Create a new regular data grid that covers the region of the geolocated data grid, then embed the color data values into the new matrix. The new matrix might need to have somewhat lower
QUIVERMC is an adapted version of Andrew Roberts' ncquiverref. This function fixes a couple of problems with Matlab's quiverm function. The two primary issues with quiverm are as follows:
Manipulate displayed map objects by name. Many functions assign descriptive names to the Tag property of the objects they create. The namem and related functions allow you to control the
Fit gridded data to fine and coarse graticules. The choice of graticule is a balance of speed over precision in terms of positioning the grid on the map. Typically, there is no point to
Combine an elevation data grid and an attribute (color) data grid that cover the same region but are gridded differently. The example drapes slope data from a regular data grid on top of
Create simple maps using the worldmap function. The example uses sample data sets included in the matlabroot/toolbox/map/mapdata folder.
Create a map with a long, narrow, oblique Mercator projection. The example shows the area 10 degrees to either side of the great-circle flight path from Tokyo to New York. You can't use
Create maps of the United States using the usamap function. The usamap function lets you make maps of the United States as a whole, just the conterminous portion (the "lower 48" states),
Change the projection of a map and update the meridian and parallel labels.
Construct an Orthographic projection map with the origin centered near Paris, France. You can't use MapLatLimit or MapLonLimit here.
Specify the map projection origin and frame limits using the two map limit properties: MapLatLimit and MapLonLimit . While the map axes supports properties to set these values directly,
Create a map of the standard version of the Lambert Conformal Conic projection covering latitudes 20 North to 75 North and longitudes covering 90 degrees starting at 30 degrees West.
Create an opaque surface over which you can display line and point data. This can be useful with Globe displays that depict 3-D objects. You can see into and through them as long as no opaque
The figure of the Earth (the geoid data set) draped on topographic relief (the topo data set). The geoid data is shown as an attribute (using a color scale) rather than being depicted as a 3-D
Add a light source to a surface colored data grid. The toolbox manages light objects with the lightm function.
Create cylindrical projection using map limit properties.
Display vector data as points and lines. Mapping Toolbox vector map display of line objects works much like MATLAB line display functions. Mapping Toolbox supports versions of many MATLAB
Create a map of the standard version of the Lambert Conformal Conic projection into the Southern Hemisphere. The example overrides the default standard parallels and sets the MapLatLimit
Use geographic and nongeographic objects in a map axes. The example illustrates the difference between using MATLAB functions, such as plot and grid , and their Mapping Toolbox
Change a map projection when displaying vector data using geoshow . If you need to change projections when displaying both raster and vector geodata, you can combine these techniques.
Create a map of an Equidistant Azimuthal projection with the origin on the Equator, covering from 10° E to 170° E. The origin longitude falls at the center of this range (90 E), and the map
Switch from one projection to another and reset the origin and frame limits, especially when mapping a small portion of the Earth.
Create 3-D displays with raster data by setting up surface views, which requires explicit horizontal coordinates. The simplest way to display raster data is to assign colors to matrix
Change a map projection when using the geoshow function with a map axes with raster data.
Create a choropleth map of population density for the six New England states in the year 2000.
Construct a North-polar Equal-Area Azimuthal projection map extending from the Equator to the pole and centered by default on longitude 0.
Inset maps are often used to display widely separated areas, generally at the same scale, or to place a map in context by including overviews at smaller scales. You can create inset maps by
Plot four regions of Robinson frame and grid using map limits. Initially, each of the plots shows the entire world, FLatLimit is [-90 90], and FLonLimit is [-180 180] for each case. The frame
Illustrates the differences between the two-dimensional orthographic projection, which looks spherical but is really flat, and the three-dimensional Globe display. Use the Rotate 3D
Add graphic scales to maps and how to modify the display properties of graphic scales.
To set up an appropriate map projection, pass the korea data grid and referencing vector to worldmap .
The north arrow element provides the orientation of a map by pointing to the geographic North Pole. You can use the northarrow function to display a symbol indicating the direction due north
Display the usastatelo data set as patches, setting up the map with worldmap and plotting it with geoshow . Note that the default face color is yellow.
Use surflm to simulate a single light source in a figure. The example uses worldmap to set up an appropriate map axes and reference outlines.
You can create dramatic 3-D views using the Globe display. The camtargm and camposm functions (Mapping Toolbox functions corresponding to camtarget and campos ) enable you to position
Because the Globe display can be viewed from any angle without the need to recompute a projection, you can easily animate it to produce a rotating globe. If the displayed data is simple enough,
Create colormaps that make surfaces look like contour maps for other types of data besides terrain. The contourcmap function creates a colormap that has color changes at a fixed value
Create a global topographic map and add a local light. The example also shows how to change the material and lighting properties and add a second light source.
Use surflsrm to display surface illumination over colored elevation data.