Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Mathematica - Change graph font size

  1. Feb 4, 2010 #1
    Good day to all,

    I need help on how to change font size for numbers in x and y axis. For axes label I could change the font size using below command, but how about the scaling itself.


    Thank you in advance.

  2. jcsd
  3. Feb 4, 2010 #2


    User Avatar
    Gold Member

    Plot[x, {x, 0, 1}, TicksStyle -> Directive[15]]

    the 15 is the font, it actually took a while to find this, ticks are not listed as an option of plot, but it is.

    can also make other changes:

    Plot[x, {x, 0, 1}, TicksStyle -> Directive[Red, Bold, 20, Italic]]
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Mathematica - Change graph font size