1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| %% Creation des objets
% fenetre principal
Fenetre = figure('Visible','on');
set(Fenetre,'Units','Normalized','Position',[0 0 1 1],'Color','k');
% espace deplacement curseur
handles(4)=axes('unit','pixel','position',[40 100 1250 250],'visible','off','xlim',[0 1],'ylim',[0 1 ]);
% position graphique,video
Data = axes('Units','pixels','Position',[40,100,1250,250],'Color','k','XColor','w','YColor','w');
set(Data,'ytick',[])
uistack(Data,'bottom',2)
% définition curseur
x_position=0;
curseur=rectangle('position',[x_position 0 0.0001 1],'edgecolor','w','facecolor','w','parent',handles(4),'Tag','curseur'); |
Partager