Commit e8ae5c46 authored by Jesse Heckman's avatar Jesse Heckman
Browse files

updated minor fixes

parent b4bfc1ab
......@@ -32,7 +32,7 @@ function [Dat,profile,dur] = pb_vSignalVC(handles)
Dat.v.amplitude = signal(1).amplitude;
Dat.h.amplitude = signal(2).amplitude;
dur = max([signal(1).duration signal(2).duration])+10; % add 10 extra seconds for delay of the system
% dur = max([signal(1).duration signal(2).duration])+10; % add 10 extra seconds for delay of the system
%% FEEDBACK GUI
updateBlock(handles, signal);
......
......@@ -119,9 +119,9 @@ function updateTrial(handles)
% Updates the trial information to the GUI
tn = handles.cfg.trialnumber;
handles.figure1.Name = ['vPrime - ' num2str(tn(2)) '/' num2str(handles.cfg.Trials) ' Trials']; % counting title
handles.figure1.Name = ['vPrime - ' num2str(tn(2)) '/' num2str(handles.cfg.Trials) ' Trials']; % counting title
str = num2str(tn(1),'%03d'); % blocktrial
str = num2str(tn(1),'%03d'); % blocktrial
set(handles.Tn,'string',str);
end
......
......@@ -11,7 +11,7 @@ function pb_makelocal(varargin)
local = pb_keyval('destination',varargin,[pb_datapath filesep user]);
srv = pb_keyval('server',varargin,'mbaudit5');
srv = ['~/Volumes/' srv];
srv = ['~/sharename/'];
if ~exist(srv,'dir')
disp('Server cannot be found. Please first mount server (pb_mountserver).');
......
......@@ -9,7 +9,7 @@ function pb_mountserver(varargin)
% PBToolbox (2018): JJH: j.heckman@donders.ru.nl
srv = pb_keyval('server',varargin,'mbaudit5');
cin = ['mount -t smbfs //' getcredentials(srv) '@' srv '-srv.science.ru.nl/' srv ' ~/sharename/'];
cin = ['mount -t smbfs //' getcredentials(srv) '@' srv '-srv.science.ru.nl/' srv '/ ~/sharename/'];
[s,cout] = system(cin);
if s > 0 && s ~= 64; disp(cout); end
......
......@@ -18,6 +18,7 @@ function [n,p] = pb_defsubplot(fig)
for i = 1:n
p(i) = length(findobj(h(i),'Type','Line')) + ...
length(findobj(h(i),'Type','FunctionLine')) + ...
length(findobj(h(i),'Type','Bar')) + ...
length(findobj(h(i),'Type','Area')) + ...
length(findobj(h(i),'Type','ErrorBar')) + ...
......
......@@ -60,6 +60,17 @@ function pb_nicegraph(varargin)
'Color' , col(j,:) , ...
'LineWidth' , linewidth );
end
% FUNCTIONLINE:
%
% Use as 'primary' data
h_fline = pb_fobj(ax(i),'Type','FunctionLine');
for iFline=1:length(h_fline)
set(h_fline(length(h_fline)+1-iFline), ...
'Color' , col(iFline,:) , ...
'LineWidth' , linewidth );
end
% ERRORBAR:
%
......
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