MathGroup Archive 2008

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

Search the Archive

Re: Inset headache

  • To: mathgroup at smc.vnet.net
  • Subject: [mg85784] Re: Inset headache
  • From: "Kevin J. McCann" <Kevin.McCann at umbc.edu>
  • Date: Fri, 22 Feb 2008 05:02:01 -0500 (EST)
  • Organization: University System of Maryland
  • References: <fphdkk$946$1@smc.vnet.net>

How about this:

g1 = Graphics3D[Cylinder[{{0, 0, 0}, {10, 0, 0}}, 1],
   ImageSize -> 200]
g2 = Graphics[Inset[g1], ImageSize -> 200]


Yves Klett wrote:
> Hi everyone,
> 
> consider:
> 
> g1=Graphics3D[Cylinder[{{0, 0, 0}, {10, 0, 0}}, 1]]
> g2=Graphics[Inset[g1]]
> 
> 
> I would like to have g2 the same aspect ratio and image size as g1, so 
> that the resulting graphics look just the same (but as an Inset). Inset 
> somehow mangles the aspect ratio and sometimes cuts off parts of g1, 
> depending on the additional values for {pos,opos&size}.
> 
> Can anyone give me a hint on how to achieve an equally-looking g2 using 
> Inset?
> 
> Regards,
> Yves
> 

-- 

Kevin J. McCann
Research Associate Professor
JCET/Physics
Physics Building
University of Maryland, Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250


  • Prev by Date: Re: squared norm in Mathematica
  • Next by Date: Re: about scoping in modules
  • Previous by thread: Re: Inset headache
  • Next by thread: PrintingStyleEnvironment [was Re: Inset problems & Export]