Message Boards Message Boards

0
|
818 Views
|
1 Reply
|
1 Total Likes
View groups...
Share
Share this post:

I can't find information on how to enlarge the legend

Posted 9 months ago
Plot[{2/3, x, x^2, x^3}, {x, 0, 1}, 
    PlotStyle -> {{Dashed, Black}, {Thick, Orange}, {Thick, Red}, {Thick,
    Blue}}, AspectRatio -> 1/1, PlotRange -> {{0, 1}, {1/3, 1}}, 
    FrameStyle -> Directive[Black, 16], 
    PlotLegends -> 
    Placed[LineLegend[{None, "No Protocol", "Repetition Protocol", 
    "Feedback Protocol"}, 
    LegendFunction -> (Framed[#, FrameMargins -> 0, 
    Background -> White] &)], {Center, Top}], Frame -> True, 
    FrameLabel -> {{Style[#, Black, Bold, 16] &@("F"), 
    None}, {Style[#, Black, Bold, 
    16] &@("\!\(\*SubscriptBox[\(p\), \(1\)]\)"), None}} ]
POSTED BY: Giovanni Melo

One way is to enlarge the font size:

LineLegend[{None, Style["No Protocol", 15], 
  Style["Repetition Protocol", 15], Style["Feedback Protocol", 15]}, 
 LegendFunction -> (Framed[#, FrameMargins -> 0, 
     Background -> White] &)]
POSTED BY: Gianluca Gorni
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