24 lines
599 B
Matlab
24 lines
599 B
Matlab
function[] = set_plot_sess(e)
|
|
|
|
plotwindow = gcf;
|
|
plotwindow_id = get_plotwindow_id(plotwindow);
|
|
|
|
subj_pop = findobj('Tag', ['subj_pop.' plotwindow_id]);
|
|
sess_pop = findobj('Tag', ['sess_pop.' plotwindow_id]);
|
|
trial_slider = findobj('Tag', ['trial_slider.' plotwindow_id]);
|
|
trial_edit = findobj('Tag', ['trial_edit.' plotwindow_id]);
|
|
|
|
trial=get(trial_slider, 'Value');
|
|
|
|
set(trial_edit, 'String', trial);
|
|
|
|
|
|
sess = get(sess_pop, 'Value');
|
|
subj = get(subj_pop, 'Value');
|
|
|
|
trial=round(get(trial_slider, 'Value'));
|
|
set(trial_slider, 'Value', trial);
|
|
|
|
plot(e.subjects(subj).sessions(sess).trials(trial));
|
|
|