MathGroup Archive 1996

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

Search the Archive

Re: [Q] Plot in a Plot


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


  • Prev by Date: Re: Why printing in Courier font only?
  • Next by Date: Re: Why printing in Courier font only?
  • Previous by thread: Re: [Q] Plot in a Plot
  • Next by thread: Re: Re; Goto Limits