I've noticed some unusual behavior in Mathematica when exporting plots. If I try to export an ArrayPlot with a frame around it, I notice that the resolution that I export at has no effect on the thickness of the frames even though the rest of the graphics scale as you would expect. Naturally, this means that if I export a plot to a high resolution, the frames are almost completely invisible!

It would be preferable if I could specify a thickness relative to the entire graphic; so that way when I export at various resolution, the frame thickness scales accordingly.

Even when I'm not simply exporting raster images directly from Mathematica, I notice the exact same problem when exporting to an .eps file and trying to scale in Illustrator. All of the graphics scale perfectly, but the frame keeps its same thickness. See the following images to demonstrate what I'm talking about for various scale levels:

First one : Enlarged :

Enlarged More

The goal is to keep the frame thickness consistent, no matter what I scale the image size to. But clearly that's not happening, and I can't figure out how to fix it! Try it out for yourself and see if you have the same issue. If you do, do you have any ideas?

  • 1
    $\begingroup$ You are more likely to get an answer if you were to edit your post to include your code. As it is currently posted you have not given sufficient context for me (and many others who might want to help you) to work on your problem. It is unreasonable for you to expect us to recreate your code from scratch. $\endgroup$
    – m_goldberg
    Dec 2, 2017 at 11:42
  • $\begingroup$ It's a problem with the frame of all arrayplots. $\endgroup$ Dec 2, 2017 at 20:26

1 Answer 1


In FrameStyle defining thickness of the axes with AbsoluteThickness can solve the issue.

  • 2
    $\begingroup$ Please add an image to demonstrate solution. $\endgroup$
    – bbgodfrey
    Feb 13, 2019 at 14:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.