Documentation Center

  • Trial Software
  • Product Updates

framem

Toggle and control display of map frame

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 map axes property Frame to 'on' or 'off'. The default setting for map axes is 'off'.

framem('on') sets the map axes property Frame to 'on'.

framem('off') sets the map axes property Frame to 'off'.

When called with the string argument 'off', the map axes 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 map axes FEdgeColor property to the color component of any linespec string recognized by the MATLAB® line function.

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

More About

expand all

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')

See Also

|

Was this topic helpful?