Plot Contour Map Over a plot Map

Asked by Amanda on 19 Aug 2012
Latest activity Commented on by Amanda on 19 Aug 2012

I'm trying to plot a counter map over a general map (Asia or US).

Generally speaking (input data is only by example)

% Data Input
long = (:,1)
lat = (:,2)
z = (:,3)
[x,y] = meshgrid(x,y)
z = x.^2 + y.^2
[C, h] = contour(x, y, z, 10)
clabel(C,h)

So this where I get stuck. I use world map 'asia' but

I only see the map and not the contour map over Asia.

Thanks,

Amanda

0 Comments

Amanda

Products

No products are associated with this question.

1 Answer

Answer by Walter Roberson on 19 Aug 2012

How are you doing the map plotting? If you are using the Mapping Toolbox, then you can use "hold on" and you would use contourm() to do the contour plot.

If you are using the third party mapping routines, then no solution was found when someone tried this about a month ago (which does not mean it is impossible, but does mean that it was not obvious to the level of resources that the volunteers could devote to it at the time.)

1 Comment

Amanda on 19 Aug 2012

No third mapping with MATLAB.

I've seen examples of world map plot.

Need some help with geo in Matlab.

Walter Roberson

Contact us