Skip to content

Commit

Permalink
Compatability fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wahln committed Aug 12, 2020
1 parent fbfec62 commit 1463811
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tools/matRad_compareDose.m
Original file line number Diff line number Diff line change
Expand Up @@ -215,13 +215,13 @@
if enable(2) == 1
matRad_cfg.dispInfo('Plotting profiles...\n');
fontsize = 12;
profilex{1} = cube1(slicename{1},:,slicename{3})(:);
profiley{1} = cube1(:,slicename{2},slicename{3})(:);
profilez{1} = cube1(slicename{1},slicename{2},:)(:);
profilex{1} = squeeze(cube1(slicename{1},:,slicename{3}));
profiley{1} = squeeze(cube1(:,slicename{2},slicename{3}));
profilez{1} = squeeze(cube1(slicename{1},slicename{2},:));

profilex{2} = cube2(slicename{1},:,slicename{3})(:);
profiley{2} = cube2(:,slicename{2},slicename{3})(:);
profilez{2} = cube2(slicename{1},slicename{2},:)(:);
profilex{2} = squeeze(cube2(slicename{1},:,slicename{3}));
profiley{2} = squeeze(cube2(:,slicename{2},slicename{3}));
profilez{2} = squeeze(cube2(slicename{1},slicename{2},:));

posX = resolution(1)*(1:length(profilex{1}));
posY = resolution(2)*(1:length(profiley{1}));
Expand Down

0 comments on commit 1463811

Please sign in to comment.