Re: help plotting map data



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
.



Relevant Pages

  • help plotting map data
    ... I am a fairly new matlab user and have never used the map toolbox ... I have an array of longitude coordinates, another of latitude ... My array of latitude is Lat and is longitude ...
    (comp.soft-sys.matlab)
  • Re: Can arrays be parameters to generics
    ... may be less than 500 entrys one won't notice it that much. ... possess Set or Map to rocket, ... But sometimes an array can replace those. ... government people -- they wear both hats. ...
    (comp.lang.java.programmer)
  • java.lang.NullPointerException..help me!
    ... public UploadedFile getMyFile() { ... // Populate the map from the input file. ... String line = null; ... // Create the array for the numbers which make up the rest of the line. ...
    (comp.lang.java.programmer)
  • Error setting property myFile in bean of type null
    ... My Jsf Application allow user to upload a txt file thanks to a Myfaces ... // Populate the map from the input file. ... String line = null; ... // Populate the array by parsing the rest of the line. ...
    (comp.lang.java.programmer)
  • Re: Readline using foreach and while
    ... condition is checked at the start of each iteration, if the array ... map doesn't recheck the count ... the passed list for each iteration. ... @ary, which comes from a scope outside this sub, now contains (h, a, b, ...
    (comp.lang.perl.misc)