2D Plotting with Mapping Toolbox

This function plots a 2D Surface (shading interp, no white edges).

You are now following this Submission

Assume you have 2D dataset (defined by latitude and longitude) and you would like to use the mapping toolbox to produce a nice scientific plot for publications. Due to a small bug you will end up with white edges on the plotframe. Furthermore the resolution is also not suited for publications.

The function splot1(map,maplegend) will do the job.
Input1=map; [nxm] Matrix
Input2=maplegend; (see Mapping Toolbox for further help regarding maplegend).
If wanted the figure will be saved in 'matlabroot\work\figures'. The format used is png and looks nice and sharp in Microsoft Word.

Thanks to Sebastian Schaefer from Mathworks Support.

Cite As

Felix Mueller (2026). 2D Plotting with Mapping Toolbox (https://www.mathworks.com/matlabcentral/fileexchange/7616-2d-plotting-with-mapping-toolbox), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0