% plotParabolicTrajectory.m
% Calls parabolicTrajectory and plots the trajectory
% Jose M Soler, Sept.2011

t = 0 : 0.05 : 2;   % times, in s
x0 = 0; y0 = 15;    % initial position, in m
v0x = 3; v0y = 5;   % initial velocity, in m/s

[x,y] = parabolicTrajectory(x0,y0,v0x,v0y,t);

plot(x,y,'o'), set(gca,'FontSize',20)
xlabel('x (m)'), ylabel('y (m)')
