how to display graphic from 3D to 2D ?

Risposte (2)

Walter Roberson
Walter Roberson il 4 Mag 2013
Modificato: Walter Roberson il 4 Mag 2013
view([0,90])

3 Commenti

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

Accedi per commentare.

Jan
Jan il 4 Mag 2013

0 voti

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

Categorie

Scopri di più su Creating, Deleting, and Querying Graphics Objects in Centro assistenza e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Richiesto:

il 4 Mag 2013

Community Treasure Hunt

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

Start Hunting!

Translated by