diff --git a/CI_files/runtest.ps1 b/CI_files/runtest.ps1 index 677bd522da0a4101cfd2313c631eb4530598c3cd..36c021dc1e79edee183d5e583a7b5f5972cfc300 100644 --- a/CI_files/runtest.ps1 +++ b/CI_files/runtest.ps1 @@ -4,8 +4,6 @@ $LOGFILE="log2.txt" $arguments = "-nodesktop", "-nosplash","-minimize","-wait", "-logfile $LOGFILE","-r","runner_test" $Returnvalue = & 'C:\Program Files\MATLAB\R2021b\bin\matlab.exe' $arguments -$mfile = - CODE=$? cat $Returnvalue; diff --git a/PlotID_Demo.m b/PlotID_Demo.m index 2914c4f68f4d0b98cf3bac0d30527d77f9149fd7..766ad17cfb60feb31820c5382e61b6f3cc7d413b 100644 --- a/PlotID_Demo.m +++ b/PlotID_Demo.m @@ -28,7 +28,7 @@ y1 = sin(x1)+.5*sin(2*x1)+2; % define file path & name -fpath = fullefile(pwd,"./testdata2.h5"); +fpath = fullfile(pwd,"./testdata2.h5"); dataset2 = fullfile(pwd,'testdata2.h5'); % create hdf5 file and dataset > write data to hdf5 file / dataset @@ -48,7 +48,7 @@ box off; hold on; plot(x1,y1,'-k'); set(gca, 'TickDir', 'out', 'YLim', [0,4],'YTick',[0:1:4],'XLim',[0,6]); %fstplt.setfiguresize('1/2ppt16:9'); -fstplt.pimpplot; +%fstplt.pimpplot; %% Example 1: single plot based on two data-sets @@ -66,4 +66,9 @@ path.script = mfilename('fullpath'); % filename of the m.script % file names of the datasets path.rdata = {dataset1,dataset2} ; % don't forget the extension -PlotID.Publish(path, ID, fig(1), 'Location', 'local' ,'Method','individual') \ No newline at end of file +PlotID.Publish(path, ID, fig(1), 'Location', 'local' ,'Method','individual') + + + +%% End + diff --git a/example.m b/example.m index bda38be82806b1e96ba3b6cb5e194c412ba3d5fd..92e79d652ef49d346c18b1ac6e71ae143e77c813 100644 --- a/example.m +++ b/example.m @@ -18,7 +18,7 @@ end % otherwise dialogue? % Leave empty for using the ID from the config file -ProjectID = ''; +ProjectID = 'FST03'; %% Data @@ -81,7 +81,7 @@ path.script = mfilename('fullpath'); % filename of the m.script % file names of the datasets path.rdata = {dataset1,dataset2} ; % don't forget the extension -PlotID.Publish(path, ID, fig(1), 'Location', 'local' ,'Method','centralized') +PlotID.Publish(path, ID, fig(1), 'Location', 'local' ,'Method','individual') %% Example 2: multiple plots plot, all based on data-set2 (hdf5) % for individual data-sets, use an appropriate array @@ -102,7 +102,7 @@ path.rdata = {dataset2} ; % don't forget the extension % publsihing via for-loop for i=1: numel(fig) - PlotID.Publish(path, IDs{i}, fig(i), 'Location', 'local','Method','centralized'); + PlotID.Publish(path, IDs{i}, fig(i), 'Location', 'server','Method','individual'); end %% Second Plot with identical data to test centralized method