close all
clear all

path = 'X:\707976_EPBuoyPrototypeAndTesting\Deployments\2019-02-05-Deployment\DecodedResults\';

files = dir([path '2019.03.*raw.mat']);

load('LoadChange.mat');

figure
AnchorLat = 36.7456;
AnchorLon = -121.8895;
plot(AnchorLon,AnchorLat,'ko');
hold all;
MeanLat = 0;
MeanLon = 0;
N = 0;
for i = 1:length(files)
    load([path files(i).name])
    plot(XB_Lon,XB_Lat,'-b');

    disp(num2str(i));
end

HeaveConeLat = 36.74455;
HeaveConeLon = -121.88876;

plot(HeaveConeLon,HeaveConeLat,'rx');