Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
toolbox
Commits
ac12160c
Commit
ac12160c
authored
May 08, 2017
by
Marco Berzborn
Browse files
bugfix: removed cursors from plot legend
parent
5ba0c8c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
kernel/PlotRoutines/Plottools/ita_plottools_cursors.m
View file @
ac12160c
...
@@ -138,7 +138,7 @@ switch state
...
@@ -138,7 +138,7 @@ switch state
'Parent'
,
current_axh
,
...
'Parent'
,
current_axh
,
...
'UserData'
,
lnh
,
...
'UserData'
,
lnh
,
...
'Visible'
,
'off'
);
%do not display cursor initially
'Visible'
,
'off'
);
%do not display cursor initially
%[yl(1) yl(2)]
ph2
=
line
([
xv2
xv2
],[
-
1e7
1e7
],
...
ph2
=
line
([
xv2
xv2
],[
-
1e7
1e7
],
...
'Color'
,
PassiveColor
,
...
'Color'
,
PassiveColor
,
...
'Marker'
,
marker
,
...
'Marker'
,
marker
,
...
...
@@ -150,6 +150,11 @@ switch state
...
@@ -150,6 +150,11 @@ switch state
'UserData'
,
lnh
,
...
'UserData'
,
lnh
,
...
'Visible'
,
'off'
);
%do not display cursor initially
'Visible'
,
'off'
);
%do not display cursor initially
% hide the cursors from the plot legend
set
(
get
(
get
(
ph1
,
'Annotation'
),
'LegendInformation'
),
'IconDisplayStyle'
,
'off'
);
set
(
get
(
get
(
ph2
,
'Annotation'
),
'LegendInformation'
),
'IconDisplayStyle'
,
'off'
);
setappdata
(
ph1
,
'sample_CurrentPos'
,
x_init
(
1
));
setappdata
(
ph1
,
'sample_CurrentPos'
,
x_init
(
1
));
setappdata
(
ph2
,
'sample_CurrentPos'
,
x_init
(
2
));
setappdata
(
ph2
,
'sample_CurrentPos'
,
x_init
(
2
));
...
...
Marco Berzborn
@mbe
mentioned in issue
#11 (closed)
·
May 08, 2017
mentioned in issue
#11 (closed)
mentioned in issue #11
Toggle commit list
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment