plotting graph from another file

J

jhinak sen

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top