Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Contour plot using m_map
Replies: 13   Last Post: Oct 22, 2013 11:43 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Phil Ashton

Posts: 6
Registered: 6/13/11
Contour plot using m_map
Posted: Jun 13, 2011 8:26 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi there I am trying to produce a contour plot onto a map using longitude and latitude data...

I have a 3 matrices x & y containing long and lat co-ordinates and 'z' a specific data value at those co-ordinates.

Using the following i can produce the map but none of the data held in z is appearing???

...

m_proj('lambert','long',[2 -6],'lat',[-49.9 56]);
m_coast('patch',[1 .9 .7]);
m_tbase('contourf',[x:y:z];
m_grid('box','fancy','tickdir','in');

( x, y and z are all the same size)

ANy help is greatly appreciated




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.