Plot a cell as surf

4 views (last 30 days)
moulay
moulay on 19 Nov 2014
Answered: Orion on 19 Nov 2014
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

Accepted Answer

Orion
Orion on 19 Nov 2014
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

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!