# How would I set axes font for a ListLinePlot

**URL:** <https://community.wolfram.com/t/how-would-i-set-axes-font-for-a-listlineplot/2507>\
**Category:** Questions\
**Tags:** mathematica, graphics-and-visualization\
**Created:** [June 29, 2014, 4:37pm UTC](https://community.wolfram.com/t/how-would-i-set-axes-font-for-a-listlineplot/2507 "2014-06-29T16:37:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdkimzey](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@mdkimzey](https://community.wolfram.com/u/mdkimzey)\
**Post date:** [June 29, 2014, 4:37pm UTC](https://community.wolfram.com/t/how-would-i-set-axes-font-for-a-listlineplot/2507/1 "2014-06-29T16:37:30Z")

</div>

This is probably an extremely simple question. Is it possible to change the axis font for ListLinePlot?

---

<div class="post-metadata">

**Author:** ![sukrause](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/sukrause/32/41348_2.png) [@sukrause](https://community.wolfram.com/u/sukrause)\
**Post date:** [June 29, 2014, 4:55pm UTC](https://community.wolfram.com/t/how-would-i-set-axes-font-for-a-listlineplot/2507/2 "2014-06-29T16:55:27Z")

</div>

Wouldn’t

```
ListLinePlot[Prime[Range[25]], Filling -> Axis, TicksStyle -> Directive[Red, Bold, 48]]

```

do the job?

---

<div class="post-metadata">

**Author:** ![mdkimzey](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@mdkimzey](https://community.wolfram.com/u/mdkimzey)\
**Post date:** [June 29, 2014, 5:10pm UTC](https://community.wolfram.com/t/how-would-i-set-axes-font-for-a-listlineplot/2507/3 "2014-06-29T17:10:46Z")

</div>

Hi Udo - Thanks for the reply.

I am trying to use:

```
SetOptions[ListLinePlot, PlotStyle -> LightGray, 
  BaseStyle -> {FontFamily -> "Consolas", FontSize -> 10}];

```

which partially works. The FontFamily is only applied to the ordinate. The FontSize seems to work on both axes. I’m wondering if there is a way to set the FontFamily for both Axes.

---

<div class="post-metadata">

**Author:** ![sukrause](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/sukrause/32/41348_2.png) [@sukrause](https://community.wolfram.com/u/sukrause)\
**Post date:** [June 29, 2014, 5:21pm UTC](https://community.wolfram.com/t/how-would-i-set-axes-font-for-a-listlineplot/2507/4 "2014-06-29T17:21:37Z")

</div>

The FontFamily seems to work on both axes, I’m not detecting differences between

```
ListLinePlot[Prime[Range[25]], Filling -> Axis, PlotStyle -> LightGray, BaseStyle -> {FontFamily -> "Consolas", FontSize -> 40}]

```

and

```
ListLinePlot[Prime[Range[25]], Filling -> Axis, PlotStyle -> LightGray, LabelStyle -> {FontFamily -> "Consolas", FontSize -> 40}]

```

especially the 20 looks on y-axis the same like on x-axis, doesn’t it?
