From: jiuwenzh on 23 Feb 2010 15:06 I am trying to figure out a way to plot a 3d surface in matlab. There are lots of data x and y,z is indepentent of x and y. I only want to plot a circle surface with the conditions: x^2+y^2<=25 but I awalys get a rectangular surface. I tried using loop to delete the data x^2+y^2>25, but the resuts looks ugly. How should I solve this problem? Thanks in advance.
From: Luigi Giaccari on 28 Feb 2010 13:45 "Uwen " <jiuwenzh(a)hotmail.com> wrote in message <hm1cnd$4mr$1(a)fred.mathworks.com>... > I am trying to figure out a way to plot a 3d surface in matlab. > There are lots of data x and y,z is indepentent of x and y. I only > want to plot a circle surface with the conditions: > x^2+y^2<=25 > but I awalys get a rectangular surface. > I tried using loop to delete the data x^2+y^2>25, but the resuts looks > ugly. > > How should I solve this problem? > > > Thanks in advance. www.advancedmcode.org/buildsphere.html www.advancedmcode.org/
|
Pages: 1 Prev: Path Dependant Operations Next: plot a 3d circle surface |