# \#pgfplot

**URL:** https://discourse.julialang.org/tag/pgfplot/359.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [How to save Plots.jl with pgfplotsx() without dimensions and other properties?](https://discourse.julialang.org/t/how-to-save-plots-jl-with-pgfplotsx-without-dimensions-and-other-properties/112158)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 1\
**Last updated:** [January 24, 2025, 11:31am UTC](https://discourse.julialang.org/t/how-to-save-plots-jl-with-pgfplotsx-without-dimensions-and-other-properties/112158 "2025-01-24T11:31:10Z")

</div>

Plots.jl saves pgfplotsx() figures like this: ... width={150.4mm}, height={99.6mm}, xlabel style={...}, ylabel style={...}, ... How do I prevent these properties from being written to the file?

---

## [Relative barmode in PGFPlotsX.jl](https://discourse.julialang.org/t/relative-barmode-in-pgfplotsx-jl/68095)

<div class="topic-metadata">

**Author:** [@fipelle](https://discourse.julialang.org/u/fipelle)\
**Replies:** 4\
**Last updated:** [September 18, 2021, 2:43pm UTC](https://discourse.julialang.org/t/relative-barmode-in-pgfplotsx-jl/68095 "2021-09-18T14:43:04Z")

</div>

Hi, I am trying to make a bar chart in PGFPlotsX.jl with the same properties of the PlotlyJS bar charts with relative barmode. I was not able to find an example neither in the PGFPlots.jl gallery, nor in the Plots.jl do…

---

## [Cannot show plot with pgfplots backend](https://discourse.julialang.org/t/cannot-show-plot-with-pgfplots-backend/19170)

<div class="topic-metadata">

**Author:** [@vietspaceanh](https://discourse.julialang.org/u/vietspaceanh)\
**Replies:** 0\
**Last updated:** [January 1, 2019, 7:54pm UTC](https://discourse.julialang.org/t/cannot-show-plot-with-pgfplots-backend/19170 "2019-01-01T19:54:46Z")

</div>

When I try a simple plot with pgfplots backend with the following code: using Plots pgfplots() plot(rand(10)) I got the following error: Error showing value of type Plots.Plot{Plots.PGFPlotsBackend}: ERROR: SystemEr…

---

## [3d histogram plot with PGFPlotsX and StatsBase](https://discourse.julialang.org/t/3d-histogram-plot-with-pgfplotsx-and-statsbase/49413)

<div class="topic-metadata">

**Author:** [@Volker](https://discourse.julialang.org/u/Volker)\
**Replies:** 2\
**Last updated:** [November 3, 2020, 8:32am UTC](https://discourse.julialang.org/t/3d-histogram-plot-with-pgfplotsx-and-statsbase/49413 "2020-11-03T08:32:23Z")

</div>

Hi, I would like to do something similiar like this with PGFPlotsX. I´m a newbie in plotting with PGFPlotsX. I tried to it analogously like the example. I use StatsBase for plotting the histogram. Here first the …

---

## [Plotting with PGFPlots not able to superimpose graphs in a for loop](https://discourse.julialang.org/t/plotting-with-pgfplots-not-able-to-superimpose-graphs-in-a-for-loop/35782)

<div class="topic-metadata">

**Author:** [@JosephPollacco](https://discourse.julialang.org/u/JosephPollacco)\
**Replies:** 7\
**Last updated:** [March 12, 2020, 7:37am UTC](https://discourse.julialang.org/t/plotting-with-pgfplots-not-able-to-superimpose-graphs-in-a-for-loop/35782 "2020-03-12T07:37:01Z")

</div>

I am plotting with PGFPlots JULIA, and I would like to superimpose graphs in the loop such as in Plots by using Plot!. But I was only successful to produce separate graphs: X = ∑T\[1:θcalibr.Nt\] Plot\_θcalibr = Gro…

---

## [Using Plots.jl with pgfplots() backend](https://discourse.julialang.org/t/using-plots-jl-with-pgfplots-backend/29740)

<div class="topic-metadata">

**Author:** [@thehalfspace](https://discourse.julialang.org/u/thehalfspace)\
**Replies:** 1\
**Last updated:** [October 14, 2019, 8:24pm UTC](https://discourse.julialang.org/t/using-plots-jl-with-pgfplots-backend/29740 "2019-10-14T20:24:27Z")

</div>

I am using MacOS. I have been a long-time PyPlot user and I want to switch to Plots.jl My setup is using vim and julia REPL in a terminal side-by-side. I have the following set of very basic questions: When I use pg…

---

## [Error using PGFPlots.jl](https://discourse.julialang.org/t/error-using-pgfplots-jl/19080)

<div class="topic-metadata">

**Author:** [@aaraujo71](https://discourse.julialang.org/u/aaraujo71)\
**Replies:** 5\
**Last updated:** [December 30, 2018, 7:59am UTC](https://discourse.julialang.org/t/error-using-pgfplots-jl/19080 "2018-12-30T07:59:24Z")

</div>

Hi, please help me with this annoying and incomprehensive behavior. When I run using PGFPlots p = \[\] fun = \[sin, cos\] x = 0:10 for i = 1:2 push!(p, Plots.Linear(x, fun\[i\].(x))) end Axis(p) I get the following error…

---

## [Way to add colorbar label to pgfplot in Plots.jl framework?](https://discourse.julialang.org/t/way-to-add-colorbar-label-to-pgfplot-in-plots-jl-framework/13655)

<div class="topic-metadata">

**Author:** [@djsegal](https://discourse.julialang.org/u/djsegal)\
**Replies:** 1\
**Last updated:** [August 18, 2018, 10:12am UTC](https://discourse.julialang.org/t/way-to-add-colorbar-label-to-pgfplot-in-plots-jl-framework/13655 "2018-08-18T10:12:28Z")

</div>

I have the following plot: The only thing really missing from it, though, is a label above the colorbar saying B\_0 How do you do this?

---

## [How do you get LaTeX representation from PGFPlots in Plots.jl?](https://discourse.julialang.org/t/how-do-you-get-latex-representation-from-pgfplots-in-plots-jl/11312)

<div class="topic-metadata">

**Author:** [@djsegal](https://discourse.julialang.org/u/djsegal)\
**Replies:** 1\
**Last updated:** [May 31, 2018, 10:16pm UTC](https://discourse.julialang.org/t/how-do-you-get-latex-representation-from-pgfplots-in-plots-jl/11312 "2018-05-31T22:16:35Z")

</div>

Is there a way to monkey around with a plot using Plots.jl and then get the LaTeX code that would produce it? // using the PGFPlots backend

---

## [How to get rid of scientific format numbers with Plots+pgfplots](https://discourse.julialang.org/t/how-to-get-rid-of-scientific-format-numbers-with-plots-pgfplots/4240)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 7\
**Last updated:** [June 14, 2017, 6:04am UTC](https://discourse.julialang.org/t/how-to-get-rid-of-scientific-format-numbers-with-plots-pgfplots/4240 "2017-06-14T06:04:40Z")

</div>

MWE: using Plots pgfplots() x = collect(linspace(0.01,0.5,100)) p = plot(histogram(x)) savefig(p, "/tmp/x.pdf") The 0.05 label on the x axis shows up as 5⋅10⁻², which messes up the alignment. This is a more serious pro…
