MathGroup Archive 2002

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

Search the Archive

RE: Plot inset?


Eric,

You can make inset plots by using the second form of Rectangle and Epilog.
Here is an example:

Needs["Graphics`Colors`"]

Plot[Sin[x], {x, 0, 2Pi},
    Epilog -> {Rectangle[{3.5, 0.2}, {6, 0.9},
	 Plot[Cos[x], {x, 0, 2Pi},
            Frame -> True,
            Background -> CyanWhite,
            DisplayFunction -> Identity]]},
    Background -> Linen,
    ImageSize -> 500];

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

> From: Eric Dennis [mailto:edennis at princeton.edu]
To: mathgroup at smc.vnet.net
>
> Is it possible to display a plot as a small inset
> in a larger plot? Couldn't find any reference to
> this in the help browser, but it seems like
> something that should be doable. Maybe there's
> just some kind of "superpose graphics" option(?).
>
> Thanks,
> Eric
>



  • Prev by Date: RE: Plot inset?
  • Next by Date: Re: Plot inset?
  • Previous by thread: RE: Plot inset?
  • Next by thread: Re: Plot inset?