plotting graph from another file

jhinak sen jhinak.sen at
Wed Jul 22 08:28:27 CEST 2009


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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list