Be the first to rate this file! 3 Downloads (last 30 days) File Size: 1.79 KB File ID: #7616

2D Plotting with Mapping Toolbox

by Felix Mueller

 

10 May 2005 (Updated 11 May 2005)

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

| Watch this File

File Information
Description

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.

Required Products Mapping Toolbox
MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
11 Jan 2007 Caglayan Balkaya

Could you place a sample in it?
Thanks..

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
specialized Felix Mueller 22 Oct 2008 07:48:16
plotting Felix Mueller 22 Oct 2008 07:48:16
white edge compensation Felix Mueller 22 Oct 2008 07:48:16
shading interp Felix Mueller 22 Oct 2008 07:48:16
mapping toolbox Felix Mueller 22 Oct 2008 07:48:16

Contact us at files@mathworks.com