# How to save Plots.jl with pgfplotsx() without dimensions and other properties?

**URL:** <https://discourse.julialang.org/t/how-to-save-plots-jl-with-pgfplotsx-without-dimensions-and-other-properties/112158>\
**Category:** Visualization\
**Tags:** question, plots, pgfplot, pgfplotsx\
**Created:** [March 26, 2024, 7:33pm UTC](https://discourse.julialang.org/t/how-to-save-plots-jl-with-pgfplotsx-without-dimensions-and-other-properties/112158 "2024-03-26T19:33:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![homocomputeris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/homocomputeris/32/8933_2.png) [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Post date:** [March 26, 2024, 7:33pm UTC](https://discourse.julialang.org/t/how-to-save-plots-jl-with-pgfplotsx-without-dimensions-and-other-properties/112158/1 "2024-03-26T19:33:13Z")

</div>

Plots.jl saves pgfplotsx() figures like this:

```julia
...
width={150.4mm}, height={99.6mm},
xlabel style={...},
ylabel style={...},
...

```

How do I prevent these properties from being written to the file?

---

<div class="post-metadata">

**Author:** ![homocomputeris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/homocomputeris/32/8933_2.png) [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Post date:** [January 24, 2025, 11:31am UTC](https://discourse.julialang.org/t/how-to-save-plots-jl-with-pgfplotsx-without-dimensions-and-other-properties/112158/2 "2025-01-24T11:31:10Z")

</div>

Well, maybe it’s possible to save it with relative dimensions like `0.5\linewidth`?
