Draws a wire-frame box on a 3d matlab plot


Updated 12 Dec 2015

View License

% drawBoundingBox3d(xBnd,yBnd,zBnd,lineWidth,color)
% This function draws the wireframe box that as described by the limits in
% xBnd, yBnd, and zBnd
% xBnd = [xLow, xUpp]
% yBnd = [yLow, yUpp]
% zBnd = [zLow, zUpp]

Cite As

Matthew Kelly (2023). drawBoundingBox3d(xBnd,yBnd,zBnd,lineWidth,color) (https://www.mathworks.com/matlabcentral/fileexchange/54463-drawboundingbox3d-xbnd-ybnd-zbnd-linewidth-color), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on 2-D and 3-D Plots in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Added photo.