Hi,
X and Y values are stored in a dict whereas X is the key and Y is the 
value in the following code:

import matplotlib.pyplot as plt

data = {4: 3, 5: 4, 6: 5, 7: 4, 8: 5}

print data
for i in sorted(data.keys()):
     print i

How is possible to use plot with a dict in order to get a similar 
picture like this 
http://matplotlib.sourceforge.net/_images/invert_axes.png .

Thank you in advance.



------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to