clc
clear
x = linspace(0,4*pi,100);
figure;
%only line
plot3(x,zeros(1,100),zeros(1,100),'k','LineWidth',2);
hold on
plot3(x,sin(x),zeros(1,100),'k');
plot3(x,zeros(1,100),sin(x),'k');
plot3(x,sin(x),sin(x),'k');
xlabel('X axes', 'FontSize',10, 'FontName','NewsGotT', 'fontWeight','bold');
ylabel('Y axes', 'FontSize',10, 'FontName','NewsGotT', 'fontWeight','bold');
zlabel('Z axes', 'FontSize',10,'FontName','NewsGotT', 'fontWeight','bold');
x_quiver = 0:pi/4:4*pi;
q1 = quiver3(x_quiver,zeros(1,17),zeros(1,17),zeros(1,17),sin(x_quiver),zeros(1,17),0);
q2 = quiver3(x_quiver,zeros(1,17),zeros(1,17),zeros(1,17),zeros(1,17),sin(x_quiver),0);
q3 = quiver3(x_quiver,zeros(1,17),zeros(1,17),zeros(1,17),sin(x_quiver),sin(x_quiver),0);
hold off;