plotting graph from another file

jhinak sen jhinak.sen at gmail.com
Wed Jul 22 02:28:27 EDT 2009


hello..

i want to plot a distribution graph for following data:
*elements:               number of occurance:
   a                            2
   b                            4
   c                            1
   d                            9
   e                            3*

( this a simple version)

the data is in a file , say abc.txt

how can i call/import the text file and draw an appropriate distribution
graph in python  ?
can it be done using matplotlib ?

if yes , please give me the code for plotting the  importing the text file
and plotting the graph.

thanx

jhinak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090722/7f93c95a/attachment.html>


More information about the Python-list mailing list