Function like "surf", but without interpolation?
Mostrar comentarios más antiguos
I want to take a 16 x 16 array of data, and present it in 3D as an assembly of 16 x 16 cuboids, each having size "1" in the x and y directions, and a height proportional to the z value. "surf" almost does this, but it performs bilinear interpolation on the z values, and I want zeroth order hold. Also, "surf" would give a 15x15 surface, but I want a 16x16. I looked at some of the 3D bar charts but they don't seem to do what I want. Is there a function or option that I'm missing.
Thanks
3 comentarios
Walter Roberson
el 4 de Feb. de 2017
Could you expand on the difference between your needs and what bar3 does?
https://www.mathworks.com/help/matlab/ref/bar3.html
Peter Fraser
el 6 de Feb. de 2017
Peter Fraser
el 6 de Feb. de 2017
Respuestas (0)
Categorías
Más información sobre Discrete Data 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!