Mapping Toolbox | ![]() ![]() |
Create a figure window with a map axes and associated mapping tools
Activation
Command Line |
maptool( maptool(
|
Description
maptool
creates a figure window with a map axes and activates the Projection Control dialog box for defining map projection and display properties. The figure window features a special menu bar that provides access to most of the Mapping Toolbox GUIs.
maptool(
PropertyName
,PropertyValue,...)
creates a figure window with a map axes defined by the supplied map properties. The MapProjection
property must be the first input pair. maptool
supports the same map properties as axesm
.
maptool(
ProjectionFile
,
PropertyName
,PropertyValue,...)
allows for the omission of the MapProjection
property name. ProjectionFile
must be the identifying string of an available map projection.
h = maptool(...)
returns a two-element vector containing the handle of the maptool
figure window and the handle of the map axes.
Controls
The Load option is used to load workspace data. Select from the workspace names provided, or use the Specify Workspace option to enter a different workspace.
The Layers option is used to load a map layers workspace and activate the mlayers
tool. Select from the workspace names provided, or use the Other option to enter a different workspace. Choosing Workspace loads all structure variables in the current workspace.
The Renderer option is used to set the renderer for the maptool figure window. The Figure Renderer dialog box is activated when this option is selected.
The Variables option is used to view the current workspace variables.
The Command option brings up the Workspace Commands dialog box for entering commands to operate on the current workspace.
The Clear option is used to clear variables and functions from memory.
The Lines option activates the Line Map Input dialog box for projecting two- and three-dimensional line objects onto the map axes.
The Patches option activates the Patch Map Input dialog box for projecting patch objects onto the map axes.
The Regular Surfaces option activates the Mesh Map Input dialog box for projecting a regular matrix map onto a graticule projected onto the map axes.
The General Surfaces option activates the Surface Map Input dialog box for projecting a general matrix map onto the map axes.
The Comet option activates the Comet Map Input dialog box for a projecting two- or three-dimensional comet plot onto the map axes.
The Contours option activates the Contour Map Input dialog box for projecting a two- or three-dimensional contour plot onto the map axes.
The Quiver 2D option activates the Quiver Map Input dialog box for projecting a two-dimensional quiver plot onto the map axes.
The Quiver 3D option activates the Quiver3 Map Input dialog box for projecting a three-dimensional quiver plot onto the map axes.
The Stem option activates the Stem Map Input dialog box for projecting a stem plot onto the map axes.
The Scatter option activates the Scatter Map Input dialog box for projecting a scatter plot onto the map axes.
The Text option activates the Text Map Input dialog box for projecting text objects onto the map axes.
The Light option activates the Light Map Input dialog box for projecting light objects onto the map axes.
The Projection option activates the Projection Control dialog box for editing map projection properties and map display settings.
The Graticule option is used to view and edit the graticule size for surface maps.
The Legend option is used to display a contour map legend.
The Frame option is used to toggle the map frame on and off.
The Grid option is used to toggle the map grid on and off.
The Meridian Labels option is used to toggle the meridian grid labels
on and off.
The Parallel Labels option is used to toggle the parallel grid labels on and off.
The Tracks option activates the Define Tracks input box for calculating and displaying Great Circle and Rhumb Line tracks on the map axes.
The Small Circles option activates the Define Small Circles input box for calculating and displaying small circles on the map axes.
The Surface Distances option activates the Surface Distance dialog box for distance, azimuth, and reckoning calculations.
The Hide option is used to hide the mouse tool buttons.
The Off option is used to turn off the current mouse tool.
The Zoom Tool option is used to toggle Panzoom (panzoom
) mode on and off.
It is used for zooming in on a two-dimensional map display.
The Set Limits option is used to define the zoom out limits to the current settings on the axes.
The Full View option is used to zoom out to the current axes limit settings.
The Rotate option is used to toggle Rotate 3-D (rotate3d
) mode on and off. Rotate 3-D mode is used to interactively rotate the view of a three-dimensional plot.
The Origin option is used to toggle Origin (originui
) mode on and off. Origin mode is used to interactively modify the map origin.
The 2D View option is used to set the default two-dimensional view (azimuth=0, elevation=90).
The Objects option activates the Object Sets dialog box, which allows for property manipulation of objects displayed on the map axes.
The Edit option activates the Guide Property Editor to manipulate properties of a plotted object. Choose from the Current Object or Last Object options, or choose the Object option to activate the Select Object dialog box.
The Show option is used to set the Visible
property of mapped objects to 'on'
. The All option shows all currently mapped objects. The Object option activates the Select Object dialog box.
The Hide option is used to set the Visible
property of mapped objects to 'off'
. Choose from the All or Map options, or choose the Object option to activate the Select Object dialog box.
The Delete option is used to clear the selected objects. The All option clears the current map, frame, and grid lines. The map definition is left in the axes definition. The Map option clears the current map, deleting objects plotted on the map but leaving the frame and grid lines displayed. The Object option activates the Select Object dialog box.
The Axes option is used to manipulate the MATLAB Cartesian axes. The Show option shows this axes, the Hide option hides this axes, and the Color option allows for custom color selection for this axes.
The Colormaps menu allows for manipulation of the colormap for the current figure. See the clrmenu
reference page for details on the Colormaps menu options.
The Zoom button toggles Zoom mode on and off. Zoom mode is used for zooming in on a two-dimensional map display.
The Rotate button toggles Rotate 3-D mode on and off. Rotate 3-D mode is used to interactively rotate the view of a three-dimensional plot.
The Origin button toggles Origin mode on and off. Origin mode is used to interactively modify the map origin.
See Also
maptool
tools
![]() | linem, plotm, plot3m | maptrim | ![]() |