How do I set the font size for the values on both the x and y-axis?
I've looked around and I've only found ways to change the xlabel
's size and ylabel
's size, but I want the actual numbers below the axis to be bigger.
To change the text font for any chart element, such as a title or axis, right–click the element, and then click Font. When the Font box appears make the changes you want.
Accepted Answer To change the font size, set the “FontSize” property for the axes. Since many plotting functions reset axes properties, including the font size, set the "FontSize" property after plotting.
Change text appearance next to the font name. Apply bold, italic, underline, or strikethrough: Tap any of the buttons below Font. next to Size to decrease or increase the font size, or tap the font size and enter a new value.
Resize a data labelClick the data label and drag it to the size you want. Tip: You can set other size (Excel and PowerPoint) and alignment options in Size & Properties (Layout & Properties in Outlook or Word). Double-click the data label and then click Size & Properties.
Small elaboration on bb2's answer, if you do not want to change the font face:
set xtics font ", 30"
And for tics on the yaxis:
set ytics font ", 30"
For both axis at the same time:
set tics font ", 30"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With