RE: Graph inside another graph
- To: mathgroup at smc.vnet.net
- Subject: [mg68961] RE: [mg68922] Graph inside another graph
- From: "Jose Luis Gomez" <jose.luis.gomez at itesm.mx>
- Date: Fri, 25 Aug 2006 05:35:22 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
You can do it with Rectangle[]. Example: p1 = Plot[Sin[x], {x, 0, 2Pi}]; p2 = Plot[Cos[x], {x, 0, 2Pi}]; p12 = Show[p1, Graphics[{Rectangle[{3.5, 0.4}, {5.5, 1.2}, p2]}]] Bye! Jose -----Mensaje original----- De: maruth at gmail.com [mailto:maruth at gmail.com] Enviado el: Miércoles, 23 de Agosto de 2006 06:16 a.m. Para: mathgroup at smc.vnet.net Asunto: [mg68922] Graph inside another graph 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.