Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: sagittal slice from a txt file
Date: Tue, 10 Feb 2009 15:12:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 7
Message-ID: <gms5g1$rj7$1@fred.mathworks.com>
References: <gmrnuu$hdo$1@fred.mathworks.com> <gmrqsl$lnt$1@fred.mathworks.com> <gms0ii$qb9$1@fred.mathworks.com> <gms0q1$c6p$1@fred.mathworks.com> <gms257$b9t$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1234278721 28263 172.30.248.37 (10 Feb 2009 15:12:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 10 Feb 2009 15:12:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 791003
Xref: news.mathworks.com comp.soft-sys.matlab:517330


"Nico zanette" <zannakill@hotmail.com> wrote in message <gms257$b9t$1@fred.mathworks.com>...
>   Name         Size                            Bytes  Class
>   mtype 27842650x1                         222741200  double array
> I try, simply, with >>plot (mtype);
> i try also by plotting only x or y axys with no results.

well, i am dissappointed in matlab's plot function for not being able to figure out just what you wanted.  it looks like you'll have to do some more work to format the data so it can figure it out.  First you'll have to reverse the process that put the data into the file in a single column.  check out the 'reshape' function to convert to the original x,y,z sizes.  Then you can start to process slices and do plots with the 'surf' or maybe 'contour' functions instead of 'plot'.