MathGroup Archive 2006

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

Search the Archive

Re: Graph inside another graph


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.


  • Prev by Date: Re: pattern match and formatting challenge
  • Next by Date: Re: nullspaces
  • Previous by thread: RE: Graph inside another graph
  • Next by thread: Re: Graph inside another graph