I am doing a numerical experiment for solving some differential equation. In some part I need to plot a graph of the exact and approximated solutions. However, they are very closed to each other and it is difficult to graphically show how the approximated solution is related to the exact one. My question is how I can show the plot in two graphs, one showing the graph with its approximated solution (no problem if t is not clear how they are closed to each other) and another one beside it showing part of this graph in a very short domain in order to graphically represent how they are closed to each other. You can consider y=x^2 as exact solution and we need to show another plot beside the graph of y in a very small domain. I am interested to show the second graph by putting a small box on the graph of y and direct an arrow to the other graph showing this domain that assigned by the square we already constructed. Hope it is clear. looking for your help!
Please look t the plots below. One is for the domain [-1,1] and the other with a small domain and it is clear how the approximated solution behaves.
Inset
. You can take a look at its documentation page while waiting for someone to post an answer. $\endgroup$