Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

This is probably a rather basic question and I presume I am simply unable to make proper use of the Options[] function: I am trying to figure out what the default font (or FontFamily, I guess) is for PlotLabel.

I tried e.g. Options[PlotLabel, FontFamily] and some variations, but to no avail.

Many thanks.

share|improve this question

1 Answer 1

up vote 5 down vote accepted

You may try

CurrentValue[PlotLabel, FontFamily]

a problem

GraphicsRow@Table[Plot[Sinc[x],{x,0,10},PlotLabel->f],{f,{"Label---Default",Style["Label---Times",FontFamily->"Times"],Style["Label---Courier",FontFamily->"Courier"]}}]

enter image description here

share|improve this answer
    
Hi @HyperGroups , I edited your post for better formatting, please feel free to modify it further. –  Silvia May 24 '13 at 10:59
    
@Silvia welcome, I'm poor in editing here,haha. Just familiar with 4-spaces and inline . –  HyperGroups May 24 '13 at 11:08
    
Markdown is a good thing, you will like it when you get more familiar. :) –  Silvia May 24 '13 at 12:26
1  
This returns a value, but on my system it does not appear to be the correct value. That is, this returns "Courier" while the label in Plot[Sinc[x], {x, 0, 10}, PlotLabel -> "This is a label"] is clearly not in Courier. Any comment? –  Mr.Wizard May 24 '13 at 13:33
1  
@Mr.Wizard I don't know. I've added a image, plot 1 is different from plot 3, maybe some other settings in options, or StandardForm, OutputForm TraditionalForm ...so many Forms. Need some more expriments. –  HyperGroups May 24 '13 at 14:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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