Path: news.mathworks.com!not-for-mail
From: "Nico zanette" <zannakill@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: sagittal slice from a txt file
Date: Tue, 10 Feb 2009 15:40:17 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 14
Message-ID: <gms751$lju$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> <gms5g1$rj7$1@fred.mathworks.com>
Reply-To: "Nico zanette" <zannakill@hotmail.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 1234280417 22142 172.30.248.35 (10 Feb 2009 15:40:17 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 10 Feb 2009 15:40:17 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1707770
Xref: news.mathworks.com comp.soft-sys.matlab:517340


"David" <dave@bigcompany.com> wrote in message <gms5g1$rj7$1@fred.mathworks.com>...
> "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'.

ok, thanks!
I will try with the reshape and the surf command. 
If I've been albe to obtain something i will tell you.

Thanks a lot