Changeset 1091 for trunk/src/series
- Timestamp:
- Feb 9, 2021, 12:52:17 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/time_series.m
r1085 r1091 248 248 last_j=j1_series{1}(end); 249 249 end 250 OutputPath=fullfile(Param.OutputPath,Param.Experiment,Param.Device) 250 251 251 252 %% Set field names and velocity types … … 305 306 if isfield(Param,'ActionInput') && isfield(Param.ActionInput,'VarMesh')%case of histograms 306 307 VarMesh=Param.ActionInput.VarMesh; 307 else 308 elseif isequal(Param.IndexRange.NbSlice,1) 308 309 VarMesh=[]; 309 310 disp_uvmat('WARNING','automatic bin size for histograms, select time_series again to set the value',checkrun) … … 572 573 573 574 %% name of result file 574 OutputFile=fullfile_uvmat( RootPath{1},OutputDir,RootFile{1},FileExtOut,NomTypeOut,first_i,last_i,first_j,last_j);575 OutputFile=fullfile_uvmat(OutputPath,OutputDir,RootFile{1},FileExtOut,NomTypeOut,first_i,last_i,first_j,last_j); 575 576 errormsg=struct2nc(OutputFile,DataOut); %save result file 576 577 if isempty(errormsg) … … 581 582 582 583 %% plot the time series for (the last one in case of multislices) 583 if checkrun %&& isfield(Param,'ProjObject') && strcmp(Param.ProjObject.Type,'points')584 if checkrun && isequal(Param.IndexRange.NbSlice,1)%&& isfield(Param,'ProjObject') && strcmp(Param.ProjObject.Type,'points') 584 585 %% open the result file with uvmat (in RUN mode) 585 586 uvmat(OutputFile)% open the last result file with uvmat 586 587 end 587 % figure 588 % haxes=axes; 589 % plot_field(DataOut,haxes) 590 % 591 % %% display the result file using the GUI get_field 592 % hget_field=findobj(allchild(0),'name','get_field'); 593 % if ~isempty(hget_field) 594 % delete(hget_field) 595 % end 596 % get_field(OutputFile,DataOut) 597 % end 598 599 588 589 590
Note: See TracChangeset
for help on using the changeset viewer.