making inset graphs (small graph inside larger graph?)

Hi all,

I was hoping someone could point to an example of making "inset
graphs", where a small graph appears inside of a large graph. For
example i want to make a line plot (using "plot") and then embed a bar
graph (using "bar") inside it. how can i do that?

thanks.

per freem wrote:

Hi all,

I was hoping someone could point to an example of making "inset
graphs", where a small graph appears inside of a large graph. For
example i want to make a line plot (using "plot") and then embed a bar
graph (using "bar") inside it. how can i do that?
  

http://matplotlib.sourceforge.net/examples/pylab_examples/axes_demo.html