From: charlie ryan on
Hi

The software origin has the ability to plot 3D walls like so;
http://www.originlab.com/index.aspx?s=8&lm=215&PID=1450

I'd like to do the same in matlab (i dont have origin!)

My attempt is;
load pointtwo_ODdatadt.txt;
z = pointtwo_ODdatadt(:,1);
x = pointtwo_ODdatadt(:,2);
y = pointtwo_ODdatadt(:,3);
load pointtwo_ODdatadx.txt;
z1 = pointtwo_ODdatadx(:,1);
x1 = pointtwo_ODdatadx(:,2);
y1 = pointtwo_ODdatadx(:,3);
load pointtwo_ODdatagl.txt;
z2 = pointtwo_ODdatagl(:,1);
x2 = pointtwo_ODdatagl(:,2);
y2 = pointtwo_ODdatagl(:,3);
load pointtwo_ODdatagv.txt;
z3 = pointtwo_ODdatagv(:,1);
x3 = pointtwo_ODdatagv(:,2);
y3 = pointtwo_ODdatagv(:,3);
plot3(x, y, z,x1,y1,z1,x2,y2,z2,x3,y3,z3)
which results in;
http://s643.photobucket.com/albums/uu154/Nasalcherry/?action=view¤t=example3Dplot.jpg

But this doesn't fill in the y direction. I guess basically i'd like to produce something like the 'area' function does in 2D, but in 3D. Is it possible to offset the area function in the z direction??


Thanks all, however useful your comments they are much appreciated!!

charlie
 | 
Pages: 1
Prev: problems with blockproc
Next: Inverse FFT:ifft