I have looked at the post on embedding graph and cannot understand it to help me in my problem. I wish to draw one graph inside another graph. My particular problem is I have graph of the Fourier Transform of a time function and the graph of the function of time. I want the plot the function of time inside the axes (upper right hand corner with reduced size) of the Fourier Transform graph to show in one picture the relation between the two functions. There must be a way to do this but it must use aspects of Asymptote I am not yet familiar with. Any help would be greatly appreciated. Other than the post on embedding a function all the examples I have found show how to draw multiple images on a picture that do not lie inside one another. This I was able to do.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have looked at the post on embedding graph and cannot understand it to help me in my problem. I wish to draw one graph inside another graph. My particular problem is I have graph of the Fourier Transform of a time function and the graph of the function of time. I want the plot the function of time inside the axes (upper right hand corner with reduced size) of the Fourier Transform graph to show in one picture the relation between the two functions. There must be a way to do this but it must use aspects of Asymptote I am not yet familiar with. Any help would be greatly appreciated. Other than the post on embedding a function all the examples I have found show how to draw multiple images on a picture that do not lie inside one another. This I was able to do.
I got to work with this code but I don't know why it works or how to fine tune the position of the embedded graph -
pdf output attached