Hi,
I want to generate a graph with line, and table at the bottom. However, I found that the fontsize is very small and it is unchangeable. Could anybody help me? thanks
Regards
afancy
fig=figure()
ax=fig.add_subplot(111)
data=(
(0.529, 0.612, 0.855, 0.178, 1.432, 6.43, 41.311, 1.62, 71.012, 1.59, 0.271, 0.066, 4.721),
(0.014, 0.512, 0.015, 0.161, 1.177, 6.793, 0.089, 1.495, 25.65, 0.014, 0.045, 0.052, 5.423),
(0.493, 834.351, 0.156, 743.193,0.428, 84.101, 1058.062,8.652, 1023, 0.168, 7.101, 8.135, 152.646),
(118.90,2035.35, 89.35, 15.402, 10.856,110.049,3024.42, 8054.74,5214.36, 5.539, 11.539, 515.632,150.411)
)
rowLabels=[‘row1’,‘row2’, ‘row3’, ‘row4’]
colLabels=[‘Q%d’%(x+1) for x in range(13)]
the_table = table(cellText=txtdata, rowLabels=rowLabels, colLabels=colLabels, loc=‘bottom’)
the_table.set_fontsize(20.0)