The following code generates a framed graphic that is4 x 72 points = 4 inches wide.
temp = Graphics[Point[{0, 0}], ImageSize -> 72 4, Frame -> True,
AspectRatio -> 1/GoldenRatio, PlotRange -> {{80, 300}, {10, 70}},
FrameTicks -> {{Automatic, None}, {None, None}},
Background -> Yellow]
And when exported at 300 dpi it generates an image that is 1200 pixels wide, as it should. So indeed this is the correct physical dimension.
The width is the width of the entire image. What I would like to control is the width of the frame inside the image. The reason is that I want to produce graphs whose frame axes are all the same, so they can be easily compared. This does not work with the usual options, because when the graphs have different tick labels and frame labels, they cause the dimensions of the frame inside the image to change to make room.
Can anyone think of a method to force the size of the graphics as produced by ImageSize to be such as to control the size of the frame, with the image sized as needed to include the ticks and labels.
Best regards,
David






