필터 지우기
필터 지우기

Plot a cell as surf

조회 수: 2 (최근 30일)
moulay
moulay 2014년 11월 19일
답변: Orion 2014년 11월 19일
Hi together, i want to plot a cell (B) of size (10x401x12). Iwant to plot it as surf or Plot3.
is ther an method to do that? I tried with surf(B) with no success.
thank you

채택된 답변

Orion
Orion 2014년 11월 19일
is B a cell or an array ?
for an array (same for a cell), it depends on what is your data and which part you want to see.
B = rand(10,401,12);
%%observe the "3rd page" of the array
figure;
surf(B(:,:,3));
if the data is the result of a 3d calculation : slice , isosurface , ... see the doc and functions associated

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by