function siltprofiler_plot_salinity(A,L)
%% NW01 week 30
name='';
figure
hold all
set(0, 'DefaultAxesColorOrder',[1 0 0; 0 0 1; 0 1 0; 0 1 1; 1 1 0; 1 0 1; 1 0 0.5; 0.5 0 1; 0.5 0.5 0.5; 0.25 0.25 0.25; 0 1 0.25;0.5 0.75 1;0.6 0.2 0.8;0.9 0 0.2;0 0.7 0.7])


for ifile=1:7;
name = [name; datestr(A(ifile).datenum)];
plot(A(ifile).salinity(L.down_start(ifile):L.down_end(ifile)),A(ifile).depth(L.down_start(ifile):L.down_end(ifile)));

end
legend(name,'Location','Best')
Axis([26 35 -20 0])
xlabel ('Salinity [PSU]')
ylabel ('Depth [m]')
%grid on
title('NW01_salinity','Interpreter','none')
clear name
%% NW02 week 30
figure
name='';
hold all

for ifile=8:15;
name = [name; datestr(A(ifile).datenum)];
plot(A(ifile).salinity(L.down_start(ifile):L.down_end(ifile)),A(ifile).depth(L.down_start(ifile):L.down_end(ifile)));

end
legend(name,'Location','Best')
Axis([26 35 -20 0])
xlabel ('Salinity [PSU]')
ylabel ('Depth [m]')
%grid on

title('NW02_salinity','Interpreter','none')
clear name
%% NW03 week 30
figure
name='';
hold all

for ifile=16:23;
name = [name; datestr(A(ifile).datenum)];
plot(A(ifile).salinity(L.down_start(ifile):L.down_end(ifile)),A(ifile).depth(L.down_start(ifile):L.down_end(ifile)));

end
legend(name,'Location','Best')
Axis([26 35 -20 0])
xlabel ('Salinity [PSU]')
ylabel ('Depth [m]')
%grid on

title('NW03_salinity','Interpreter','none')
clear name
%% NW04 week 30

figure
name='';
hold all

for ifile=24:29;
name = [name; datestr(A(ifile).datenum)];
plot(A(ifile).salinity(L.down_start(ifile):L.down_end(ifile)),A(ifile).depth(L.down_start(ifile):L.down_end(ifile)));

end
legend(name,'Location','Best')
Axis([26 35 -20 0])
xlabel ('Salinity [PSU]')
ylabel ('Depth [m]')
%grid on

title('NW04_salinity','Interpreter','none')
clear name
%% NW05 week 30

figure
name='';
hold all

for ifile=30:31;
name = [name; datestr(A(ifile).datenum)];
plot(A(ifile).salinity(L.down_start(ifile):L.down_end(ifile)),A(ifile).depth(L.down_start(ifile):L.down_end(ifile)));

end
legend(name,'Location','Best')
Axis([26 35 -20 0])
xlabel ('Salinity [PSU]')
ylabel ('Depth [m]')
%grid on

title('NW05_salinity','Interpreter','none')
clear name
%% NW06 week 30

figure
name='';
hold all

for ifile=32:35;
name = [datestr(A(ifile).datenum)];
plot(A(ifile).salinity(L.down_start(ifile):L.down_end(ifile)),A(ifile).depth(L.down_start(ifile):L.down_end(ifile)));

end
legend(name,'Location','Best')
Axis([26 35 -20 0])
xlabel ('Salinity [PSU]')
ylabel ('Depth [m]')
%grid on

title('NW06_salinity','Interpreter','none')
clear name
%
%% NW01 week 31
name='';
figure
hold all

for ifile=37:43;
name = [name; datestr(A(ifile).datenum)];
plot(A(ifile).salinity(L.down_start(ifile):L.down_end(ifile)),A(ifile).depth(L.down_start(ifile):L.down_end(ifile)));

end 
legend(name,'Location','Best')
Axis([26 35 -20 0])
xlabel ('Salinity [PSU]')
ylabel ('Depth [m]')
%grid on

title('NW01_salinity','Interpreter','none')
clear name

%% NW02 week 31
figure
name='';
hold all

for ifile=44:50;
name = [name; datestr(A(ifile).datenum)];
plot(A(ifile).salinity(L.down_start(ifile):L.down_end(ifile)),A(ifile).depth(L.down_start(ifile):L.down_end(ifile)));

end
legend(name,'Location','Best')
Axis([26 35 -20 0])
xlabel ('Salinity [PSU]')
ylabel ('Depth [m]')
%grid on

title('NW02_salinity','Interpreter','none')
clear name

%% NW02 week 31
figure
name='';
hold all

for ifile=50:56;
name = [name; datestr(A(ifile).datenum)];
plot(A(ifile).salinity(L.down_start(ifile):L.down_end(ifile)),A(ifile).depth(L.down_start(ifile):L.down_end(ifile)));

end
legend(name,'Location','Best')
Axis([26 35 -20 0])
xlabel ('Salinity [PSU]')
ylabel ('Depth [m]')
%grid on

title('NW02_salinity','Interpreter','none')
clear name
%% NW03 week 31
figure
name='';
hold all

for ifile=57:64;
name = [name; datestr(A(ifile).datenum)];
plot(A(ifile).salinity(L.down_start(ifile):L.down_end(ifile)),A(ifile).depth(L.down_start(ifile):L.down_end(ifile)));

end
legend(name,'Location','Best')
Axis([26 35 -20 0])
xlabel ('Salinity [PSU]')
ylabel ('Depth [m]')
%grid on

title('NW03_salinity','Interpreter','none')
clear name
%% NW03 week 31
figure
name='';
hold all

for ifile=64:71;
name = [name; datestr(A(ifile).datenum)];
plot(A(ifile).salinity(L.down_start(ifile):L.down_end(ifile)),A(ifile).depth(L.down_start(ifile):L.down_end(ifile)));

end
legend(name,'Location','Best')
Axis([26 35 -20 0])
xlabel ('Salinity [PSU]')
ylabel ('Depth [m]')
%grid on

title('NW03_salinity','Interpreter','none')
clear name
%% NW04 week 31

figure
name='';
hold all

for ifile=72:78;
name = [name; datestr(A(ifile).datenum)];
plot(A(ifile).salinity(L.down_start(ifile):L.down_end(ifile)),A(ifile).depth(L.down_start(ifile):L.down_end(ifile)));

end
legend(name,'Location','Best')
Axis([26 35 -20 0])
xlabel ('Salinity [PSU]')
ylabel ('Depth [m]')
%grid on

title('NW04_salinity','Interpreter','none')
clear name
%% NW05 week 31

figure
name='';
hold all

for ifile=79:81;
name = [name; datestr(A(ifile).datenum)];
plot(A(ifile).salinity(L.down_start(ifile):L.down_end(ifile)),A(ifile).depth(L.down_start(ifile):L.down_end(ifile)));

end
legend(name,'Location','Best')
Axis([26 35 -20 0])
xlabel ('Salinity [PSU]')
ylabel ('Depth [m]')
%grid on

title('NW05_salinity','Interpreter','none')
clear name
%% NW06 week 31

figure
name='';
hold all

for ifile=82;
name = [datestr(A(ifile).datenum)];
plot(A(ifile).salinity(L.down_start(ifile):L.down_end(ifile)),A(ifile).depth(L.down_start(ifile):L.down_end(ifile)));

end
legend(name,'Location','Best')
Axis([26 35 -20 0])
xlabel ('Salinity [PSU]')
ylabel ('Depth [m]')
%grid on

title('NW06_salinity','Interpreter','none')
clear name