Ive been trying to produce a simple box using matlab but just cant seem to get the output correct. So my question is, how do you produce a box shape using a 3D line plot. The 8 corner points of the box are (1,1,1), (1,2,1), (2,2,1), (2,1,1), (1,1,4), (1,2,4), (2,2,4), (2,1,4)