Main Content

Globe Display

Plot data on 3-D globes, apply high-resolution or custom basemaps, apply custom terrain

Use globe display functions to visualize 3-D data over terrain, high-zoom-level basemaps, and other surfaces. Navigate globe displays interactively, or change your view programmatically by setting the camera position and camera rotation angles.

  • Display data such as flight trajectories over terrain and basemaps by using a geographic globe. You can plot height data with respect to the geoid, terrain, or WGS84 reference ellipsoid. For more information, see geoglobe.

  • Display data such as sea surface temperature and wind speed as a surface by using a globe projection. You can also use globe projections to model various reference ellipsoids, including ellipsoids for non-Earth planetary bodies. For more information, see globe.

Examples of geographic globe visualizations. Click to go to geoplot3.

Functions

expand all

Display Data

geoglobeCreate geographic globe (Since R2020a)
GeographicGlobeControl geographic globe appearance and behavior (Since R2020a)
geoplot3Geographic globe plot (Since R2020a)
Line PropertiesGeographic primitive line appearance and behavior (Since R2020a)

Change View

camposSet or query position of camera for geographic globe (Since R2020b)
camheightSet or query height of camera for geographic globe (Since R2020b)
camheadingSet or query heading angle of camera for geographic globe (Since R2020b)
campitchSet or query pitch angle of camera for geographic globe (Since R2020b)
camrollSet or query roll angle of camera for geographic globe (Since R2020b)

Add Custom Terrain and Basemaps

addCustomBasemapAdd custom basemap
addCustomTerrainAdd custom terrain data (Since R2020a)
removeCustomBasemapRemove custom basemap
removeCustomTerrainRemove custom terrain data (Since R2020a)

Display Data

axesmCreate axesm-based map
globeFrame for 3-D map display on axesm-based map
geoshowDisplay map latitude and longitude data

Change View

viewCamera line of sight
camposmSet camera position for axesm-based map using geographic coordinates
camtargmSet camera target for axesm-based map using geographic coordinates
camupmSet camera up vector for axesm-based map using geographic coordinates

Topics