problem with plotting
anishchapagain at gmail.com
Fri Aug 29 13:48:27 CEST 2008
On Aug 29, 12:24 pm, "Eric_Dex... at msn.com" <Eric_Dex... at msn.com>
> On Aug 29, 6:01 am, Anish Chapagain <anishchapag... at gmail.com> wrote:
> > hi,
> > I'm getting problem with the code below which after displaying graph
> > plotted in external window, doesnot closes itself, even after closing
> > the window of plotting the main python window shows processing.
> > code goes like this...
> > plot(col1, col2, linewidth=1.0)
> > xlabel('col1')
> > ylabel('col2')
> > title('Values from List created with file read')
> > grid(True)
> > savefig('col1 col2.pdf')
> > show()
> > is there any other function to be called after show() to close it
> > properly.
> > thank's for any help.
> > anish
> what library/system are you using???- Hide quoted text -
> - Show quoted text -
am using pylab
and have added the
print "plotting finished"
after show() which get's printed in python main window but then
doesnot return to prompt and have to kill the window again.
More information about the Python-list