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
b631fc1d
Commit
b631fc1d
authored
May 14, 2013
by
Houtan Bastani
Browse files
reporting: @series: change lineWidth to graphLineWidth
parent
f6ff010b
Changes
3
Hide whitespace changes
Inline
Side-by-side
matlab/reports/@series/display.m
View file @
b631fc1d
...
...
@@ -45,9 +45,9 @@ disp(' ');
disp
([
'
''
'
o
.
graphLineStyle
'
''
'
]);
disp
(
' '
);
disp
([
name
'.
l
ine
_w
idth = '
]);
disp
([
name
'.
graphL
ine
W
idth = '
]);
disp
(
' '
);
disp
([
'
''
'
o
.
l
ine
_w
idth
'
''
'
]);
disp
([
'
''
'
o
.
graphL
ine
W
idth
'
''
'
]);
disp
(
' '
);
disp
([
name
'.graph_marker = '
]);
...
...
matlab/reports/@series/getLine.m
View file @
b631fc1d
...
...
@@ -38,7 +38,7 @@ assert(ischar(o.graphLineColor), '@series.getLine: graphLineColor must be a stri
valid_line_style
=
{
'none'
,
'-'
,
'--'
,
':'
,
'-.'
};
assert
(
any
(
strcmp
(
o
.
graphLineStyle
,
valid_line_style
)),
...
[
'@series.getLine: graphLineStyle must be one of '
strjoin
(
valid_line_style
,
' '
)]);
assert
(
isfloat
(
o
.
l
ineWidth
),
[
'@series.getLine:
l
ineWidth must be a '
...
assert
(
isfloat
(
o
.
graphL
ineWidth
),
[
'@series.getLine:
graphL
ineWidth must be a '
...
'positive number'
]);
% GraphMarker
...
...
@@ -72,7 +72,7 @@ opt = {opt{:}, 'YData', ds.data};
opt
=
{
opt
{:},
'Color'
,
o
.
graphLineColor
};
opt
=
{
opt
{:},
'LineStyle'
,
o
.
graphLineStyle
};
opt
=
{
opt
{:},
'LineWidth'
,
o
.
l
ineWidth
};
opt
=
{
opt
{:},
'LineWidth'
,
o
.
graphL
ineWidth
};
if
~
isempty
(
o
.
graphMarker
)
opt
=
{
opt
{:},
'Marker'
,
o
.
graphMarker
};
...
...
matlab/reports/@series/series.m
View file @
b631fc1d
...
...
@@ -37,7 +37,7 @@ o.data = '';
o
.
graphLineColor
=
'k'
;
o
.
graphLineStyle
=
'-'
;
o
.
l
ineWidth
=
0.5
;
o
.
graphL
ineWidth
=
0.5
;
o
.
graphMarker
=
''
;
o
.
graphMarkerEdgeColor
=
'auto'
;
...
...
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