thanks dennis and nathan for ur reply.
well dennis i actually need the graph to be plotted continuously so a jpeg imagefile wouldnt serve the purpose.
nathan i will surely look at those links. i had actually looked at one ogf those links but couldnt find any satisfactory answers to my problem.