Group Abstract Group Abstract

Message Boards Message Boards

BarLegend->LabelStyle ?

Posted 12 years ago

I am creating density plots from exported data sets, and I noticed that when I use a "BarLegend[]" within the "ListDensityPlot[]", I cannot define both FontSize and FontFamily within "LabelStyle[]". See Below.

PlotLegends ->

 Placed[

  BarLegend[

   Automatic,

   LegendLabel -> Style["Lifetime", 20, 
   FontFamily -> "Times"],

   **LabelStyle -> {  FontSize -> 20, FontFamily->"Times"  }**

   ],

  Right

]

Does anyone know a work-around for defining both FontSize and Font Family for the numbers in the BarLegend?

POSTED BY: Tim Kirkpatrick
2 Replies
POSTED BY: Bruce Miller
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard