Skip to content
Snippets Groups Projects
plotVerticalVelocities.m 632 B
Newer Older
function [handleHorizontalVelocities, handleLegend] = plotVerticalVelocities(pAxesHandle, pTrajectory)
%CALCULATERESIDUALS Summary of this function goes here
%   Detailed explanation goes here

%% Setup return variables
handleHorizontalVelocities = struct();

%% Get required data
velocities = pTrajectory.velocities;
rafosDate = pTrajectory.date;

%% Clear axes
cla(pAxesHandle);

%% Plot data
legendText = {'w'};
hold(pAxesHandle, 'on');
handleHorizontalVelocities.vertical = plot(pAxesHandle, rafosDate, velocities.vertical, '.-');
hold(pAxesHandle, 'off');

%% Setup legend
handleLegend = legend(pAxesHandle, legendText);

end