Re: help plotting map data
- From: "Stephan zednik" <zednik@xxxxxxxx>
- Date: Mon, 10 Apr 2006 14:44:41 -0400
bump
Stephan Zednik wrote:
.
I am a fairly new matlab user and have never used the map toolbox
before.
I have an array of longitude coordinates, another of latitude
coordinates, and several arrays of different data that I wish to
plot. I need to plot the data on a 'continuous scale' (I think my
boss means interpolated color here) and ideally with an outline of
the state boundrys on the map (map is over the Ohio area).
My array of latitude is Lat and is <49864x1 double> longitude
is Lon and has the same dimension and data type as Lat. Z is the
data I wish to plot, it has the same dimension and data type as Lat
and Lon do.
I tried geoshow(Lat,Lon,Z); and got the error:
??? Error using ==> surface
Maxtrix dimensions must agree.
Eror in ==> map/private/renderMapData at 17
h = feval(str2func(mapdata.fcn), mapdata.args{:});
Error in ==> geoshow at 239
h = renderMapData(ax, mapdata);
Error in ==> script at 25
geoshow(Lat,Lon,Z);
*** end error message
So how do I use geoshow (or another function if I am using the
wrong
one) to map the Z data on the corresponding Lat and Lon locations
and
ideally draw the Ohio state boundry?
Thanks,
Stephan
- References:
- help plotting map data
- From: Stephan Zednik
- help plotting map data
- Prev by Date: Re: MEX functions / C++ question
- Next by Date: AxisLabeling
- Previous by thread: help plotting map data
- Next by thread: From transfert Matrix to state representation
- Index(es):
Relevant Pages
|