# Question about PGFPlotsX

**URL:** https://discourse.julialang.org/t/question-about-pgfplotsx/105295
**Category:** Visualization
**Tags:** pgfplotsx
**Created:** [October 23, 2023, 12:25am UTC](https://discourse.julialang.org/t/question-about-pgfplotsx/105295 "2023-10-23T00:25:54Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Isaac\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/isaac_smith/32/202476_2.png) [@Isaac\_Smith](https://discourse.julialang.org/u/Isaac_Smith)
#### Post date: [October 23, 2023, 12:25am UTC](https://discourse.julialang.org/t/question-about-pgfplotsx/105295/1 "2023-10-23T00:25:54Z")

</div>

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.

```julia
\input{reward.tikz}

```

---

<div class="post-metadata">

### Author: ![abraemer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/abraemer/32/51403_2.png) [@abraemer](https://discourse.julialang.org/u/abraemer)
#### Post date: [October 23, 2023, 9:00am UTC](https://discourse.julialang.org/t/question-about-pgfplotsx/105295/2 "2023-10-23T09:00:06Z")

</div>

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

> <https://tex.stackexchange.com/questions/4338/correctly-scaling-a-tikzpicture/4340#4340>
