Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive

Re: Plot inset?

  • To: mathgroup at
  • Subject: [mg33716] Re: Plot inset?
  • From: Tim Brophy <timbrophy at>
  • Date: Mon, 8 Apr 2002 03:05:00 -0400 (EDT)
  • References: <a8m2tm$oad$>
  • Sender: owner-wri-mathgroup at

On 4/6/02 8:00 AM, in article a8m2tm$oad$1 at, "Eric Dennis"
<edennis at> wrote:

> 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
Use the "Rectangle" function as follows:

p1 = Plot[Sin[x], {x, 0, 2\[Pi]}]

p2 = Plot[Sin[x], {x, 0, 1}, Ticks -> None]

Show[Graphics[{Rectangle[{0, 0}, {1, 1}, p1], Rectangle[{0.8, 0.8}, {1, 1},

This will do it for you.

Tim Brophy

  • Prev by Date: Re: Symbols using Prolog
  • Next by Date: function assignment to list of functions
  • Previous by thread: Re: Plot inset?
  • Next by thread: RE: Plot inset?