Plotting Data on one graph

    0

    0

    The NVIDIA-SMI tool collects system information and registers devices in the NVIDIA Management Engine.

    # Data plot
    import matplotlib.pyplot as plt
    classes = np.unique(np.concatenate((y_train, y_test), axis=0))
    
    x_train = x_train[y_train]
    plt.plot(x_train['class to plot'])
    plt.plot(x_train['class to plot'])
    plt.legend(loc='best')
    plt.title("EDXRF SPECTRAL DATA ABOVE MAL")
    plt.xlabel("Energies")
    plt.ylabel("Counts")
    plt.show()
    plt.show()
    plt.close()
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.