Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 3ec41612 authored by hhakim's avatar hhakim
Browse files

Fix matfaust.Faust.imagesc.

- error in title,
- possible cell array index out of bounds.
parent 88a597e3
No related branches found
No related tags found
No related merge requests found
...@@ -2078,7 +2078,7 @@ classdef Faust ...@@ -2078,7 +2078,7 @@ classdef Faust
figpos = get(fig, 'Position'); figpos = get(fig, 'Position');
aratio = figpos(3)/figpos(4); aratio = figpos(3)/figpos(4);
maxh = 0; maxh = 0;
for i=1:facs_per_row for i=1:min(facs_per_row, numfacts)
fac = facs{i}; fac = facs{i};
h = size(fac,1)/sumw*aratio; h = size(fac,1)/sumw*aratio;
if(h > maxh) if(h > maxh)
...@@ -2114,7 +2114,7 @@ classdef Faust ...@@ -2114,7 +2114,7 @@ classdef Faust
b = b - maxh - 0.01; b = b - maxh - 0.01;
end end
end end
suptitle(['Factor of the Faust ' name ]) suptitle(['Factors of the Faust ' name ])
end end
%===================================================================== %=====================================================================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment