Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MR_spectroS
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AG_Henning
MR_spectroS
Commits
291f45c8
Commit
291f45c8
authored
3 years ago
by
Tamas Borbath
Browse files
Options
Downloads
Patches
Plain Diff
doublePointedArrowInside.m is a new function used for plotBaselines_and_fitted_spectra
parent
ca8a1ac9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
createTestData/doublePointedArrowInside.m
+22
-0
22 additions, 0 deletions
createTestData/doublePointedArrowInside.m
with
22 additions
and
0 deletions
createTestData/doublePointedArrowInside.m
0 → 100644
+
22
−
0
View file @
291f45c8
function
doublePointedArrowInside
(
xa
,
yUpper
,
yLower
,
arrowsColor
)
set
(
gcf
,
'Units'
,
'normalized'
);
yaDown
=
[
yUpper
+
1e-8
yUpper
];
yaLine
=
[
yLower
yUpper
];
yaUp
=
[
yLower
-
1e-8
yLower
];
[
xaf
,
yafLine
]
=
axescoord2figurecoord
(
xa
,
yaLine
);
line
=
annotation
(
'line'
,
xaf
,
yafLine
);
[
xaf
,
yafDown
]
=
axescoord2figurecoord
(
xa
,
yaDown
);
arDown
=
annotation
(
'arrow'
,
xaf
,
yafDown
);
[
xaf
,
yafUp
]
=
axescoord2figurecoord
(
xa
,
yaUp
);
arUp
=
annotation
(
'arrow'
,
xaf
,
yafUp
);
%styling
line
.
Color
=
arrowsColor
;
arDown
.
HeadStyle
=
'vback2'
;
arDown
.
HeadLength
=
5
;
arDown
.
HeadWidth
=
7
;
arDown
.
Color
=
arrowsColor
;
arUp
.
HeadStyle
=
'vback2'
;
arUp
.
HeadLength
=
5
;
arUp
.
HeadWidth
=
7
;
arUp
.
Color
=
arrowsColor
;
end
\ No newline at end of file
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