So far I have tried
ax1 = plot(t, x_velocity,'MarkerSize',10,'Marker','.','MarkerSize',8,'LineWidth',2,'Color',[0 0 0]);hold onplot(t, y_velocity,'MarkerSize',10,'Marker','.','MarkerSize',8,'LineWidth',2,'Color',[1 0 0]);plot(t, z_velocity,'MarkerSize',10,'Marker','.', 'MarkerSize',8,'LineWidth',2,'Color',[0 0 1]);xlim(ax1,[5:5:50]);hline = refline([0]);hline.Color = 'b'; 'xtick', 5:5:50;xlim([5:5:50]);
Best Answer