Hi Roberson,
Thanks again for the help. I've finally figured this out. I
just used the following code:
img = imread('Clip.bmp');
image([180 180],[90 90],img)
axis xy
That's awesome!
"Liqing " <liqingj@gmail.com> wrote in message
<fosp64$8fc$1@fred.mathworks.com>...
> Hi Roberson,
>
> Thank you for the reply! I appreciate your help very much. I
> will try this out.
>
>
> roberson@ibd.nrccnrc.gc.ca (Walter Roberson) wrote in
> message <foskv4$drp$1@canopus.cc.umanitoba.ca>...
> > In article <fosgm7$jh3$1@fred.mathworks.com>,
> > Liqing <liqingj@gmail.com> wrote:
> >
> > >I'm trying to import a *jpg map file into Matlab as a map.
> > >Is there a way that I can first load the file and then tell
> > >Matlab the uppermost, lowermost Latitudes, and leftmost and
> > >rightmost Longitudes, so that I can plot more data
points on
> > >the figure?
> >
> > help image
> >
> > IMAGE(X,Y,C), where X and Y are vectors, specifies the
> locations
> > of the pixel centers of C(1,1) and C(M,N). Element
> C(1,1) is
> > centered over (X(1), Y(1)), element C(M,N) is centered
> over
> > (X(end), Y(end)), and the pixel centers of the
> remaining elements
> > of C are spread out evenly between those two points,
> so that the
> > rectilinear patches are all of equal width and height.
> >
> > 
> > So you found your solution
> > What will be your last contribution?
> >  Supertramp (Fool's Overture)
>
