Path: news.mathworks.com!not-for-mail
From: "nanxyzzz zhang" <littledddna@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Depth VS longtitude plot
Date: Wed, 28 Oct 2009 16:28:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 17
Message-ID: <hc9rej$9fd$1@fred.mathworks.com>
Reply-To: "nanxyzzz zhang" <littledddna@gmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1256747283 9709 172.30.248.35 (28 Oct 2009 16:28:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 28 Oct 2009 16:28:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2064683
Xref: news.mathworks.com comp.soft-sys.matlab:580666



    Hi, everyone, i am new to matlab and I have a question. 
    i want to make a contour plot, the x axis is longitude and the Y axis is the depth. 
    The contour plot that i want to plot is 46*7 array. 
    I created the axis like this:

   axesm('mercator','MapLonLimit',[-78.8 158])
   depth=[50 70 100 140 190 240]
 
     But I have no clue what i should do next. I tried to do it like

   contourf(axesm,depth,plot)

   but it does not work......  Can anyone give some clues? 

                                 Thank you very much
                                                XX