简体   繁体   English

Matlab在指定点上绘制3d轴

[英]Matlab Plot 3d axis on a specifi point

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 我想将轴x,y,z作为从特定点的向量绘制.x将是(+ -1,0,0)(如果该点是原点)y =(0,+-1,0)并且z(0,0,+-1)。如何在图形中用不同的颜色绘制它们,已经包含一些信息

To be specific i have an animated 3D skeleton and i want to have the axes showed in the root of the skeleton. 具体来说,我有一个动画3D骨架,我想在骨架的根部显示轴。

furthermore if anyone knows how to plot a plane in the same animated 3D skeleton!i want the plane to be as a disc 此外,如果有人知道如何在相同的动画3D骨架中绘制平面!我希望将平面作为光盘

Thanks in advance for any response 预先感谢您的任何回复

axis off to turn off matlab's default axis axis off以关闭Matlab的默认轴

then use plot3 to draw the specific lines for the new axes 然后使用plot3绘制新轴的特定线

the patch command along with x,y,z coordinates for the contour of the disc will plot the disc plane patch命令以及光盘轮廓的x,y,z坐标将绘制光盘平面

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM