Hi, Can any one tell me, How can I draw only a table in a figure (without XY Cordinates)
Please find my code below : *# do this before importing pylab or pyplot import matplotlib matplotlib.use('Agg') from matplotlib.pyplot import figure from matplotlib.table import table from pylab import * fig = figure() colLabels = ('Freeze', 'Wind', 'Flood', 'Quake', 'Hail') rowLabels = ['%d year' % x for x in (100, 50, 20, 10, 5)] cellText = [['66.4', '174.3', '75.1', '577.9', '32.0'], ['124.6', '555.4', '153.2', '677.2', '192.5'], ['213.8', '636.0', '305.7', '1175.2', '796.0'], ['292.2', '717.8', '456.4', '1368.5', '865.6'], ['431.5', '1049.4', '799.6', '2149.8', '917.9']] table(cellText=cellText, colLabels=colLabels) fig.savefig('test12.png')* and also the generated png in an attachment. Can any one tell me how can i remove XY axis and have only table ? -- Hussain Bohra Sr. Software Engineer Tavant Technologies Koramangala, Bangalore-95 mailto: hussain.bo...@tavant.com mobile: +91 99867 95727
<<attachment: test12.png>>
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users