Azzera filtri
Azzera filtri

Plot a cell as surf

2 visualizzazioni (ultimi 30 giorni)
moulay
moulay il 19 Nov 2014
Risposto: Orion il 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

Risposta accettata

Orion
Orion il 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

Più risposte (0)

Categorie

Scopri di più su Lighting, Transparency, and Shading in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by