No BSD License  

Highlights from
Quick, Easy Maps (Miller and Globe Projections)

5.0

5.0 | 2 ratings Rate this file 14 Downloads (last 30 days) File Size: 890 Bytes File ID: #6102
image thumbnail

Quick, Easy Maps (Miller and Globe Projections)

by

 

21 Oct 2004 (Updated )

Two quick and easy functions to create simple map figures.

Editor's Notes:

This file was a File Exchange Pick of the Week

| Watch this File

File Information
Description

I've been using the Mapping Toolbox for years and I've found it very powerful; however, beginning users always seem to have the same initial difficulties that I once did when apporaching two issues:

(1) how to get a simple map of the world into a figure quickly, and

(2) how to get a quick rotatable globe into a figure quickly.

The functions I've uploaded, DRAWMILLER and DRAWGLOBE take care of these issues.

You can use an argument such as drawmiller(90) to recenter the flat map. To rotate the globe, either use the plot rotation tool on your figure or use the MATLAB VIEW command.

Example:
drawglobe
plotm(40.733,-73.917,'b.')
for d=2000:2000:6000
[t,n]=scircle1(40.733,-73.917,km2deg(d));
plotm(t,n,'b-')
end

Michael Kleder, October 2004

Required Products Mapping Toolbox
MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
15 Aug 2010 John de Leon

Hi Michael, I wasn't able to run your code in R2010a. Would you mind sharing an updated version of your source code? Thanks in advance.

18 Sep 2006 ben h

thank you very much!! makes my life much easier. long live open exchange!

19 Jan 2005 cuneyt aydin

it is really nice globe which you can rotate easily on matlab!..it reminds the globe earths on the tables..thanks

Contact us