Hopefully a simple one for you. I would like to edit the frame ticks on my plot such that they are in "power" form. As it stands I try:

FrameTicks -> {{{10^-9, 10^-8, 10^-7, 10^-6, 10^-5}, None}, {Automatic, None}}

This seems to compile with awful fraction formatting, is there a way to format it as 10^power and keep it that way?

Thanks in advance

  • 1
    $\begingroup$ Ticks accept several ways of formatting. In your case I'd go for pairs of values of the form {position, label}. Wrap your labels in quotes, like so {10^-9, "10^-9"}. $\endgroup$
    – LLlAMnYP
    May 10, 2015 at 20:10
  • 1
    $\begingroup$ This might be what you want. You could also look into the CustomTicks package which can be pretty useful. $\endgroup$
    – Virgil
    May 10, 2015 at 20:13
  • $\begingroup$ Thanks both. Both solutions are great! $\endgroup$
    – user27119
    May 10, 2015 at 20:19
  • 1
    $\begingroup$ Shall I close this as a duplicate of (5369) then? $\endgroup$
    – Mr.Wizard
    May 10, 2015 at 20:39
  • $\begingroup$ Yes I think so, unless this thread would serve as a waypoint to the solution? $\endgroup$
    – user27119
    May 10, 2015 at 20:58


Browse other questions tagged or ask your own question.