KristofferC / PGFPlotsX.jl

Plots in Julia using the PGFPlots LaTeX package
Other
301 stars 40 forks source link

How to change font size? #267

Closed ReiSato18 closed 3 years ago

ReiSato18 commented 3 years ago

Hi, I want to know how to change the font size like xlabel ylabel. I also read the extensive documentation (pdf) and then try to follow code but my code does not work well like below figure.

スクリーンショット 2021-05-15 12 23 53

PGFPlotsX.jl supports the font size?

Thank you!

tpapp commented 3 years ago

Something like

@pgf Axis({ xlabel = "example",
            xlabel_style = { font = raw"\huge" }},
          Plot(Table(1:4, 1:4)))

should work. Cf this on SO.

(In the future, please kindly provide quoted code, not a screenshot.)