Add boxes to surf() function output
Show older comments
Similar question to this one.
I have a 10x10 grid of Z vs (X,Y) values from which I would like to make a surface plot. But surf(X,Y,Z) creates a 9x9 grid with colors based on (I guess) values at vertices or edges. Is there an alternative way to make a 10x10 color grid with colors being a function of Z(i,j) only?
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!