how to display graphic from 3D to 2D ?

Respuestas (2)

Walter Roberson
Walter Roberson el 4 de Mayo de 2013
Editada: Walter Roberson el 4 de Mayo de 2013
view([0,90])

3 comentarios

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
Walter Roberson
Walter Roberson el 6 de Mayo de 2013
You would put the view() after the surf() command.
Lidank Abiel
Lidank Abiel el 6 de Mayo de 2013
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

Iniciar sesión para comentar.

Jan
Jan el 4 de Mayo de 2013

0 votos

Btw. everything displayed on the screen is in 2D.

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Preguntada:

el 4 de Mayo de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by