clc x = 0 : .01 : 100; y = sin(x); hold on axes(handles.axes1) plot(x,y); grid on title('Coast Down','FontSize',10,'Color',[.0 .0 .0]) legend ('Velocity') xlabel('Time', 'FontSize',10,'Color',[.0 .0 .0]) ylabel('Velocity', 'FontSize',10,'Color',[.0 .0 .0]) [x_user, y_user] = ginput(1)