Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: using mesh to make 3D plot
Date: Mon, 29 Apr 2013 14:24:10 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 12
Message-ID: <kllvqa$cn8$1@newscl01ah.mathworks.com>
References: <h859vn$802$1@fred.mathworks.com> <h85j7a$dkh$1@fred.mathworks.com> <h86sol$1h9$1@fred.mathworks.com> <kl8c5m$pgq$1@newscl01ah.mathworks.com> <klbuc0$4bf$1@newscl01ah.mathworks.com> <klhv6l$c1a$1@newscl01ah.mathworks.com> <kliet7$ldu$1@newscl01ah.mathworks.com> <kljapn$1fa$1@newscl01ah.mathworks.com> <kljesu$bl5$1@newscl01ah.mathworks.com> <kljju5$o09$1@newscl01ah.mathworks.com> <kljpv9$9n2$1@newscl01ah.mathworks.com> <klk5rt$9ou$1@newscl01ah.mathworks.com> <klkall$lks$1@newscl01ah.mathworks.com> <klkc4k$p74$1@newscl01ah.mathworks.com> <klkdbt$s0o$1@newscl01ah.mathworks.com> <klkg7p$5k1$1@newscl01ah.mathworks.com> <klkif2$b17$1@newscl01ah.mathworks.com> <klkm39$k1i$1@newscl01ah.mathworks.com> <kllr47$pi3$1@newscl01ah.mathworks.com> <klltol$5ii$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-05-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1367245450 13032 172.30.248.37 (29 Apr 2013 14:24:10 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 29 Apr 2013 14:24:10 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 4260511
Xref: news.mathworks.com comp.soft-sys.matlab:794548

thanks i understand clearly this part
now for my issue (plot a shape surface in the same way like the picture i send in the link) can you check this code
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
theta=[0 pi/2 pi/2 0.554 5.729 5.729 0.554 0.554 5.729 5.729 0.554 1.206 5.077 5.077 1.206];
phi=[0 0 pi/2 0.314 0.314 -0.314 -0.314 0.942 0.942 -0.942 -0.942 0.524 0.524 -0.524 -0.524];
t=[0.01 0.01 0.01 0.0334 0.0334 0.0334 0.0334 0.0273 0.0273 0.0273 0.0273 0.0351 0.0351 0.0351 0.0351];
[theta,phi]=meshgrid(theta,phi);
r=diag(t);
[x,y,z]=sph2cart(theta,phi,r)
surf(x,y,z)
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
it seems like i have one part of the surface but may be i need to create by interpolation more point to have a refined mesh. what's your point?