Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TSG QC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
US191
TSG QC
Commits
319ca6fe
Commit
319ca6fe
authored
17 years ago
by
jacques.grelet_ird.fr
Browse files
Options
Downloads
Patches
Plain Diff
ajout du tracé de la climato en température
parent
40fbbd16
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tsgqc_GUI.m
+24
-10
24 additions, 10 deletions
tsgqc_GUI.m
with
24 additions
and
10 deletions
tsgqc_GUI.m
+
24
−
10
View file @
319ca6fe
...
...
@@ -724,7 +724,8 @@ function tsgqc_GUI
% Get data
% -----------------------
tsg
=
getappdata
(
hMainFig
,
'tsg_data'
);
hLine
=
get
(
hPlotAxes
(
1
),
'UserData'
);
hLine1
=
get
(
hPlotAxes
(
1
),
'UserData'
);
hLine2
=
get
(
hPlotAxes
(
2
),
'UserData'
);
% Read Climatology
% ----------------
...
...
@@ -793,17 +794,26 @@ function tsgqc_GUI
end
% Plot mean salinity climatology
hLine
.
meanClim
=
line
(
...
hLine
1
.
meanClim
=
line
(
...
time
,
mean_psal
,
'Linestyle'
,
'-'
,
'Color'
,
'k'
);
% Plot 2 standard deviation
hLine
.
stdClimPlus
=
line
(
...
hLine
1
.
stdClimPlus
=
line
(
...
time
,
mean_psal
+
3
*
std_psal
,
'Linestyle'
,
'-'
,
'Color'
,
'r'
);
hLine
.
stdClimMinus
=
line
(
...
hLine
1
.
stdClimMinus
=
line
(
...
time
,
mean_psal
-
3
*
std_psal
,
'Linestyle'
,
'-'
,
'Color'
,
'r'
);
% Plot mean temperature climatology
axes
(
hPlotAxes
(
2
));
hLine2
.
meanClim
=
line
(
...
time
,
mean_temp
,
'Linestyle'
,
'-'
,
'Color'
,
'k'
);
hLine2
.
stdClimPlus
=
line
(
...
time
,
mean_temp
+
3
*
std_temp
,
'Linestyle'
,
'-'
,
'Color'
,
'r'
);
hLine2
.
stdClimMinus
=
line
(
...
time
,
mean_temp
-
3
*
std_temp
,
'Linestyle'
,
'-'
,
'Color'
,
'r'
);
% Store the handle of the bucketline
% ----------------------------------
set
(
hPlotAxes
(
1
),
'UserData'
,
hLine
);
set
(
hPlotAxes
(
1
),
'UserData'
,
hLine1
);
set
(
hPlotAxes
(
2
),
'UserData'
,
hLine2
);
end
else
...
...
@@ -813,12 +823,16 @@ function tsgqc_GUI
% The bucket pushbutton has been pressed again :
% Delete the bucket on figure
% ----------------------------------------------
hLine
=
get
(
hPlotAxes
(
1
),
'UserData'
);
hLine1
=
get
(
hPlotAxes
(
1
),
'UserData'
);
hLine2
=
get
(
hPlotAxes
(
2
),
'UserData'
);
% bug......
try
delete
(
hLine
.
stdClimMinus
);
delete
(
hLine
.
stdClimPlus
);
delete
(
hLine
.
meanClim
);
delete
(
hLine1
.
stdClimMinus
);
delete
(
hLine1
.
stdClimPlus
);
delete
(
hLine1
.
meanClim
);
delete
(
hLine2
.
stdClimMinus
);
delete
(
hLine2
.
stdClimPlus
);
delete
(
hLine2
.
meanClim
);
catch
end
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment