Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
reporting
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Archives
reporting
Commits
7e5fd242
Commit
7e5fd242
authored
Jul 7, 2014
by
Houtan Bastani
Browse files
Options
Downloads
Patches
Plain Diff
reporting: graph: add option yTickLabelScaled
parent
04c8870f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
@graph/graph.m
+2
-0
2 additions, 0 deletions
@graph/graph.m
@graph/writeGraphFile.m
+4
-0
4 additions, 0 deletions
@graph/writeGraphFile.m
with
6 additions
and
0 deletions
@graph/graph.m
+
2
−
0
View file @
7e5fd242
...
@@ -72,6 +72,7 @@ o.xTickLabels = {};
...
@@ -72,6 +72,7 @@ o.xTickLabels = {};
o
.
xTickLabelRotation
=
0
;
o
.
xTickLabelRotation
=
0
;
o
.
xTickLabelAnchor
=
'east'
;
o
.
xTickLabelAnchor
=
'east'
;
o
.
yTickLabelScaled
=
true
;
o
.
yTickLabelPrecision
=
0
;
o
.
yTickLabelPrecision
=
0
;
o
.
yTickLabelFixed
=
true
;
o
.
yTickLabelFixed
=
true
;
o
.
yTickLabelZeroFill
=
true
;
o
.
yTickLabelZeroFill
=
true
;
...
@@ -137,6 +138,7 @@ assert(ischar(o.xTickLabelAnchor), '@graph.graph: xTickLabelAnchor must be a str
...
@@ -137,6 +138,7 @@ assert(ischar(o.xTickLabelAnchor), '@graph.graph: xTickLabelAnchor must be a str
assert
(
isint
(
o
.
yTickLabelPrecision
),
'@graph.graph: o.yTickLabelPrecision must be an integer'
);
assert
(
isint
(
o
.
yTickLabelPrecision
),
'@graph.graph: o.yTickLabelPrecision must be an integer'
);
assert
(
islogical
(
o
.
yTickLabelFixed
),
'@graph.graph: yTickLabelFixed must be either true or false'
);
assert
(
islogical
(
o
.
yTickLabelFixed
),
'@graph.graph: yTickLabelFixed must be either true or false'
);
assert
(
islogical
(
o
.
yTickLabelZeroFill
),
'@graph.graph: yTickLabelZeroFill must be either true or false'
);
assert
(
islogical
(
o
.
yTickLabelZeroFill
),
'@graph.graph: yTickLabelZeroFill must be either true or false'
);
assert
(
islogical
(
o
.
yTickLabelScaled
),
'@graph.graph: yTickLabelScaled must be either true or false'
);
assert
(
ischar
(
o
.
shadeColor
),
'@graph.graph: shadeColor must be a string'
);
assert
(
ischar
(
o
.
shadeColor
),
'@graph.graph: shadeColor must be a string'
);
assert
(
ischar
(
o
.
zeroLineColor
),
'@graph.graph: zeroLineColor must be a string'
);
assert
(
ischar
(
o
.
zeroLineColor
),
'@graph.graph: zeroLineColor must be a string'
);
...
...
This diff is collapsed.
Click to expand it.
@graph/writeGraphFile.m
+
4
−
0
View file @
7e5fd242
...
@@ -186,6 +186,10 @@ if ~isempty(o.ylabel)
...
@@ -186,6 +186,10 @@ if ~isempty(o.ylabel)
fprintf
(
fid
,
'ylabel=%s,\n'
,
o
.
ylabel
);
fprintf
(
fid
,
'ylabel=%s,\n'
,
o
.
ylabel
);
end
end
if
~
o
.
yTickLabelScaled
fprintf
(
fid
,
'scaled y ticks = false,\n'
);
end
if
~
isempty
(
o
.
miscTikzAxisOptions
)
if
~
isempty
(
o
.
miscTikzAxisOptions
)
fprintf
(
fid
,
'%s'
,
o
.
miscTikzAxisOptions
);
fprintf
(
fid
,
'%s'
,
o
.
miscTikzAxisOptions
);
end
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment