slice function starting from 1 and leaving empty space
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Surface and Mesh Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!