Path: news.mathworks.com!not-for-mail
From: "Paul " <palex71@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Color / 3D plots
Date: Tue, 21 Jun 2011 22:10:20 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 22
Message-ID: <itr4sc$i$1@newscl01ah.mathworks.com>
References: <itr1d6$k7h$1@newscl01ah.mathworks.com> <itr2qo$o1r$1@newscl01ah.mathworks.com>
Reply-To: "Paul " <palex71@hotmail.com>
NNTP-Posting-Host: www-03-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1308694220 18 172.30.248.48 (21 Jun 2011 22:10:20 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 21 Jun 2011 22:10:20 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2380237
Xref: news.mathworks.com comp.soft-sys.matlab:733085

"Jeff " <jea@gene.dot.com> wrote in message <itr2qo$o1r$1@newscl01ah.mathworks.com>...
> "Paul " <palex71@hotmail.com> wrote in message <itr1d6$k7h$1@newscl01ah.mathworks.com>...
> > Hello,
> > This should be farily easy...
> > I have a 1000x3 matrix.  I am looking to do a color plot, where column #1 defines the x axis, column #2 defines the y axis, and column #3 is the color.
> > 
> > I would also be interested in knowing how to do a 3D plot with the same matrix.
> > 
> > I haven't quite been able to figure out the proper command/syntax.
> > 
> > Thanks!
> 
> Can you give an example of your data, and a bit more description on what you want your plot to look like?  Specifically, how are you representing color in a single column.

For the color plot, I was looking for:
Column 1 - x axis
Column 2 - y axis
Column 3 - color point (higher value = darker color)

Good point... How would I do a plot3 with an increasing color variation with depth?

Thanks so much!