Commit ac12160c authored by Marco Berzborn's avatar Marco Berzborn

bugfix: removed cursors from plot legend

parent 5ba0c8c6
......@@ -138,7 +138,7 @@ switch state
'Parent',current_axh,...
'UserData',lnh,...
'Visible','off'); %do not display cursor initially
%[yl(1) yl(2)]
ph2 = line([xv2 xv2],[-1e7 1e7], ...
'Color',PassiveColor, ...
'Marker',marker, ...
......@@ -150,6 +150,11 @@ switch state
'UserData',lnh,...
'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(ph2,'sample_CurrentPos',x_init(2));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment