How to enlarge a part of the figure and insert it on top of the same plot?

109 Views Asked by At

I would like to zoom a portion of data/image and plot it on top of the same figure.

I want to zoom in the shape all over the x-axis and from -3 to 15 in the y-axis. And put the zoomed one on the top of original figure, with connect them to describe the zoomed area related to which area in original figure.

Also attached the full figure plot and a portion of it as images.the full figure plota portion of it

The full code for this graph is here

Matplotlib - how to break y-axis?

0

There are 0 best solutions below