how to display graphic from 3D to 2D ?

Answers (2)

view([0,90])

3 Comments

load data_n10N10.txt
n=length(x);
m=sqrt(n);
x=data_n10N10(:,1);
t=data_n10N10(:,2);
sum=data_n10N10(:,4);
for i=1:m
for j=1:m
X(i,j)=x((i-1)*m+j);
T(i,j)=t((i-1)*m+j);
S(i,j)=sum((i-1)*m+j);
end
end
surf(X,T,S,S)
end
which part i use view([0,90]) Mr. Walter ?, because i want to display graphic only the edge line where T = 1
thx in advance
You would put the view() after the surf() command.
the result it's not that i mean.
href="http://www.freeimagehosting.net/a8x76"<img src="http://www.freeimagehosting.net/t/a8x76.jpg"></a>
i mean, this image http://www.freeimagehosting.net/ah7i5 in the final process display the edge line, like this

Sign in to comment.

Jan
Jan on 4 May 2013
Btw. everything displayed on the screen is in 2D.

Tags

No tags entered yet.

Asked:

on 4 May 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!