slice function starting from 1 and leaving empty space
Afficher commentaires plus anciens
I use the "slice" function in order to have a 3-D representation of the state of my system.
Why is there a large band of white useless spaces at the top and the right of the figure and a small one at the left and bottom (1 space wide) if I try to plot my matrix with slice(V,10,10,10)?
How can I shift the result by 1 toward the figure origin so that the whole figure is used to display the result?
I tried several things but I couldn't find a way to do that shift as I can't specify a 0 index for my matrix.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Surface and Mesh Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!