matshow 中的行和列编号

问题描述

matshow 中的行和列编号从零开始。我更喜欢从 1 开始编号。有人可以建议如何做到这一点吗?

 def matshow(self,Z,**kwargs):

    """
    Plot the values of a 2D matrix or array as color-coded image.

    The matrix will be shown the way it would be printed,with the first
    row at the top.  Row and column numbering is zero-based.

    Parameters
    ----------
    Z : array-like(M,N)
        The matrix to be displayed.

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)