Skip to content
Snippets Groups Projects
Select Git revision
  • 9daf96b6279984b733c6e38a53260052d8bb7959
  • main default protected
  • gitkeep
  • dev
  • ipynb
  • 81-add-id-to-figure-file-metadata
  • v0.3.2
  • v0.3.1
  • v0.3.0
  • v0.2.3
  • test_tag
  • v0.2.2
  • v.0.2.1
  • v0.2.1
  • v0.1.2
  • v0.1.1
  • v0.1.0
17 results

example.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    example.py 539 B
    # -*- coding: utf-8 -*-
    """
    Created on Tue Jul 20 12:22:33 2021
    example workflow for integrating plotIDs
    @author: Richter
    """
    
    #%% Module einbinden
    import sys
    import numpy as np
    from numpy import random
    import h5py as h5
    import matplotlib.pyplot as plt
    
    #%% Pfade hinzufügen
    
    sys.path.append("fcn_core")
    sys.path.append("fcn_help")
                    
    
    #%% Project ID
    
    ProjectID= "MR01"
    
    #%% Daten erzeugen
    x = np.linspace(0,10,100)
    y= random.rand(100) + 2
    
    y_2 = np.sin(x) +2 
    #%% figure erstellen
    plt.plot(x,y)
    plt.plot(x,y_2)
    plt.show()