MathGroup Archive 2002

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

Search the Archive

RE: Plot inset?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg33693] RE: [mg33679] Plot inset?
  • From: "David Park" <djmp at earthlink.net>
  • Date: Mon, 8 Apr 2002 03:04:20 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

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?