MATLAB: Drawing Contours on globe/world map

contourMapping Toolbox

I have designed a software for computing relative antenna gain of satellite coverage/foot prints. The software takes latitude, longitude and gain as inputs and interpolates relative antenna gain in between the contours and generates contour plots. Pls tell me how can i display these contour plots on the globe according to the input latitude and longitude.
Regards Somayyah Jurair

Best Answer

Hi,
I'd make use of the m_map toolbox for this. Rather than give you exact code, (read: I cant remember offhand) let me rather explain loosely how to go about it.
First get the toolbox http://www.eos.ubc.ca/~rich/map.html or do a Google search on "m_map" Then make a plot of whatever section of the world you're interested in.
Next, transform your longitude and latitude to coordinates on the plot.
Finally overlay a contour or contourf plot of your data on the figure.