Message Boards Message Boards

0
|
15692 Views
|
10 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Why the beep? The specified setting for the option FontSize cannot be used.

Hello,

Silly problem that I just can't seem to fix.

Mathematica v10.0.1.0 running in MacOS 10.10 seems to have an option error. Just started about a week ago.

When opening any window, I get the message:

The specified setting for the option FontSize cannot be used.

I've tried to change Options, but nothing seems to fix the error.

Mathematic computes and displays fine. It simply beeps and sends messages all of the time....

Thanks for any help or advice

Mike

POSTED BY: Michael Mauel
10 Replies

If you give FontSize a number, it is ok.

Plot[Evaluate[{P[\[Xi]]}], {\[Xi], 0, 3 (2 \[Pi])}, PlotRange -> All, 
 PlotLabel -> "P(z-C t)", 
 LabelStyle -> Directive[FontSize -> 14, Black, Bold], 
 AxesStyle -> Black, AxesLabel -> {"z", "A"}, ImageSize -> Large, 
 PlotRange -> All]
POSTED BY: Bruce Miller

Thank you, Bruce! Agree, but is this a bug of the 10.0.2.0? Or the feature?

POSTED BY: Andrey Kazak

Greetings!

I use 10.0.2.0 and get the same error for the following code:

Plot[
 Evaluate[{P[\[Xi]]}],
 {\[Xi], 0, 3 (2 \[Pi])},
 PlotRange -> All,

 PlotLabel -> "P(z-C t)",
 LabelStyle -> Directive[FontSize -> Medium, Black, Bold],
 AxesStyle -> Black,
 AxesLabel -> {"z", "A"},
 ImageSize -> Large,
 PlotRange -> All
 ]

If I remove LabelStyle option it works very fine!

What could be the issue?

POSTED BY: Andrey Kazak

Bruce,

Clean start did the trick. All's well!

Thanks very much

Mike

POSTED BY: Michael Mauel

If Mathematica had been fine and now has a strange behavior, I would suspect a damaged start-up file. These can be reset to default contents; see http://support.wolfram.com/kb/12464 .

If the cause is a corrupted style sheet, it might be easier to uninstall and re-install Mathematica than to try tracking down which line in which style in which stylesheet.

POSTED BY: Bruce Miller

Dear All,

Appreciate your advice.

Yes, I tried resetting FontSize, FontFamily, etc in Option Inspector, but alas this did not help.

I'll investigate style sheets next...

Mike

POSTED BY: Michael Mauel

Have you checked in the Option Inspector (under the Global scope) for the value entered in the FontSize option?

If so, perhaps you have a problem with a corruption of your default StyleSheet (though I am not sure how that would happen, since those style sheets are generally protected from being overwritten).

One thing to try is to reset all preferences to defaults under the File>Preferences... menu item.

Craig, have you reported the bug you found with BaseStyle -> Large: it appears that it is associated with the PlotLabel.

POSTED BY: David Reiss

Thanks David, I wanted to do a clear cache (shift-launch on Mac) before reporting the bug. I just did and the BaseStyle->Large and PlotLabel->"x" still throws an error. I am reporting that bug now. Cheers, Craig

POSTED BY: W. Craig Carter

Thanks WCC, but setting Style options in particular calls isn't the issue. (But, yes, your second option specification works in M10 but not in M9) My problem is that Mathematica seems to give the message "The specified setting for the option FontSize cannot be used." all of the time. Switching windows, start-up, closing windows, etc. I must have some sort of corrupted options file, but I don't know how to track it down and fix it.

Strange

POSTED BY: Michael Mauel

Hello Michael, Are you using BaseStyle->Large or similar? i.e.,

Plot[Sin[x], {x, 0, 1}, PlotLabel -> "Test", BaseStyle -> Large]

I've been getting the same error in M10 (but not in M9), but then I switched to

Plot[Sin[x], {x, 0, 1}, PlotLabel -> "Test", 
 BaseStyle -> {FontSize -> 14}]

and I don't get the error anymore.

WCC

POSTED BY: W. Craig Carter
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract