8

I'm using Mathematica to create complex figures. I would like to work them out on small size images and then, just before exporting them, increase the ImageSize. But I find that when I change the ImageSize, the Text remains the same size and so the image does not resize proportionally. Is there a strategy for overcoming this?

Small Image Large Image

The first image has a small ImageSize and the second image has a large ImageSize.

Alexey Popkov
  • 61,809
  • 7
  • 149
  • 368
Wynne
  • 1,526
  • 9
  • 14

1 Answers1

8

In Mathematica 10.1 this scales well for me:

Graphics[{
  {EdgeForm[{Thickness[0.01], Black}], Orange, Disk[]},
  {Thickness[0.015], Arrowheads[0.08], Arrow[{{0, 0}, {1, 1} Sqrt[2]/2`}]},
  {FontSize -> Scaled[0.05], Text["R \[LongEqual] 1", {0.5, 0.2}]}
}]

enter image description here

enter image description here

The critical detail being FontSize -> Scaled[0.05] which I see is exactly what Carl Woll already proposed in a comment. I also used Thickness rather than AbsoluteThickness for the EdgeForm and Arrow so that these elements scale as well.

Other examples:

Mr.Wizard
  • 271,378
  • 34
  • 587
  • 1,371