Creating 3D visualizations with MATLAB