Skip to content
Snippets Groups Projects
Commit 7b561a9e authored by leprob001's avatar leprob001
Browse files

Bugfix, Depending on the axes, the SizeData property is either available...

Bugfix, Depending on the axes, the SizeData property is either available direct or in Children of object.
parent 7bb4cf62
No related branches found
No related tags found
No related merge requests found
......@@ -13,14 +13,22 @@ end
for i = 1 :length(artoaGui.trajectoryOutput.trajectoryHandles)
current = artoaGui.trajectoryOutput.trajectoryHandles{i};
current.linePositions.LineWidth = .5;
current.scatterPositions.SizeData = 10;
try
current.scatterPositions.SizeData = 10;
catch
current.scatterPositions.Children.SizeData = 10;
end
end
%% Increase selected trajectory line size
row = artoaWorkspace.trajectoryOutput.tableGeneratedTracksSelectedRow(1);
if ~isnan(artoaWorkspace.trajectoryOutput.tableGeneratedTracksSelectedRow)
artoaGui.trajectoryOutput.trajectoryHandles{row}.linePositions.LineWidth = 1.5;
artoaGui.trajectoryOutput.trajectoryHandles{row}.scatterPositions.SizeData = 20;
try
artoaGui.trajectoryOutput.trajectoryHandles{row}.scatterPositions.SizeData = 20;
catch
artoaGui.trajectoryOutput.trajectoryHandles{row}.scatterPositions.Children.SizeData = 20;
end
end
end
......
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