Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

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.


  • Prev by Date: Re: Graph inside another graph
  • Next by Date: Re: Graph inside another graph
  • Previous by thread: Re: Graph inside another graph
  • Next by thread: Re: Graph inside another graph