Skip to content
Snippets Groups Projects
Select Git revision
  • v1.3.2
  • master default protected
  • gitkeep
  • dev protected
  • Issue/2353-dropShapeFix
  • Issue/2583-treeBug
  • Hotfix/2562-organizations
  • Issue/2464-invalidateMeta
  • Issue/2484-filterExtracted
  • Issue/2309-docs
  • Issue/2462-removeTraces
  • Hotfix/2459-EncodingPath
  • Hotfix/2452-linkedDeletion
  • Issue/2328-noFailOnLog
  • Issue/1792-newMetadataStructure
  • v2.5.2-Hotfix2365
  • Hotfix/2365-targetClassWorks
  • Issue/2269-niceKpiParser
  • Issue/2295-singleOrganizationFix
  • Issue/1953-owlImports
  • Hotfix/2087-efNet6
  • v2.9.0
  • v2.8.2
  • v2.8.1
  • v2.8.0
  • v2.7.2
  • v2.7.1
  • v2.7.0
  • v2.6.2
  • v2.6.1
  • v2.6.0
  • v2.5.3
  • v2.5.2
  • v2.5.1
  • v2.5.0
  • v2.4.1
  • v2.4.0
  • v2.3.0
  • v2.2.0
  • v2.1.0
  • v2.0.0
41 results

AssemblyInfo.cs

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    PlotID_centralized.m 1.23 KiB
    clear; close all; clc;
    %%  multiple plots from the same data-set (centralized method)
    % A central data folder is used for saving the research data files, the
    % subfolders contain linked hdf5-files (if hdf5 is used) otherwise the data
    % will only be in the data folder.
    
    % This is recommended, if many plots are made from the same data set.
    % Attention, the linked HDF5 will not work when a subfolder was moved or the data
    % folder was deleted
    
    [x, y, datapath] = createExampleData('hdf');
    scriptPath = [mfilename('fullpath'),'.m'];
    
    fig1 = figure;
    plot(x,y,'-k'); 
    [fig1, ID] = PlotID.TagPlot(fig1);
    
    PlotID.Publish(datapath,scriptPath, fig1, 'Method','centralized')
    
    % Second figure based on the same data set as fig1
    fig2 = figure;
    plot(x.^2,y,'-r'); 
    [fig2, ID] = PlotID.TagPlot(fig2);
    
    PlotID.Publish(datapath,scriptPath, fig2, 'Method','centralized')
    
    %% Note:
    % If you rerun this script PlotId will tell you that a identical named (but
    % not binary idetical) file exists in the data folder. This is intended,
    % due protect the user from overwritting non (binary) identical files. The
    % reason for this is that two hdf files with the same data are not idetical
    % when recreated (see line 11). Usually you would use an existing file
    % without changing it.