slice function starting from 1 and leaving empty space
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!