% This script file is used only when the user requests that multiple df files are to be plotted %simultaneously. It loads the .df files and calls to the plotgr.m script file so that the %requested plots are graphed accordingly %Get some parameters from the user's screen set(greg,'Checked','off'); datafilesnum = str2num(get(filenum2,'String')); datapatho = get(filepatho2,'String'); datapathc = get(filepathc2,'String'); datafiles = get(filedata2,'String'); for i=1:datafilesnum, %Loop through datafiles: load .df files, call to plotgr.m script file and plot in separate windows what is requested for each file listed on the user's screen figure; data = strtok(datafiles); load([datapatho,data,'.df']) datafiles = strrep(datafiles,strtok(datafiles),' '); temp = eval(data); X = temp(:,1); Y = temp(:,2); [a, b] = size(X); tau = 0.01:.01:a*.01; X = X'; Y = Y'; R = X + Y; plotgr; axis([0 10 0 max(R)+10]); title(data); end