Skip to content
GitLab
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
89b0bd09
Commit
89b0bd09
authored
May 13, 2013
by
Houtan Bastani
Browse files
reporting: change grid option to showGrid
parent
a5194b4f
Changes
2
Hide whitespace changes
Inline
Side-by-side
matlab/reports/@graph/createGraph.m
View file @
89b0bd09
...
...
@@ -41,7 +41,7 @@ end
h
=
figure
(
'visible'
,
'off'
);
hold
on
;
box
on
;
if
o
.
g
rid
if
o
.
showG
rid
grid
on
;
set
(
gca
,
'GridLineStyle'
,
'--'
);
end
...
...
matlab/reports/@graph/graph.m
View file @
89b0bd09
...
...
@@ -52,7 +52,7 @@ o.shade = '';
o
.
shade_color
=
[
0
1
0
];
o
.
shade_opacity
=
.
2
;
o
.
g
rid
=
true
;
o
.
showG
rid
=
true
;
o
.
legend
=
false
;
o
.
legend_boxoff
=
false
;
...
...
@@ -93,7 +93,7 @@ assert(ischar(o.config), '@graph.graph: config file must be a string');
assert
(
ischar
(
o
.
xlabel
),
'@graph.graph: xlabel file must be a string'
);
assert
(
ischar
(
o
.
ylabel
),
'@graph.graph: ylabel file must be a string'
);
assert
(
ischar
(
o
.
figname
),
'@graph.graph: figname must be a string'
);
assert
(
islogical
(
o
.
g
rid
),
'@graph.graph:
g
rid must be either true or false'
);
assert
(
islogical
(
o
.
showG
rid
),
'@graph.graph:
showG
rid must be either true or false'
);
assert
(
islogical
(
o
.
legend
),
'@graph.graph: legend must be either true or false'
);
assert
(
islogical
(
o
.
legend_boxoff
),
'@graph.graph: legend_boxoff must be either true or false'
);
assert
(
isint
(
o
.
legend_font_size
),
'@graph.graph: legend_font_size must be an integer'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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