how to display graphic from 3D to 2D ?

Réponses (2)

Walter Roberson
Walter Roberson le 4 Mai 2013
Modifié(e) : Walter Roberson le 4 Mai 2013
view([0,90])

3 commentaires

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 le 6 Mai 2013
You would put the view() after the surf() command.
Lidank Abiel
Lidank Abiel le 6 Mai 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

Connectez-vous pour commenter.

Jan
Jan le 4 Mai 2013

0 votes

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

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Centre d'aide et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by