Question about PGFPlotsX

In the Plots.jl documentation about the PGFPlotsX backend, they mention how exporting the plot as a tikzpicture allows the user to rescale the plot using \includegraphics, but I am not quite understanding how you would do that.

Saving as .tikz file has the advantage, that you can use \includegraphics to rescale your plot without changing the size of the fonts

However, when I include the tikz file in my latex document, I have to call \input and not \includegraphics, would there be a way to rescale the plot that I am missing? The plot is too large for the page and I am needing to rescale this plot.

\input{reward.tikz}

This is probably more a LaTeX question instead of a Julia question. So here is a LaTeX answer:

1 Like