This commit is contained in:
2026-01-27 21:46:40 -08:00
parent a68690a5cf
commit 03fae7077c
58 changed files with 214 additions and 213 deletions

View File

@@ -1,19 +1,19 @@
function obj = plotPartitions(obj)
arguments (Input)
obj (1, 1) {mustBeA(obj, 'miSim')};
obj (1, 1) {mustBeA(obj, "miSim")};
end
arguments (Output)
obj (1, 1) {mustBeA(obj, 'miSim')};
obj (1, 1) {mustBeA(obj, "miSim")};
end
if isnan(obj.partitionGraphIndex)
hold(obj.f.CurrentAxes, 'on');
hold(obj.f.CurrentAxes, "on");
o = imagesc(obj.f.CurrentAxes, obj.partitioning);
hold(obj.f.CurrentAxes, 'off');
hold(obj.f.CurrentAxes, "off");
else
hold(obj.f.Children(1).Children(obj.partitionGraphIndex(1)), 'on');
hold(obj.f.Children(1).Children(obj.partitionGraphIndex(1)), "on");
o = imagesc(obj.f.Children(1).Children(obj.partitionGraphIndex(1)), obj.partitioning);
hold(obj.f.Children(1).Children(obj.partitionGraphIndex(1)), 'on');
hold(obj.f.Children(1).Children(obj.partitionGraphIndex(1)), "off");
if size(obj.partitionGraphIndex, 2) > 1
for ii = 2:size(ind, 2)
o = [o, copyobj(o(1), obj.f.Children(1).Children(obj.partitionGraphIndex(ii)))];