55 UIFigure matlab.ui.Figure
66 Menu matlab.ui.container.Menu
77 SaveasMenu matlab.ui.container.Menu
8+ Panel_2 matlab.ui.container.Panel
89 Panel matlab.ui.container.Panel
9- PlotScaleDropDownLabel matlab.ui.control.Label
10- PlotScaleDropDown matlab.ui.control.DropDown
11- RankingDropDownLabel matlab.ui.control.Label
12- RankingDropDown matlab.ui.control.DropDown
13- UpperLimitEditFieldLabel matlab.ui.control.Label
14- UpperLimitEditField matlab.ui.control.NumericEditField
15- LowerLimitEditFieldLabel matlab.ui.control.Label
16- LowerLimitEditField matlab.ui.control.NumericEditField
17- pvalueThresholdEditFieldLabel matlab.ui.control.Label
18- pvalueThresholdEditField matlab.ui.control.NumericEditField
19- CohensDThresholdEditFieldLabel matlab.ui.control.Label
20- CohensDThresholdEditField matlab.ui.control.NumericEditField
21- ColormapDropDownLabel matlab.ui.control.Label
22- ColormapDropDown matlab.ui.control.DropDown
23- LegendVisibleDropDownLabel matlab.ui.control.Label
24- LegendVisibleDropDown matlab.ui.control.DropDown
25- MultipleComparisonCorrectionDropDownLabel matlab.ui.control.Label
26- MultipleComparisonCorrectionDropDown matlab.ui.control.DropDown
27- CohensDThresholdCheckBox matlab.ui.control.CheckBox
28- ROIcentroidsonbrainplotsCheckBox matlab.ui.control.CheckBox
29- ViewChordPlotsButton matlab.ui.control.Button
30- ViewEdgeChordPlotsButton matlab.ui.control.Button
31- EdgeChordPlotTypeDropDownLabel matlab.ui.control.Label
32- EdgeChordPlotTypeDropDown matlab.ui.control.DropDown
33- ViewConvergenceMapButton matlab.ui.control.Button
34- ConvergencePlotColorDropDownLabel matlab.ui.control.Label
35- ConvergencePlotColorDropDown matlab.ui.control.DropDown
3610 ApplyButton matlab.ui.control.Button
37- Panel_2 matlab.ui.container.Panel
11+ ConvergencePlotColorDropDown matlab.ui.control.DropDown
12+ ConvergencePlotColorDropDownLabel matlab.ui.control.Label
13+ ViewConvergenceMapButton matlab.ui.control.Button
14+ EdgeChordPlotTypeDropDown matlab.ui.control.DropDown
15+ EdgeChordPlotTypeDropDownLabel matlab.ui.control.Label
16+ ViewEdgeChordPlotsButton matlab.ui.control.Button
17+ ViewChordPlotsButton matlab.ui.control.Button
18+ ROIcentroidsonbrainplotsCheckBox matlab.ui.control.CheckBox
19+ CohensDThresholdCheckBox matlab.ui.control.CheckBox
20+ MultipleComparisonCorrectionDropDown matlab.ui.control.DropDown
21+ MultipleComparisonCorrectionDropDownLabel matlab.ui.control.Label
22+ LegendVisibleDropDown matlab.ui.control.DropDown
23+ LegendVisibleDropDownLabel matlab.ui.control.Label
24+ ColormapDropDown matlab.ui.control.DropDown
25+ ColormapDropDownLabel matlab.ui.control.Label
26+ CohensDThresholdEditField matlab.ui.control.NumericEditField
27+ CohensDThresholdEditFieldLabel matlab.ui.control.Label
28+ pvalueThresholdEditField matlab.ui.control.NumericEditField
29+ pvalueThresholdEditFieldLabel matlab.ui.control.Label
30+ LowerLimitEditField matlab.ui.control.NumericEditField
31+ LowerLimitEditFieldLabel matlab.ui.control.Label
32+ UpperLimitEditField matlab.ui.control.NumericEditField
33+ UpperLimitEditFieldLabel matlab.ui.control.Label
34+ RankingDropDown matlab.ui.control.DropDown
35+ RankingDropDownLabel matlab.ui.control.Label
36+ PlotScaleDropDown matlab.ui.control.DropDown
37+ PlotScaleDropDownLabel matlab.ui.control.Label
3838 end
3939
4040
@@ -273,10 +273,8 @@ function drawChords(app, event)
273273 chord_plotter .generateChordFigure(probability_parameters , plot_type )
274274 end
275275
276- % Value changed function: ColormapDropDown,
277- % LegendVisibleDropDown, LowerLimitEditField,
278- % MultipleComparisonCorrectionDropDown, PlotScaleDropDown,
279- % RankingDropDown, UpperLimitEditField
276+ % Value changed function: ColormapDropDown, LegendVisibleDropDown,
277+ % ...and 5 other components
280278 function PlotScaleValueChanged(app , event )
281279 if isequal(app .settings , false )
282280 app.settings = struct();
@@ -309,6 +307,9 @@ function pvalueThresholdEditFieldValueChanged(app, event)
309307 function ViewEdgeChordPlotsButtonPushed(app , event )
310308 app.chord_type = " nla.PlotType.CHORD_EDGE" ;
311309 app .drawChords(event );
310+ if ispc
311+ nla .gfx .moveFigToParentUILocation(gcf , app .UIFigure );
312+ end
312313 end
313314
314315 % Value changed function: EdgeChordPlotTypeDropDown
@@ -321,6 +322,9 @@ function EdgeChordPlotTypeDropDownValueChanged(app, event)
321322 function ViewChordPlotsButtonPushed(app , event )
322323 app.chord_type = " nla.PlotType.CHORD" ;
323324 app .drawChords(event );
325+ if ispc
326+ nla .gfx .moveFigToParentUILocation(gcf , app .UIFigure );
327+ end
324328 end
325329
326330 % Button pushed function: ApplyButton
@@ -365,6 +369,10 @@ function ViewConvergenceMapButtonPushed(app, event)
365369
366370 nla .gfx .drawConvergenceMap(app .edge_test_options , app .network_test_options , app .edge_test_options .net_atlas , significance_count_matrix ,...
367371 test_number , names , app .edge_test_result , color_map );
372+
373+ if ispc
374+ nla .gfx .moveFigToParentUILocation(gcf , app .UIFigure );
375+ end
368376 end
369377
370378 % Menu selected function: SaveasMenu
0 commit comments