MathGroup Archive 1996

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

Search the Archive

Re: [Q] Plot in a Plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg3121] Re: [Q] Plot in a Plot
  • From: wagner at bullwinkle.cs.Colorado.EDU (Dave Wagner)
  • Date: Fri, 2 Feb 1996 23:31:37 -0500
  • Organization: University of Colorado, Boulder
  • Sender: owner-wri-mathgroup at wri.com

In article <4en6tk$lll at dragonfly.wri.com>,
 <David A.Johnson at news.acns.nwu.edu> wrote:
>I need a little help.
>
>I want to display a ListPlot that is framed and in the upper right corner  of this plot I want to display a shrunken ListPlot, ie a plot within a plot.

Rectangle can be used to embed one graphics object in another.
Try something like this:

    Show[mainplot, Epilog->Rectangle[{x1,y1},{x2,y2},subplot]]

where {x1,y1} are the coordinates of the lower-left hand corner
of the rectagle, and {x2,y2} are the coords of the upper right-hand corner,
and mainplot and subplot are graphics objects.  The coordinates are
expressed in the coordinate system of mainplot.

		Dave Wagner
		Principia Consulting
		(303) 786-8371
		dbwagner at princon.com
		http://www.princon.com/princon

==== [MESSAGE SEPARATOR] ====


  • Prev by Date: [Q]Greek letters for Plots
  • Next by Date: Re: Why printing in Courier font only?
  • Previous by thread: Re: [Q] Plot in a Plot
  • Next by thread: Re: [Q] Plot in a Plot