Hello, This is usually done by using several calls to "axes", specifying the coordinates of the different plots in the figure. The "plot" coordinates are in the range 0..1 times 0..1.
An example is provided here http://matplotlib.sourceforge.net/examples/pylab_examples/axes_demo.html with two plots in the main one, you can skip one of them. Pierre Le 15 mars 10 à 12:44, Nathan Harmston a écrit : > Hi everyone, > > I've been trying (with no luck) to add a plot inside a plot, like this > (apologies for the ascii art), the smaller box represents the plot I > want to add. The thing I know it doesnt want to be a subplot and I > can't find an example of this plot in the gallery. It is possible in R > with some hacking....and I'm hoping its possible in matplotlib. > > | _________ > | | | > | | | > | |________| > | > | > | > | > -------------------------------------------------- > > Any ideas on how to do this? I m guessing/hoping someone must have > done it before? > > Many thanks in advance > > Nathan > > ---------------------------------------------------------------------- > -------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users