%plot_basic.m
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% APetrenko since 2001 and dapted sinc
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%  This  file  is  free software ;  it  is distributed  in  %
%%  the hope that  it  will  be  useful,  but  without  any  %
%%  warranty.  You  can  redistribute  it and/or modify  it  %
%%  under  the  terms  of  the  GNU  General Public License  %
%%  as  published  by  the   Free  Software  Foundation  at  %
%%       http://www.gnu.org/copyleft/gpl.html                %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% etre dans le repertoire ou vous travailler votre TD
% a sauver dans le "path"

ctd=importdata('dPHYBIO_20190308_ST_K2_CTD_01.asc',' ',1)

%
% ATTENTION NUMERO de  COLONNES a CHANGER SUIVANT LES ANNEES
subplot(131)
plot(ctd.data(:,4),-ctd.data(:,12))
xlabel('Temperature')
subplot(132)
plot(ctd.data(:,13),-ctd.data(:,12))
xlabel('Salinity')
%  ATTENTION ADAPT THE TITLE TO the STATION you have chosen !!!
title('PHYBIO - year 2019 - Station K2 - CTD 1 - March 8, 2019')
subplot(133)
plot(ctd.data(:,14),-ctd.data(:,12))
xlabel('Density')