# Entry Level, Single Machine # https://jupyter.org/try # oder: # apt-get install libatlas-base-dev # pip3 install numpy # (pip install matplotlib==2.0.2 (py2: sonst Problem mit "functools_lru_cache")) # sudo apt-get install python-scipy # sudo apt update # sudo apt install libatlas-base-dev # pip3 install pybind11 # pip3 install scipy # apt install python3-gi-cairo import matplotlib.pyplot as plt import numpy as np x = np.linspace(0,5,100) # Start und Ende der x-Achse plt.figure(figsize=(10,8)) # Inches plt.title('Entry Level, Single Machine') plt.xlabel('Jahre', color='black') plt.ylabel('Euro', color='black') # NW-110 Essential y = 240*x+190 plt.plot(x, y, label='NW-110 Essential', color='blue', linestyle='solid') # NW-140 Essential y = 360*x+190 plt.plot(x, y, label='NW-140 Essential', color='darkblue', linestyle='dashed') # FG-30E FortiCare y = 80*x+393 plt.plot(x, y, label='FG-30E FortiCare', color='lightgreen', linestyle='dotted') # FG-40F FortiCare y = 91*x+453 plt.plot(x, y, label='FG-40F FortiCare', color='green', linestyle='dashdot') # Plot plt.legend(loc='upper left') plt.grid() plt.show()