Skip to content
Snippets Groups Projects
Commit 78888d20 authored by jacques.grelet_ird.fr's avatar jacques.grelet_ird.fr
Browse files

ajout des routines de tracés pour SSPS_WS et SSPS_EXT/SSTP_EXT

parent 10c8016c
No related branches found
No related tags found
No related merge requests found
function plot_EXT( hGUI, hAxes )
%
% Function to plot the External Data measurements
%
% Input
% -----
% hGUI ............... Handel to the user interface
% hAxes .............. Handels to the graphic axes
%
% Output
% ------
%
% Retrieve named application data
% -------------------------------
tsg = getappdata( hGUI, 'tsg_data');
% Plot the Salinity with the right color code
% -------------------------------------------
axes( hAxes(1));
hold on;
% Plot external salinity on TSG plot
% --------------------------------
if ~isempty(tsg.SSPS_EXT)
plot(hAxes(1), tsg.DAYD_EXT, tsg.SSPS_EXT, 'b*');
end
hold off;
axes( hAxes(2));
hold on;
% Plot external temperature on TSG plot
% -------------------------------------
if ~isempty(tsg.SSTP_EXT)
plot(hAxes(1), tsg.DAYD_EXT, tsg.SSTP_EXT, 'b*');
end
\ No newline at end of file
function plot_WS( hGUI, hAxes )
%
% Function to plot the Water Sample measurements
%
% Input
% -----
% hGUI ............... Handel to the user interface
% hAxes .............. Handels to the graphic axes
%
% Output
% ------
%
% Retrieve named application data
% -------------------------------
tsg = getappdata( hGUI, 'tsg_data');
% Plot the Salinity with the right color code
% -------------------------------------------
axes( hAxes(1));
hold on;
% Plot salinity sample on TSG plot
% --------------------------------
if ~isempty(tsg.SSPS_WS)
plot(hAxes(1), tsg.DAYD_WS, tsg.SSPS_WS, 'r*');
end
hold off;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment