Re: Graph inside another graph
- To: mathgroup at smc.vnet.net
- Subject: [mg68971] Re: Graph inside another graph
- From: bghiggins at ucdavis.edu
- Date: Sat, 26 Aug 2006 02:03:53 -0400 (EDT)
- References: <echef8$ope$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Will this work for you:
plt1 = Plot[Sin[2x], {x, 0, 2p},
PlotStyle -> Blue, Frame -> True, ImageSize -> 150]
Plot[BesselJ[0, x], {x, 0, 4p}, PlotStyle ->
Red, Epilog -> Rectangle[{6, 0.4}, {12, 1.0}, plt1], Frame -> True]
Cheers,
Brian
maruth at gmail.com wrote:
> Hello,
> I am generating graphs in mathematica 5.0 that I export to eps for use
> in latex.
> I have two graphics objects each from MultipleListPlot[.], However I
> cannot seem to find a way to place a graph inside another graph (the
> inside graph
> being smaller and in an upper corner having it's own axis but within
> the frame of the larger graph). If anyone knows an easy method to do
> this, or any method at all I would appreciate it.