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.

I am using this code to plot a graph, and I am trying to make the font of the legend bigger.

<<PlotLegends`
ListLogLogPlot[{Sort[moby]}, PlotRange -> Full, Joined -> True, 
    PlotLegend -> {"Moby Dick"}, LegendPosition -> {0.30, -0.20}, LegendShadow -> None, 
    LegendBorder -> None, PlotStyle -> {Dashed}, BaseStyle -> {FontSize -> 14}]

This only seems to change the font size of the labels on my axis. But I also want the legend to be size 14.

share|improve this question

1 Answer 1

up vote 13 down vote accepted

Try using Style in the option values for PlotLegend->{...}. For example:

  Plot[{Sin[x], Cos[x]}, {x, 0, 2 Pi}, 
  PlotLegend -> {Style["sine", Red, Bold, 18], "cosine"},  
  LegendLabel -> None]

gives:

enter image description here

share|improve this answer
    
Is there also a way to do the same thing for all entries in the legend at once, you think? I have a plot with five function in the same graph, and there must be a simpler way than using Style five times. –  Jelle May 8 '13 at 15:43

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.