I was asked to plot the contours of the xy, xz, and yz planes of a 3D scatter plot on the edge of the plot box. I've included a figure to show how far I've gotten. The figure uses 4 calls of the scatter3 funtion with the projections using a fixed third dimention. When I try to plot the countours instead of the projections, the contours all appear on the x-y plane at z=0, with the wrong scale. Is this even possible?

# MATLAB: How to plot the contours of the xy, xz, and yz planes of a 3d scatter plot on the same axes

3d plotcontourMATLABscatter3

## Best Answer