# \#gr

**URL:** https://discourse.julialang.org/tag/gr/373.md

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

---

## [Plots.jl: Could not create decoration from factory! Running with no decorations](https://discourse.julialang.org/t/plots-jl-could-not-create-decoration-from-factory-running-with-no-decorations/137109)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 1\
**Last updated:** [May 13, 2026, 7:42pm UTC](https://discourse.julialang.org/t/plots-jl-could-not-create-decoration-from-factory-running-with-no-decorations/137109 "2026-05-13T19:42:34Z")

</div>

I encountered the following problem: julia\> using Plots julia\> plot(rand(10)) Could not create decoration from factory! Running with no decorations. I got a plot with no window decorations: The issue originates f…

---

## [Is there a way to have heatmap and contours from other variables in Plots.jl with GR?](https://discourse.julialang.org/t/is-there-a-way-to-have-heatmap-and-contours-from-other-variables-in-plots-jl-with-gr/131869)

<div class="topic-metadata">

**Author:** [@PeX](https://discourse.julialang.org/u/PeX)\
**Replies:** 2\
**Last updated:** [August 27, 2025, 11:59am UTC](https://discourse.julialang.org/t/is-there-a-way-to-have-heatmap-and-contours-from-other-variables-in-plots-jl-with-gr/131869 "2025-08-27T11:59:18Z")

</div>

Hi all! I’m trying to plot a heat map of one variable (with all values \>\>0), but on the same plot, I want to plot contours of two other variables where they equal 0. When I try countour! after plotting the heatmap, the…

---

## [Why can svgplugin.dll not be found? (for PackageCompiler binary, bundled artifacts)](https://discourse.julialang.org/t/why-can-svgplugin-dll-not-be-found-for-packagecompiler-binary-bundled-artifacts/130848)

<div class="topic-metadata">

**Author:** [@testmax](https://discourse.julialang.org/u/testmax)\
**Replies:** 1\
**Last updated:** [July 18, 2025, 5:31pm UTC](https://discourse.julialang.org/t/why-can-svgplugin-dll-not-be-found-for-packagecompiler-binary-bundled-artifacts/130848 "2025-07-18T17:31:47Z")

</div>

Hello all! I would like to understand, how the DLLs are loaded by the EXE generated with PackageCompiler.jl. The issue is that I have a problem with a compiled program and the GR\_jll.jl DLLs. Specifically, when exporti…

---

## [Julia can't find Qt6 DLL](https://discourse.julialang.org/t/julia-cant-find-qt6-dll/129916)

<div class="topic-metadata">

**Author:** [@flewer](https://discourse.julialang.org/u/flewer)\
**Replies:** 8\
**Last updated:** [June 16, 2025, 6:40pm UTC](https://discourse.julialang.org/t/julia-cant-find-qt6-dll/129916 "2025-06-16T18:40:30Z")

</div>

Hello, This problem has been seen multiple times, however this has has not been resolved as far as I am aware. When installing Plots by using Pkg; Pkg.add("Plots") the installation fails because of Qt6 library files …

---

## [Empty plot with colorbar and colorbar width](https://discourse.julialang.org/t/empty-plot-with-colorbar-and-colorbar-width/128673)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 3\
**Last updated:** [May 3, 2025, 8:18pm UTC](https://discourse.julialang.org/t/empty-plot-with-colorbar-and-colorbar-width/128673 "2025-05-03T20:18:08Z")

</div>

I’m using Plots with GR Is it possible to make empty plot with colorbar? I try: plot(;colorbar=true, clims = (-0.05, 0.05),c = cg, zcolor = 1) colorbar - not displayed. Is it possible to change width of colorbar?

---

## [3D volume plot is blank with Plots.jl + GR.jl](https://discourse.julialang.org/t/3d-volume-plot-is-blank-with-plots-jl-gr-jl/125444)

<div class="topic-metadata">

**Author:** [@photor](https://discourse.julialang.org/u/photor)\
**Replies:** 1\
**Last updated:** [February 1, 2025, 9:16am UTC](https://discourse.julialang.org/t/3d-volume-plot-is-blank-with-plots-jl-gr-jl/125444 "2025-02-01T09:16:13Z")

</div>

The backend is GR. Thanks. julia\> using Plots julia\> heatmap(rand(10,10,10)) julia\> versioninfo() Julia Version 1.10.8 Commit 4c16ff44be (2025-01-22 10:06 UTC) Build Info: Official https://julialang.org/ release Pla…

---

## [Setting inner size of figures generated by Plots.jl nside Pluto notebook](https://discourse.julialang.org/t/setting-inner-size-of-figures-generated-by-plots-jl-nside-pluto-notebook/124635)

<div class="topic-metadata">

**Author:** [@hisacro](https://discourse.julialang.org/u/hisacro)\
**Replies:** 0\
**Last updated:** [January 10, 2025, 11:34am UTC](https://discourse.julialang.org/t/setting-inner-size-of-figures-generated-by-plots-jl-nside-pluto-notebook/124635 "2025-01-10T11:34:39Z")

</div>

Currently I’m code follows as below using Plots; gr(size=(600,600)) begin Plots.plot(\[3,4\],\[10,8\]) Plots.plot!(twinx(),\[.8,.2\],\[.4,-4\]) Plots.plot!(xguidefontsize=20,yguidefontsize=20, tickfontsize=20, fontfamily=…

---

## [(Plots) how to set color of ticks?](https://discourse.julialang.org/t/plots-how-to-set-color-of-ticks/123974)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 7\
**Last updated:** [December 20, 2024, 11:57pm UTC](https://discourse.julialang.org/t/plots-how-to-set-color-of-ticks/123974 "2024-12-20T23:57:51Z")

</div>

How to set color of ticks? Not font or axis, only ticks. Upd: using Plots.jl (gr backend) Like this:

---

## [Center Axis in Plot](https://discourse.julialang.org/t/center-axis-in-plot/121015)

<div class="topic-metadata">

**Author:** [@jamesmulhern](https://discourse.julialang.org/u/jamesmulhern)\
**Replies:** 4\
**Last updated:** [October 8, 2024, 9:04am UTC](https://discourse.julialang.org/t/center-axis-in-plot/121015 "2024-10-08T09:04:59Z")

</div>

Does anyone know how to center the axis window when using Plots.jl and the default backend (GR?) I have been working though all of the attributes and I cannot get it to have equal margins on both sides. I have set marg…

---

## [Nice fonts with Plots, GR and LaTeXStrings](https://discourse.julialang.org/t/nice-fonts-with-plots-gr-and-latexstrings/60037)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 19\
**Last updated:** [July 22, 2024, 1:43pm UTC](https://discourse.julialang.org/t/nice-fonts-with-plots-gr-and-latexstrings/60037 "2024-07-22T13:43:49Z")

</div>

This not a question, just something that might be helpful to others. With Plots 1.12 and GR0.57.4 (at least), and using these options below, one can get a plot with homogeneous fonts (“Computer Modern”) in every element. …

---

## [Legend position for 3D plots](https://discourse.julialang.org/t/legend-position-for-3d-plots/115539)

<div class="topic-metadata">

**Author:** [@HahaRIP](https://discourse.julialang.org/u/HahaRIP)\
**Replies:** 2\
**Last updated:** [June 18, 2024, 9:35am UTC](https://discourse.julialang.org/t/legend-position-for-3d-plots/115539 "2024-06-18T09:35:54Z")

</div>

Hey, I am plotting surfaces which have some small values and I need the legend. But the problem is that the legend goes out of the image and can’t see the values. I tried positioning the legend, but could not move it at …

---

## [Julia plots: Labels in scientific notation as in default font](https://discourse.julialang.org/t/julia-plots-labels-in-scientific-notation-as-in-default-font/113231)

<div class="topic-metadata">

**Author:** [@james](https://discourse.julialang.org/u/james)\
**Replies:** 2\
**Last updated:** [April 19, 2024, 5:27pm UTC](https://discourse.julialang.org/t/julia-plots-labels-in-scientific-notation-as-in-default-font/113231 "2024-04-19T17:27:32Z")

</div>

I have a log log plot and want to change the x-axis labels manually as in the code below. Hence, I need to use powers of 10 – however, the only ways I come up with gives different fonts than the default: Note that bo…

---

## [Tick size in Plots.jl](https://discourse.julialang.org/t/tick-size-in-plots-jl/74793)

<div class="topic-metadata">

**Author:** [@Gabrielmlando](https://discourse.julialang.org/u/Gabrielmlando)\
**Replies:** 6\
**Last updated:** [April 17, 2024, 5:59pm UTC](https://discourse.julialang.org/t/tick-size-in-plots-jl/74793 "2024-04-17T17:59:48Z")

</div>

I am having a very hard time trying to increase tick size in Plots.jl using gr(). Apparently there is no documentation on this either. Is there a way to do it?

---

## [Rotating the axis label in GR makes the label go out of the plot](https://discourse.julialang.org/t/rotating-the-axis-label-in-gr-makes-the-label-go-out-of-the-plot/111672)

<div class="topic-metadata">

**Author:** [@archisman](https://discourse.julialang.org/u/archisman)\
**Replies:** 1\
**Last updated:** [March 15, 2024, 8:41pm UTC](https://discourse.julialang.org/t/rotating-the-axis-label-in-gr-makes-the-label-go-out-of-the-plot/111672 "2024-03-15T20:41:45Z")

</div>

Here is my code using Plots using LaTeXStrings a = randn(100,1); b = sin.(a); scatter(a,b,xlabel=L"x",ylabel=L"\\sin(x)", framestyle = :box, legend=false, yguidefontrotation = -90 ) The label “s…

---

## [Windows is slower than WSL2 in loading GR, Preferences, Julia 1.9.0-beta2](https://discourse.julialang.org/t/windows-is-slower-than-wsl2-in-loading-gr-preferences-julia-1-9-0-beta2/92623)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 8\
**Last updated:** [December 22, 2023, 4:29am UTC](https://discourse.julialang.org/t/windows-is-slower-than-wsl2-in-loading-gr-preferences-julia-1-9-0-beta2/92623 "2023-12-22T04:29:32Z")

</div>

I recently installed WSL 2. I noticed that @time\_imports reports faster import times for Preferences and GR under WSL2 than under Windows. The loading time for Preferences.jl is appears to be 10x worse. # WSL 2 julia\> @…

---

## [Logarithmic colorbar for multiple colored plots](https://discourse.julialang.org/t/logarithmic-colorbar-for-multiple-colored-plots/107205)

<div class="topic-metadata">

**Author:** [@maltee1](https://discourse.julialang.org/u/maltee1)\
**Replies:** 4\
**Last updated:** [December 6, 2023, 7:47pm UTC](https://discourse.julialang.org/t/logarithmic-colorbar-for-multiple-colored-plots/107205 "2023-12-06T19:47:55Z")

</div>

Hi, I have a series of plots, each associated with a different value of a parameter called k. The idea was to plot each line with a different color from a colormap and have the colorbar indicate which value of k each pl…

---

## [How can I move an axis in a 3d plot, so that it is shown "outside" of the grid?](https://discourse.julialang.org/t/how-can-i-move-an-axis-in-a-3d-plot-so-that-it-is-shown-outside-of-the-grid/96365)

<div class="topic-metadata">

**Author:** [@bertulli](https://discourse.julialang.org/u/bertulli)\
**Replies:** 9\
**Last updated:** [December 1, 2023, 8:02am UTC](https://discourse.julialang.org/t/how-can-i-move-an-axis-in-a-3d-plot-so-that-it-is-shown-outside-of-the-grid/96365 "2023-12-01T08:02:35Z")

</div>

Hi all, I’m making a plot using Plots.jl with the default GR backend. When I run this code # density\_matrix contains the data I want to plot p = plot(density\_matrix, st = :surface, xlabel="Binary weight", ylab…

---

## [Plots.jl colormap transparency](https://discourse.julialang.org/t/plots-jl-colormap-transparency/104876)

<div class="topic-metadata">

**Author:** [@abehersan](https://discourse.julialang.org/u/abehersan)\
**Replies:** 6\
**Last updated:** [October 12, 2023, 3:28pm UTC](https://discourse.julialang.org/t/plots-jl-colormap-transparency/104876 "2023-10-12T15:28:21Z")

</div>

Using the GR backend, I am trying to recreate the following plot style: Note that the lower end of the colormap is transparent. There are some ideas for colormap transparency that however make the whole colorpalette t…

---

## [GR Mesh Shading](https://discourse.julialang.org/t/gr-mesh-shading/104092)

<div class="topic-metadata">

**Author:** [@Ian\_L](https://discourse.julialang.org/u/Ian_L)\
**Replies:** 0\
**Last updated:** [September 21, 2023, 5:43am UTC](https://discourse.julialang.org/t/gr-mesh-shading/104092 "2023-09-21T05:43:50Z")

</div>

Hi, I was looking at Mesh3d · Plots and noticed there is no shading for the GR backend. Does anyone know the parameter to set this on? Thanks

---

## [Filled contour plots in Plots.jl without contour lines and smooth interpolation (GR backend)](https://discourse.julialang.org/t/filled-contour-plots-in-plots-jl-without-contour-lines-and-smooth-interpolation-gr-backend/34796)

<div class="topic-metadata">

**Author:** [@sloede](https://discourse.julialang.org/u/sloede)\
**Replies:** 40\
**Last updated:** [August 29, 2023, 7:28pm UTC](https://discourse.julialang.org/t/filled-contour-plots-in-plots-jl-without-contour-lines-and-smooth-interpolation-gr-backend/34796 "2023-08-29T19:28:48Z")

</div>

Actually, these are two questions towards Plots.jl with the GR backend in one post (hope that’s ok, I think they are related): Is it possible to create a filled contour plot (using plot(linetype=:contourf, ...) withou…

---

## [GR interactivity in Pluto](https://discourse.julialang.org/t/gr-interactivity-in-pluto/48906)

<div class="topic-metadata">

**Author:** [@Oto\_Brzobohaty](https://discourse.julialang.org/u/Oto_Brzobohaty)\
**Replies:** 14\
**Last updated:** [August 16, 2023, 6:04am UTC](https://discourse.julialang.org/t/gr-interactivity-in-pluto/48906 "2023-08-16T06:04:12Z")

</div>

I have found this post I have downloaded the example notebook pluto\_ex.jl But I got this error UndefVarError: init\_pluto not defined in this cell begin ENV\["GRDISPLAY"\] = "pluto" using GR GR.js.init\_pluto()…

---

## [Simple brownian motion plot is insanely slow. How can I speed it up?](https://discourse.julialang.org/t/simple-brownian-motion-plot-is-insanely-slow-how-can-i-speed-it-up/92189)

<div class="topic-metadata">

**Author:** [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Replies:** 11\
**Last updated:** [August 7, 2023, 4:30pm UTC](https://discourse.julialang.org/t/simple-brownian-motion-plot-is-insanely-slow-how-can-i-speed-it-up/92189 "2023-08-07T16:30:33Z")

</div>

using LinearAlgebra, Plots, Distributions, Random; Δt=0.01; T\_sim=500; N\_sim = 100; time\_sim = 0.0:Δt:T\_sim ε\_sim = randn(MersenneTwister(123), N\_sim, length(time\_sim)); Z\_sim =cumsum(ε\_sim, dims=2) plt\_shock = plot(…

---

## [Annotate outside of plot](https://discourse.julialang.org/t/annotate-outside-of-plot/101696)

<div class="topic-metadata">

**Author:** [@James\_Fernandez](https://discourse.julialang.org/u/James_Fernandez)\
**Replies:** 4\
**Last updated:** [July 19, 2023, 10:53pm UTC](https://discourse.julialang.org/t/annotate-outside-of-plot/101696 "2023-07-19T22:53:01Z")

</div>

Hello to all, I would like to make some latex annotations in julia’s Plots with gr backend outside of the plot area. I have this example: using Plots, LaTeXStrings gr() a = 3 x = collect(0:0.01:10) y = sin.(a\*x) pl…

---

## [How can I move the x axis and ticks at top of the graph?](https://discourse.julialang.org/t/how-can-i-move-the-x-axis-and-ticks-at-top-of-the-graph/101479)

<div class="topic-metadata">

**Author:** [@bertulli](https://discourse.julialang.org/u/bertulli)\
**Replies:** 2\
**Last updated:** [July 11, 2023, 3:45pm UTC](https://discourse.julialang.org/t/how-can-i-move-the-x-axis-and-ticks-at-top-of-the-graph/101479 "2023-07-11T15:45:04Z")

</div>

Hi all! I’m trying to plot a heatmap of a distance matrix: julia\> distance\_matrix\_measures 12×12 Matrix{Float64}: 0.0 0.0242429 0.0217801 … 0.0443951 0.0124709 0.0114215 0.0242429 0.0 0.0024…

---

## [Positioning \`contour\_labels\` for contour plots](https://discourse.julialang.org/t/positioning-contour-labels-for-contour-plots/101265)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 8\
**Last updated:** [July 11, 2023, 7:58am UTC](https://discourse.julialang.org/t/positioning-contour-labels-for-contour-plots/101265 "2023-07-11T07:58:29Z")

</div>

Folks, I am using Plots.jl with GR backend. Basically, what I am trying to do is to draw the lines of a 2d curvilinear coordinate system. Specifically, I do two contour plots on the same axes, that give me two sets of …

---

## [How to take two exisitng plots and inset one inside the other](https://discourse.julialang.org/t/how-to-take-two-exisitng-plots-and-inset-one-inside-the-other/101226)

<div class="topic-metadata">

**Author:** [@NegativeOne](https://discourse.julialang.org/u/NegativeOne)\
**Replies:** 1\
**Last updated:** [July 5, 2023, 8:25pm UTC](https://discourse.julialang.org/t/how-to-take-two-exisitng-plots-and-inset-one-inside-the-other/101226 "2023-07-05T20:25:14Z")

</div>

In want to take the outputs of two separate plot commands and inset one inside the other. I’m using the GR backend. I have two plots, one created as p = plot(t, cohs, lw=\[3 1 1 1 1\], ls=\[:solid :dash :dash :dash :dash…

---

## [How to set the output size in \`savefig()\` in \`GR.jl\`](https://discourse.julialang.org/t/how-to-set-the-output-size-in-savefig-in-gr-jl/101109)

<div class="topic-metadata">

**Author:** [@MarkW](https://discourse.julialang.org/u/MarkW)\
**Replies:** 1\
**Last updated:** [July 3, 2023, 6:57pm UTC](https://discourse.julialang.org/t/how-to-set-the-output-size-in-savefig-in-gr-jl/101109 "2023-07-03T18:57:13Z")

</div>

Hi, I have a simple question about GR.jl (Not through Plots.jl). I am displaying an image of size 300x300. I want to display it on screen and save the plot with savefig: using GR img = rand(300, 300) imshow(img) s…

---

## [Plots/GR broken after updating Pluto dependencies](https://discourse.julialang.org/t/plots-gr-broken-after-updating-pluto-dependencies/100546)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 23\
**Last updated:** [June 23, 2023, 5:26am UTC](https://discourse.julialang.org/t/plots-gr-broken-after-updating-pluto-dependencies/100546 "2023-06-23T05:26:00Z")

</div>

I am running Pluto and just installed the most recent Plots.jl which unfortunately failed. I think this should never happen, maybe some missing tests on GR or Plots.jl for interacting with previously installed versions? …

---

## [Plots/GR: \`savefig\` adds transparency to my picture?](https://discourse.julialang.org/t/plots-gr-savefig-adds-transparency-to-my-picture/93511)

<div class="topic-metadata">

**Author:** [@sim](https://discourse.julialang.org/u/sim)\
**Replies:** 7\
**Last updated:** [April 17, 2023, 12:49pm UTC](https://discourse.julialang.org/t/plots-gr-savefig-adds-transparency-to-my-picture/93511 "2023-04-17T12:49:09Z")

</div>

Hi, I have a curious phenomenon here which seemingly appeared from nowhere. I am doing a simple plot (using Plots) and saving it to a file ; but the saved version seems to be transparent. The MWE is using Plots heatmap…

---

## [Tick label can not display normally](https://discourse.julialang.org/t/tick-label-can-not-display-normally/97150)

<div class="topic-metadata">

**Author:** [@quantum](https://discourse.julialang.org/u/quantum)\
**Replies:** 1\
**Last updated:** [April 6, 2023, 6:13am UTC](https://discourse.julialang.org/t/tick-label-can-not-display-normally/97150 "2023-04-06T06:13:19Z")

</div>

I change the font of ticks supported by GR: Fonts — GR Framework 0.72.9 documentation. Since the default backend for plots package is GR, I think I can use these fonts. However, when I save the figure as pdf file, some s…

[Next page](https://discourse.julialang.org/tag/gr/373.md?match_all_tags=true&page=1&tags%5B%5D=gr)
