Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
%FIGURE_TRACE generate a simple plot, showing the trace of the mouse over
% time
%
% Friedrich Kretschmer
% Max-Planck Institute for Brain Research
% sciclist@brain.mpg.de
fileName = '/storage/scic/Data/External/People/Bea/set2/gad/01-gad_2R.mat';
load(fileName, 'mousePos', 'frameRate');
%Take window from 1min to 10min
frameOnset = round(60*frameRate); %Start at 1min
frameOffset = round(660*frameRate); %Stop at 11min
%Plot the trace
wnd = mousePos(frameOnset:frameOffset,:);
h = plotMousePosTrace(wnd);