5
$\begingroup$

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.

$\endgroup$
6
$\begingroup$

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

$\endgroup$
  • $\begingroup$ Hi @HyperGroups , I edited your post for better formatting, please feel free to modify it further. $\endgroup$ – Silvia May 24 '13 at 10:59
  • $\begingroup$ @Silvia welcome, I'm poor in editing here,haha. Just familiar with 4-spaces and inline . $\endgroup$ – HyperGroups May 24 '13 at 11:08
  • $\begingroup$ Markdown is a good thing, you will like it when you get more familiar. :) $\endgroup$ – Silvia May 24 '13 at 12:26
  • 2
    $\begingroup$ 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? $\endgroup$ – Mr.Wizard May 24 '13 at 13:33
  • 1
    $\begingroup$ @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. $\endgroup$ – HyperGroups May 24 '13 at 14:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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