Matplotlib相当于Matlab的cellplot()

时间:2014-03-10 03:01:10

标签: python matlab matplotlib visualization

Matlab中有一个cellplot()函数可视化cellarray的内容。我想以类似的方式可视化Python元组的内容。 Matplotlib或任何其他python库中是否有一个函数来实现这一目的?感谢。

例如,Matlab中的单元格数组可能是

A = {['1st element'] [2 3] [8 9 7; 1 2 3] ['a' 'b']};

cellplot(A)的输出: enter image description here

0 个答案:

没有答案