Hello, I do not know how to extract coordinates from a dict in order to paint all three graphs:
from pprint import pprint import matplotlib.pyplot as plt fig = plt.figure() data = {} # dict could contains more date, depends from the user input #d1, d2, d3, .... are labels data['d1'] = {1:2,2:5,3:6} data['d2'] = {1:4,2:6,3:8} data['d3'] = {1:1,2:2,3:2} fig = plt.figure() plt.plot(x, y1, '--bo', x, y2, '--go') # How would it be possible to replace it by dict data How is it possible to draw all three graphs? Thank you in advance. ------------------------------------------------------------------------------ Malware Security Report: Protecting Your Business, Customers, and the Bottom Line. Protect your business and customers by understanding the threat from malware and how it can impact your online business. http://www.accelacomm.com/jaw/sfnl/114/51427462/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users