Re: How to convert Inset graphics to absolute coords?
- To: mathgroup at smc.vnet.net
- Subject: [mg113497] Re: How to convert Inset graphics to absolute coords?
- From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
- Date: Sun, 31 Oct 2010 02:08:24 -0500 (EST)
- References: <email@example.com>
Not too sure about this, but perhaps FullGraphics may help you one way or another. Cheers -- Sjoerd On Oct 30, 10:37 am, kj <no.em... at please.post> wrote: > I have a complicated Graphic object x, generated through nested > calls to GraphicsGrid. Hence x contains Inset graphics within > Inset graphics. > > Now I need to automatically edit this Graphics object to add various > labels to it. (If I add the labels before the calls to GraphicsGrid > the relative sizes of the objects in the grid gets screwed up.) > But in order to correctly position these labels I need to be able > to extract absolute coordinates from the Graphics object x. The > obstacle, of course, is that almost everything inside x is expressed > as coordinates relative to Inset objects. Is there a simple way > to convert this representation to an "absolute" representation? > (By this I mean the representation one would need to use to describe > x if Inset were not available.) I'm hoping to find the "moral > equivalent" of a hypothetical AbsoluteForm function. > > BTW, I know that I could attempt to write my own conversion function, > but I'm trying to avoid this if at all possible; GridGraphics and > Inset are each too much of a black box (in fact, all of Mathematica > is) to attempt this operation conversion function lightly. > > TIA! > > ~kj