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
e65ee258
Commit
e65ee258
authored
Apr 24, 2013
by
Houtan Bastani
Browse files
reporting: @graph: avoid legend crash on octave
parent
aa36cf26
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/reports/@graph/createGraph.m
View file @
e65ee258
...
...
@@ -99,9 +99,9 @@ xticks = get(gca, 'XTick');
set
(
gca
,
'XTickLabel'
,
xlabels
(
ix
));
if
o
.
legend
lh
=
legend
(
line_handles
,
o
.
seriesElements
.
getTexNames
()
);
set
(
lh
,
'orientation'
,
o
.
legend_orientation
);
set
(
lh
,
'
L
ocation'
,
o
.
legend_location
);
lh
=
legend
(
line_handles
,
o
.
seriesElements
.
getTexNames
()
,
...
'orientation'
,
o
.
legend_orientation
,
...
'
l
ocation'
,
o
.
legend_location
);
set
(
lh
,
'FontSize'
,
o
.
legend_font_size
);
set
(
lh
,
'interpreter'
,
'latex'
);
legend
(
'boxoff'
);
...
...
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