reporting: change vlines to showVlines
parent
fc83427185
commit
e437480d26
|
@ -45,9 +45,9 @@ disp(' ');
|
||||||
disp(o.hlines);
|
disp(o.hlines);
|
||||||
|
|
||||||
disp(' ');
|
disp(' ');
|
||||||
disp([name '.vlines = ']);
|
disp([name '.showVlines = ']);
|
||||||
disp(' ');
|
disp(' ');
|
||||||
disp(o.vlines);
|
disp(o.showVlines);
|
||||||
|
|
||||||
disp(' ');
|
disp(' ');
|
||||||
disp([name '.precision = ']);
|
disp([name '.precision = ']);
|
||||||
|
|
|
@ -39,7 +39,7 @@ o.footnote = '';
|
||||||
|
|
||||||
o.config = '';
|
o.config = '';
|
||||||
o.hlines = false;
|
o.hlines = false;
|
||||||
o.vlines = false;
|
o.showVlines = false;
|
||||||
o.vlineAfter = '';
|
o.vlineAfter = '';
|
||||||
|
|
||||||
o.data = '';
|
o.data = '';
|
||||||
|
@ -79,7 +79,7 @@ assert(ischar(o.title), '@table.table: title must be a string');
|
||||||
assert(ischar(o.footnote), '@table.table: footnote must be a string');
|
assert(ischar(o.footnote), '@table.table: footnote must be a string');
|
||||||
assert(ischar(o.config), '@table.table: config file must be a string');
|
assert(ischar(o.config), '@table.table: config file must be a string');
|
||||||
assert(islogical(o.hlines), '@table.table: hlines must be true or false');
|
assert(islogical(o.hlines), '@table.table: hlines must be true or false');
|
||||||
assert(islogical(o.vlines), '@table.table: vlines must be true or false');
|
assert(islogical(o.showVlines), '@table.table: showVlines must be true or false');
|
||||||
assert(isint(o.precision), '@table.table: precision must be an int');
|
assert(isint(o.precision), '@table.table: precision must be an int');
|
||||||
assert(isempty(o.range) || (isa(o.range, 'dynDates') && o.range.ndat >= 2), ...
|
assert(isempty(o.range) || (isa(o.range, 'dynDates') && o.range.ndat >= 2), ...
|
||||||
['@table.table: range is specified as a dynDates range, e.g. ' ...
|
['@table.table: range is specified as a dynDates range, e.g. ' ...
|
||||||
|
@ -90,7 +90,7 @@ assert(isempty(o.seriesToUse) || iscellstr(o.seriesToUse), ...
|
||||||
'@table.table: seriesToUse must be a cell array of string(s)');
|
'@table.table: seriesToUse must be a cell array of string(s)');
|
||||||
assert(isempty(o.vlineAfter) || isa(o.vlineAfter, 'dynDate'), ...
|
assert(isempty(o.vlineAfter) || isa(o.vlineAfter, 'dynDate'), ...
|
||||||
'@table.table: vlineAfter must be a dynDate');
|
'@table.table: vlineAfter must be a dynDate');
|
||||||
if o.vlines
|
if o.showVlines
|
||||||
o.vlineAfter = '';
|
o.vlineAfter = '';
|
||||||
end
|
end
|
||||||
valid_title_sizes = {'Huge', 'huge', 'LARGE', 'Large', 'large', 'normalsize', ...
|
valid_title_sizes = {'Huge', 'huge', 'LARGE', 'Large', 'large', 'normalsize', ...
|
||||||
|
|
|
@ -54,7 +54,7 @@ fprintf(fid, '\\setlength{\\tabcolsep}{4pt}\n');
|
||||||
fprintf(fid, '\\begin{tabular}{@{}l');
|
fprintf(fid, '\\begin{tabular}{@{}l');
|
||||||
|
|
||||||
for i=1:ndates
|
for i=1:ndates
|
||||||
if o.vlines
|
if o.showVlines
|
||||||
fprintf(fid, '|');
|
fprintf(fid, '|');
|
||||||
end
|
end
|
||||||
fprintf(fid, 'r');
|
fprintf(fid, 'r');
|
||||||
|
|
Loading…
Reference in New Issue