How to get the size of Inset in Graphics?
- To: mathgroup at smc.vnet.net
- Subject: [mg89979] How to get the size of Inset in Graphics?
- From: lehin.p at gmail.com
- Date: Wed, 25 Jun 2008 06:30:57 -0400 (EDT)
Hello, I have some Plot with Inset that goes outside of the plot area and so is clipped: ins = Grid[Table["Some Text " <> ToString[i j], {i, 1, 4}, {j, 1, 2}]]; Plot[1/x, {x, 1, 10}, Epilog -> Inset[ins, {10, .5}]] I need to get the size of this Inset programmatically for making a simple procedure for automatic expanding the ImageMargings to show full Inset. The procedure will generate new options like this: Plot[1/x, {x, 1, 10}, Epilog -> Inset[ins, {10, .5}], PlotRangeClipping -> False, ImagePadding -> {{0, 50}, {10, 1}}] Does anyone know a way to get the size of this Inset programmatically?
- Follow-Ups:
- Re: How to get the size of Inset in Graphics?
- From: Curtis Osterhoudt <cfo@lanl.gov>
- Re: How to get the size of Inset in Graphics?