Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
reporting
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dynare
reporting
Commits
6701600d
Verified
Commit
6701600d
authored
Oct 24, 2019
by
Houtan Bastani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add test for addData
parent
d7cf8ac7
Pipeline
#2213
passed with stage
in 1 minute and 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
test/createReport.m
test/createReport.m
+10
-7
No files found.
test/createReport.m
View file @
6701600d
...
...
@@ -296,13 +296,16 @@ rep.addSeries('data', d, ...
'graphLegendName'
,
'control'
,
...
'graphFanShadeColor'
,
'red'
,
'graphFanShadeOpacity'
,
20
);
% Page 26
% rep.addPage('title', {'report\_data test'}, ...
% 'titleFormat', {'\large\bfseries', '\large'});
% rep.addSection('cols', 1);
% rep.addTable('title', {'Table Data', 'subtitle 2'});
% rep.addData('data', [repmat({'a'},10,1) num2cell(rand(10,6))]);
%% Page 26
rep
.
addPage
(
'title'
,
{
'report\_data test'
},
...
'titleFormat'
,
{
'\large\bfseries'
,
'\large'
});
rep
.
addSection
(
'cols'
,
1
);
rep
.
addTable
(
'title'
,
{
'Table Data 0'
,
'subtitle 2'
});
rep
.
addData
(
'data'
,
[
repmat
({
'a'
},
10
,
1
)
num2cell
(
rand
(
10
,
6
))]);
rep
.
addVspace
();
rep
.
addSection
(
'cols'
,
1
);
rep
.
addTable
(
'title'
,
{
'Table Data 1'
,
'subtitle 3'
});
rep
.
addData
(
'data'
,
[
repmat
({
'a'
},
10
,
1
)
repmat
({
'b'
},
10
,
1
)
num2cell
(
rand
(
10
,
1
))],
'column_names'
,
{
'Name'
,
''
,
'Var2'
});
%% Write & Compile Report
rep
.
write
();
...
...
Write
Preview
Markdown
is supported
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