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
9ae2e669
Commit
9ae2e669
authored
17 years ago
by
jacques.grelet_ird.fr
Browse files
Options
Downloads
Patches
Plain Diff
set 'BackgroundColor' propertie on panel handle
parent
41411a4b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tsg_util/display_QC.m
+15
-5
15 additions, 5 deletions
tsg_util/display_QC.m
with
15 additions
and
5 deletions
tsg_util/display_QC.m
+
15
−
5
View file @
9ae2e669
...
...
@@ -15,9 +15,23 @@ function display_QC( hGUI, hAxes )
% -------------------------------
tsg
=
getappdata
(
hGUI
,
'tsg_data'
);
% get panel handle
% ----------------
hdlPanel
=
findobj
(
hGUI
,
'tag'
,
'TAG_QC_DISPLAY_PANEL'
);
% get color axes and set 'BackgroundColor' properties of panel handle
% give a transparency effect
% -------------------------------------------------------------------
bgColor
=
get
(
hAxes
(
1
),
'Color'
);
set
(
hdlPanel
,
'BackgroundColor'
,
bgColor
);
% and to his chlidren uicontrol
% -----------------------------
set
(
findobj
(
get
(
hdlPanel
,
'children'
),
'style'
,
'text'
),
...
'BackgroundColor'
,
bgColor
)
% set panel visible
% -----------------
hdlPanel
=
findobj
(
hGUI
,
'tag'
,
'TAG_QC_DISPLAY_PANEL'
);
set
(
hdlPanel
,
'visible'
,
'on'
);
% get list of keys from hashtable tsg.qc.hash, defined inside
...
...
@@ -25,10 +39,6 @@ set(hdlPanel, 'visible', 'on');
% -----------------------------------------------------------
qc_list
=
get
(
tsg
.
qc
.
hash
);
% Plot the Salinity with the right color code
% -------------------------------------------
%bgColor = get(hAxes(1), ');
% iterate (loop) on each key store inside hastable
% ------------------------------------------------
for
i
=
1
:
numel
(
qc_list
)
...
...
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