Question

I want to plot the axis x,y,z as vectors from a specific point.x will be(+-1,0,0) (if the point was the origin)y=(0,+-1,0) and z(0,0,+-1).How can i plot them with different colors in an figure tha already contains some informations

To be specific i have an animated 3D skeleton and i want to have the axes showed in the root of the skeleton.

furthermore if anyone knows how to plot a plane in the same animated 3D skeleton!i want the plane to be as a disc

Thanks in advance for any response

Was it helpful?

Solution

axis off to turn off matlab's default axis

then use plot3 to draw the specific lines for the new axes

the patch command along with x,y,z coordinates for the contour of the disc will plot the disc plane

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top