1 Features
- 3D WGS84 ellipsoid
- Rotation of earth, selectable speed
- Relief with exaggerated elevations
- Data tip in geographic coordinates and elevations in meter
- Example to plot on earth
- Example to plot on texture
2 Method
Out of geographic coordinates in one degree steps a geocentric x, y, z mesh grid is created by sin and cos functions. This mesh grid is placed to form a WGS84 ellipsoid. The texture within the meshes is overlaid by Matlab’s surface function.
3 Syntax
plot3Dearth % default texture, flat relief
plot3Dearth(0,50) % default texture, elevations exaggerated by factor 50
plot3Dearth('land_ocean_ice_8192.png', 100) % Texture out of folder 'texture', elevations exaggerated by factor 100
plot3Dearth('c:/myFolder/myTexture.jpg') % Texture out of other folder, flat relief
See also the included pdf file.
Zitieren als
Peter Seibold (2026). 3D WGS84 Earth (https://de.mathworks.com/matlabcentral/fileexchange/174345-3d-wgs84-earth), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2020a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Quellenangaben
Inspiriert von: 3D Earth Example, geographiclib
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 2.0 | Added relief display of earth surface with exaggerated elevations. |
||
| 1.1 | Data tip displays in addition to geographic coordinates also the elevation |
||
| 1.0.0 |
