Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
a4a5eb60
Commit
a4a5eb60
authored
May 14, 2013
by
Houtan Bastani
Browse files
reporting: @series: change showTableMarkers to tableShowMarkers
parent
b631fc1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
matlab/reports/@series/series.m
View file @
a4a5eb60
...
...
@@ -44,7 +44,7 @@ o.graphMarkerEdgeColor = 'auto';
o
.
graphMarkerFaceColor
=
'auto'
;
o
.
graphMarkerSize
=
6
;
o
.
showTable
Markers
=
false
;
o
.
tableShow
Markers
=
false
;
o
.
tableNegColor
=
'red'
;
o
.
tablePosColor
=
'blue'
;
...
...
matlab/reports/@series/write.m
View file @
a4a5eb60
...
...
@@ -41,7 +41,7 @@ assert(~isempty(o.data) && isa(o.data, 'dynSeries'), ...
assert
(
ischar
(
o
.
tableNegColor
),
'@series.write: tableNegColor must be a string'
);
assert
(
ischar
(
o
.
tablePosColor
),
'@series.write: tablePosColor must be a string'
);
assert
(
islogical
(
o
.
showTable
Markers
),
'@series.write:
showTable
Markers must be true or false'
);
assert
(
islogical
(
o
.
tableShow
Markers
),
'@series.write:
tableShow
Markers must be true or false'
);
assert
(
islogical
(
o
.
tableAlignRight
),
'@series.write: tableAlignRight must be true or false'
);
%% Write Output
...
...
@@ -62,7 +62,7 @@ for i=1:size(data,1)
thisCellData
=
round
(
data
(
i
)
*
precision
)/
precision
;
fprintf
(
fid
,
' &'
);
if
o
.
showTable
Markers
if
o
.
tableShow
Markers
if
thisCellData
<
0
fprintf
(
fid
,
'\\color{%s}'
,
o
.
tableNegColor
);
elseif
thisCellData
>
0
...
...
@@ -73,7 +73,7 @@ for i=1:size(data,1)
fprintf
(
fid
,
dataString
,
thisCellData
);
if
o
.
showTable
Markers
if
o
.
tableShow
Markers
fprintf
(
fid
,
']'
);
end
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment