Menu Close

Category: Cool Ideas

How do you plot a 3D axis in MATLAB?

How do you plot a 3D axis in MATLAB? How to show axis in 3D quiver3(0,0,-max(zlim),0,0,2*max(zlim),’b’,’LineWidth’,1) quiver3(0,-max(ylim),0,0,2*max(ylim),0,’b’,’LineWidth’,1) quiver3(-max(xlim),0,0,2*max(xlim),0,0,’b’,’LineWidth’,1) text(0,0,max(zlim),’Z’,’Color’,’b’) text(0,max(ylim),0,’Y’,’Color’,’b’) text(max(xlim),0,0,’X’,’Color’,’b’) Can you plot 3D…