| 27 |
info = page{inrow}{incol}; |
info = page{inrow}{incol}; |
| 28 |
|
|
| 29 |
% Experiment information. |
% Experiment information. |
| 30 |
exptxt = ''; |
trltxt = ''; |
| 31 |
if SubplotExp |
if SubplotExp |
| 32 |
exptxt = [info{iexp},'; ']; |
trltxt = [info{itrl},'; ']; |
| 33 |
end |
end |
| 34 |
|
|
| 35 |
% Field and unit information. |
% Field and unit information. |
| 85 |
if SubplotMinMax |
if SubplotMinMax |
| 86 |
clear mn mx; |
clear mn mx; |
| 87 |
if ismember(cmp,{'OvC','OvE','OvF'}) |
if ismember(cmp,{'OvC','OvE','OvF'}) |
| 88 |
for inexp = 1:nexp |
for intrl = 1:ntrl |
| 89 |
mn(inexp) = min(data{inrow}{inexp}(:)); |
mn(intrl) = min(data{inrow}{intrl}(:)); |
| 90 |
mx(inexp) = max(data{inrow}{inexp}(:)); |
mx(intrl) = max(data{inrow}{intrl}(:)); |
| 91 |
end |
end |
| 92 |
mn = num2str(min(mn(:))); |
mn = num2str(min(mn(:))); |
| 93 |
mx = num2str(max(mx(:))); |
mx = num2str(max(mx(:))); |
| 99 |
end |
end |
| 100 |
|
|
| 101 |
% Throw on the subplot title. |
% Throw on the subplot title. |
| 102 |
titlestr = [exptxt,fldtxt,timtxt,contxt,minmaxtxt]; |
titlestr = [trltxt,fldtxt,timtxt,contxt,minmaxtxt]; |
| 103 |
titlestr = AddSlashesBeforeUnderscores(titlestr(1:end-2)); |
titlestr = AddSlashesBeforeUnderscores(titlestr(1:end-2)); |
| 104 |
title(titlestr,'fontsize',fs_sptitle); |
title(titlestr,'fontsize',fs_sptitle); |
| 105 |
end |
end |