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.