Skip to content
Snippets Groups Projects
Select Git revision
  • 5265af0b43703e7b8435303c1297f924db57741b
  • master default protected
2 results

lab4-matplotlib.py

Blame
  • lab4-matplotlib.py 359 B
    import matplotlib.pyplot as plt;
    
    
    import numpy as np
    import matplotlib.pyplot as plt
    
    objects = ('Ajay','Rahul','Srinidhi')
    y_pos = np.arange(len(objects))
    performance = [10000,20000,5000]
    
    plt.bar(y_pos, performance, align='center', alpha=0.5)
    plt.xticks(y_pos, objects)
    plt.ylabel('Usage')
    plt.title('Programming language usage')
    
    plt.show()