Path: news.mathworks.com!not-for-mail
From: "zedong 
" <zdongwu@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to plot a graph with discrete points?
Date: Mon, 21 Sep 2009 14:08:03 +0000 (UTC)
Organization: &#20013;&#22269;&#31185;&#23398;&#38498;&#25968;&#23398;&#19982;&#31995;&#32479;&#31185;&#23398;&#30740;&#31350;&#38498;
Lines: 18
Message-ID: <h981c3$9pl$1@fred.mathworks.com>
References: <h97gjp$k4m$1@fred.mathworks.com> <h97q7b$min$1@fred.mathworks.com>
Reply-To: "zedong 
" <zdongwu@gmail.com>
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 1253542083 10037 172.30.248.37 (21 Sep 2009 14:08:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 21 Sep 2009 14:08:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1639198
Xref: news.mathworks.com comp.soft-sys.matlab:571796


"Didi Cvet" <didi_cvet@yahoo.com> wrote in message <h97q7b$min$1@fred.mathworks.com>...
> "zedong 
> " <zdongwu@gmail.com> wrote in message <h97gjp$k4m$1@fred.mathworks.com>...
> > I have a problem on plot the graph.
> > I only have the following data
> > figgg=[x_i,y_i,z_i].
> > for example:
> > x=rand(100,1);
> > y=rand(100,1);
> > z=x.^2+y.^2;
> > figgg=[x,y,z];
> > you can use this figgg for test.
> > But as a matter of fact now I only have the  figgg,I don't know how it's computed out. I want to plot a graph to see the 2d function.Thank you very much
> 
> I think that this is 3D function (because you have 3 arguments)
> Plot them with 
> >>plot3(x,y,z)
plot3 can only plot point.I want to plot cloudy figure.like the function trisurf.But trisurf need mesh information.I don't have mesh information