How to zoomed a portion of image and insert in the same plot in matplotlib

前端 未结 4 458
太阳男子
太阳男子 2020-12-02 05:19

I would like to zoom a portion of data/image and plot it inside the same figure. It looks something like this figure.

4条回答
  •  不知归路
    2020-12-02 06:14

    The simplest way is to combine "zoomed_inset_axes" and "mark_inset", whose description and related examples could be found here: Overview of AxesGrid toolkit

    enter image description here

提交回复
热议问题