Skip to main content
Update
Source Link
Alexey Bobrick
  • 1.7k
  • 1
  • 14
  • 24

Some final remarks on this, concluding from nice communications with Wolfram support.

A command of this form is generally intended to work and to produce a label in large size:

Graphics[Disk[], LabelStyle -> {FontSize -> Large}, PlotLabel -> "X"]

It doesn't however, and it is a known bug since MMA version 9 (that is, at least in V9 and V10). In V10 it produces an error message, whereas in V9 it does not work as intended.

Some workarounds have been mentioned in comments and answers, here is a workaround summary:

  • Use FrameLabel instead of PlotLabel (credit to Lou). Though not identical, this might serve as a substitute
  • Use {FontSize -> 24} instead of {FontSize -> Large}, or analagously for other sizes
  • Use {FontSize -> "Large"} instead of {FontSize -> Large}. It happens to work because of default style definition for a style called "Large" (indeed in Core.nb), but it will not work generally, e.g. {FontSize -> "Tiny"} does not work.
  • Further examples of working commands might be found in the answer by Mr.Wizard

So much for it, and let's hope to see the bug fixed in the future versions.

Some final remarks on this, concluding from nice communications with Wolfram support.

A command of this form is generally intended to work and to produce a label in large size:

Graphics[Disk[], LabelStyle -> {FontSize -> Large}, PlotLabel -> "X"]

It doesn't however, and it is a known bug since MMA version 9 (that is, at least in V9 and V10). In V10 it produces an error message, whereas in V9 it does not work as intended.

Some workarounds have been mentioned in comments and answers, here is a workaround summary:

  • Use FrameLabel instead of PlotLabel (credit to Lou). Though not identical, this might serve as a substitute
  • Use {FontSize -> 24} instead of {FontSize -> Large}, or analagously for other sizes
  • Use {FontSize -> "Large"} instead of {FontSize -> Large}. It happens to work because of default style definition for a style called "Large" (indeed in Core.nb), but it will not work generally, e.g. {FontSize -> "Tiny"} does not work.

So much for it, and let's hope to see the bug fixed in the future versions.

Some final remarks on this, concluding from nice communications with Wolfram support.

A command of this form is generally intended to work and to produce a label in large size:

Graphics[Disk[], LabelStyle -> {FontSize -> Large}, PlotLabel -> "X"]

It doesn't however, and it is a known bug since MMA version 9 (that is, at least in V9 and V10). In V10 it produces an error message, whereas in V9 it does not work as intended.

Some workarounds have been mentioned in comments and answers, here is a workaround summary:

  • Use FrameLabel instead of PlotLabel (credit to Lou). Though not identical, this might serve as a substitute
  • Use {FontSize -> 24} instead of {FontSize -> Large}, or analagously for other sizes
  • Use {FontSize -> "Large"} instead of {FontSize -> Large}. It happens to work because of default style definition for a style called "Large" (indeed in Core.nb), but it will not work generally, e.g. {FontSize -> "Tiny"} does not work.
  • Further examples of working commands might be found in the answer by Mr.Wizard

So much for it, and let's hope to see the bug fixed in the future versions.

Source Link
Alexey Bobrick
  • 1.7k
  • 1
  • 14
  • 24

Some final remarks on this, concluding from nice communications with Wolfram support.

A command of this form is generally intended to work and to produce a label in large size:

Graphics[Disk[], LabelStyle -> {FontSize -> Large}, PlotLabel -> "X"]

It doesn't however, and it is a known bug since MMA version 9 (that is, at least in V9 and V10). In V10 it produces an error message, whereas in V9 it does not work as intended.

Some workarounds have been mentioned in comments and answers, here is a workaround summary:

  • Use FrameLabel instead of PlotLabel (credit to Lou). Though not identical, this might serve as a substitute
  • Use {FontSize -> 24} instead of {FontSize -> Large}, or analagously for other sizes
  • Use {FontSize -> "Large"} instead of {FontSize -> Large}. It happens to work because of default style definition for a style called "Large" (indeed in Core.nb), but it will not work generally, e.g. {FontSize -> "Tiny"} does not work.

So much for it, and let's hope to see the bug fixed in the future versions.