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
333d515f
Commit
333d515f
authored
May 13, 2013
by
Houtan Bastani
Browse files
reporting: change legend_boxoff to showLegendBox
parent
80c9bf6c
Changes
2
Hide whitespace changes
Inline
Side-by-side
matlab/reports/@graph/createGraph.m
View file @
333d515f
...
...
@@ -112,7 +112,7 @@ if o.showLegend
'location'
,
o
.
legend_location
);
set
(
lh
,
'FontSize'
,
o
.
legend_font_size
);
set
(
lh
,
'interpreter'
,
'latex'
);
if
o
.
legend_boxoff
if
~
o
.
showLegendBox
legend
(
'boxoff'
);
end
end
...
...
matlab/reports/@graph/graph.m
View file @
333d515f
...
...
@@ -54,8 +54,8 @@ o.shade_opacity = .2;
o
.
showGrid
=
true
;
o
.
legend_boxoff
=
false
;
o
.
showLegend
=
false
;
o
.
showLegendBox
=
false
;
o
.
legend_location
=
'SouthEast'
;
o
.
legend_orientation
=
'horizontal'
;
o
.
legend_font_size
=
8
;
...
...
@@ -95,7 +95,7 @@ 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
.
showGrid
),
'@graph.graph: showGrid must be either true or false'
);
assert
(
islogical
(
o
.
showLegend
),
'@graph.graph: showLegend must be either true or false'
);
assert
(
islogical
(
o
.
legend_boxoff
),
'@graph.graph:
legend_boxoff
must be either true or false'
);
assert
(
islogical
(
o
.
showLegendBox
),
'@graph.graph:
showLegendBox
must be either true or false'
);
assert
(
isint
(
o
.
legend_font_size
),
'@graph.graph: legend_font_size must be an integer'
);
assert
(
islogical
(
o
.
zeroline
),
'@graph.graph: zeroline must be either true or false'
);
assert
(
isfloat
(
o
.
shade_opacity
)
&&
length
(
o
.
shade_opacity
)
==
1
&&
...
...
...
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