Skip to content
Snippets Groups Projects
Commit 13cc525c authored by leprob001's avatar leprob001
Browse files

Bugfix, the pressure and temperature window were drawing to the wrong figure...

Bugfix, the pressure and temperature window were drawing to the wrong figure with multiple figures open.
parent 3c569dfe
No related branches found
No related tags found
No related merge requests found
256
\ No newline at end of file
257
\ No newline at end of file
......@@ -33,7 +33,7 @@ set( ...
artoa.controller.edit.updateAvailablePlots();
set(gca, 'Position', [0.13 0.11 0.706 0.815]);
set(artoaGui.figures.editPressure.CurrentAxes, 'Position', [0.13 0.11 0.706 0.815]);
% create custom axes toolbar
[~, btns] = axtoolbar( ...
......@@ -51,6 +51,7 @@ width = .14;
pickButtonHeight = .25;
artoaGui.editPressure.frameControlsPick = uipanel( ...
'Parent', artoaGui.figures.editPressure, ...
'Title', 'Pick', ...
'Units', 'normalized', ...
'BackgroundColor', 'white', ...
......@@ -91,6 +92,7 @@ artoaGui.editPressure.buttonDropSelection = uicontrol( ...
applyButtonHeight = .25;
artoaGui.editPressure.frameControlsApply = uipanel( ...
'Parent', artoaGui.figures.editPressure, ...
'Title', 'Apply', ...
'Units', 'normalized', ...
'BackgroundColor', 'white', ...
......@@ -132,6 +134,7 @@ artoaGui.editPressure.buttonApplyAll = uicontrol( ...
resetButtonHeight = .25;
artoaGui.editPressure.frameControlsReset = uipanel( ...
'Parent', artoaGui.figures.editPressure, ...
'Title', 'Reset', ...
'Units', 'normalized', ...
'BackgroundColor', 'white', ...
......@@ -172,6 +175,7 @@ artoaGui.editPressure.buttonResetAll = uicontrol( ...
deleteButtonHeight = .4;
artoaGui.editPressure.frameControlsDelete = uipanel( ...
'Parent', artoaGui.figures.editPressure, ...
'Title', 'Delete', ...
'Units', 'normalized', ...
'BackgroundColor', 'white', ...
......
......@@ -9,7 +9,6 @@ windowTitle = [ 'ARTOA4 - Float ' num2str(artoaWorkspace.float.floatname) ' - Te
%% Initialize temperature gui
artoaGui.figures.editTemperature = figure( ...
'Name', windowTitle, ...
'NumberTitle', 'off', ...
......@@ -33,7 +32,7 @@ set( ...
artoa.controller.edit.updateAvailablePlots();
set(gca, 'Position', [0.13 0.11 0.706 0.815]);
set(artoaGui.figures.editTemperature.CurrentAxes, 'Position', [0.13 0.11 0.706 0.815]);
% create custom axes toolbar
[~, btns] = axtoolbar( ...
......@@ -51,6 +50,7 @@ width = .14;
pickButtonHeight = .25;
artoaGui.editTemperature.frameControlsPick = uipanel( ...
'Parent', artoaGui.figures.editTemperature, ...
'Title', 'Pick', ...
'Units', 'normalized', ...
'BackgroundColor', 'white', ...
......@@ -91,6 +91,7 @@ artoaGui.editTemperature.buttonDropSelection = uicontrol( ...
applyButtonHeight = .25;
artoaGui.editTemperature.frameControlsApply = uipanel( ...
'Parent', artoaGui.figures.editTemperature, ...
'Title', 'Apply', ...
'Units', 'normalized', ...
'BackgroundColor', 'white', ...
......@@ -131,6 +132,7 @@ artoaGui.editTemperature.buttonApplyAll = uicontrol( ...
resetButtonHeight = .25;
artoaGui.editTemperature.frameControlsReset = uipanel( ...
'Parent', artoaGui.figures.editTemperature, ...
'Title', 'Reset', ...
'Units', 'normalized', ...
'BackgroundColor', 'white', ...
......@@ -171,6 +173,7 @@ artoaGui.editTemperature.buttonResetAll = uicontrol( ...
deleteButtonHeight = .4;
artoaGui.editTemperature.frameControlsDelete = uipanel( ...
'Parent', artoaGui.figures.editTemperature, ...
'Title', 'Delete', ...
'Units', 'normalized', ...
'BackgroundColor', 'white', ...
......
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