Effacer les filtres
Effacer les filtres

Plot a cell as surf

2 vues (au cours des 30 derniers jours)
moulay
moulay le 19 Nov 2014
Réponse apportée : Orion le 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

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Lighting, Transparency, and Shading dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by