0

Based on the answers I read on this question: Bold axis label in ggplot I still have the output with y axis labelled bold but the exponents not math formated? How can I modify this code to be bold:

scale_y_log10(breaks = trans_breaks("log10",function(x) 10^x),  
              labels = trans_format("log10",math_format(10^.x)),                 
              limits=c(0.00005,5))+ #2.5

Thanks in advance

Phil
  • 7,287
  • 3
  • 36
  • 66
aya9190
  • 1
  • 2
  • 1
    please provide a reproducable example: https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example – DPH Jun 18 '22 at 12:24
  • If you use `theme(axis.text.y = element_text(size=10, face="bold", color = "black"))`, the exponents in the y-axis-labels are in-fact bold, though they are much smaller, they appear to be not. – Jonathan Jun 18 '22 at 16:39

0 Answers0