MathGroup Archive 2002

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

Search the Archive

RE: How to display one plot as an inset in another plot ?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg35368] RE: How to display one plot as an inset in another plot ?
  • From: "Wolf, Hartmut" <Hartmut.Wolf at t-systems.com>
  • Date: Tue, 9 Jul 2002 06:50:56 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com


> -----Original Message-----
> From: AES [mailto:siegman at stanford.edu]
To: mathgroup at smc.vnet.net
> Sent: Monday, July 08, 2002 9:20 AM
> Subject: [mg35368]  How to display one plot as an inset in 
> another plot?
> 
> 
> How to display one (complete) plot as an inset (maybe scaled, 
> certainly 
> offset) within (or on top of) another plot?
> 
> Kind of a 
> 
>     Show[ plot1, {Scaled[0.5], Offset[{2,2}], plot2} ]
> 
> capability.
> 

You nearly got it, just missed Rectangle, e.g.

Show[g, Graphics[
    Rectangle[Scaled[{.5, .3}], Offset[{162, 100}, Scaled[{.5, .3}]], g2]], 
  PlotRange -> {All, {0, 11}}, Axes -> {True, False}]

g, g2 are some Graphics.

--
Hartmut


  • Prev by Date: Re: Quantile function
  • Next by Date: Sovling integrals: non-algebraic???
  • Previous by thread: How do I generate drawings with a fixed scaling on paper?
  • Next by thread: Sovling integrals: non-algebraic???