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