Main Content

framem

Control frame of axesm-based map

Syntax

framem
framem('on')
framem('off')
framem('reset')
framem(linespec)
framem(PropertyName,PropertyValue,...)

Description

framem toggles the visibility of the map frame by setting the axesm-based map property Frame to 'on' or 'off'. The default setting for axesm-based maps is 'off'.

framem('on') sets the axesm-based map property Frame to 'on'.

framem('off') sets the axesm-based map property Frame to 'off'. When called with the value 'off', the axesm-based map property Frame is set to 'off'.

framem('reset') resets the entire frame using the current properties. This is essentially a refresh option.

framem(linespec) sets the axesm-based map FEdgeColor property to the color component of any MATLAB® linespec.

framem(PropertyName,PropertyValue,...) sets the appropriate axesm-based map properties to the desired values. These property names and values are described on the axesm reference page.

Tips

  • You can also create or alter map frame properties using the axesm or setm functions.

  • By default the Clipping property is set to 'off'. Override this setting with the following code:

    hgrat = gridm('on'); 
    set(hgrat,'Clipping','on')

Version History

Introduced before R2006a

See Also

|