# Visualization

**URL:** https://discourse.julialang.org/c/domain/viz/17.md?page=9

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

**Page:** 10

---

## [How to use amssymb in Plots.jl with LaTeXStrings?](https://discourse.julialang.org/t/how-to-use-amssymb-in-plots-jl-with-latexstrings/126728)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 0\
**Last updated:** [March 9, 2025, 12:14pm UTC](https://discourse.julialang.org/t/how-to-use-amssymb-in-plots-jl-with-latexstrings/126728 "2025-03-09T12:14:28Z")

</div>

How to use amssymb commands in L"..."-labels of plots? Using, for example, \\mathbb returns the following error: ! Undefined control sequence. \\pgfplots@already@computed@legend@node ...\\mathbb …

---

## [WGLMakie zoom with export\_static](https://discourse.julialang.org/t/wglmakie-zoom-with-export-static/126585)

<div class="topic-metadata">

**Author:** [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Replies:** 4\
**Last updated:** [March 7, 2025, 11:01pm UTC](https://discourse.julialang.org/t/wglmakie-zoom-with-export-static/126585 "2025-03-07T23:01:56Z")

</div>

when a WGLMakie App is served with Bonito, zooming in on a plot works, but when a standalone .html file is created with export\_static, it doesn’t. presumably a Julia server is needed for this functionality. i post beca…

---

## [Makie 3D "flatten" scatter points in x-y axis](https://discourse.julialang.org/t/makie-3d-flatten-scatter-points-in-x-y-axis/126589)

<div class="topic-metadata">

**Author:** [@cmdenis](https://discourse.julialang.org/u/cmdenis)\
**Replies:** 3\
**Last updated:** [March 6, 2025, 2:19pm UTC](https://discourse.julialang.org/t/makie-3d-flatten-scatter-points-in-x-y-axis/126589 "2025-03-06T14:19:02Z")

</div>

Hi there, I’m trying to make a 3D plot with Makie, and I’d like to plot some scatter points “flat” on the x-y plane of the plot. Here is the M(not)WE I have so far: using CairoMakie # Initialize figure fig = Figure(s…

---

## [Help with a new routine to add labels to the tail of each plot](https://discourse.julialang.org/t/help-with-a-new-routine-to-add-labels-to-the-tail-of-each-plot/126484)

<div class="topic-metadata">

**Author:** [@dgleich](https://discourse.julialang.org/u/dgleich)\
**Replies:** 9\
**Last updated:** [March 5, 2025, 2:00am UTC](https://discourse.julialang.org/t/help-with-a-new-routine-to-add-labels-to-the-tail-of-each-plot/126484 "2025-03-05T02:00:32Z")

</div>

I’m trying to implement a ‘tail\_labels’ function that labels the tail of the plot with the text label. It handles all the messy layout details for you. Here is an example from a prototype: But there are a bunch of t…

---

## [Making a button grid with Makie?](https://discourse.julialang.org/t/making-a-button-grid-with-makie/126468)

<div class="topic-metadata">

**Author:** [@Hezzeki](https://discourse.julialang.org/u/Hezzeki)\
**Replies:** 4\
**Last updated:** [March 4, 2025, 5:02am UTC](https://discourse.julialang.org/t/making-a-button-grid-with-makie/126468 "2025-03-04T05:02:16Z")

</div>

I wanted to make a button grid that parallels the physical device I am plotting against, I am currently using code like this for the button section: ... fig\_volt = Figure() ... elec\_vis = fig\_volt\[2, 1:2\] = GridLayout(h…

---

## [Precompilation error when installing Makie/GLMakie](https://discourse.julialang.org/t/precompilation-error-when-installing-makie-glmakie/126460)

<div class="topic-metadata">

**Author:** [@LucasMSpereira](https://discourse.julialang.org/u/LucasMSpereira)\
**Replies:** 11\
**Last updated:** [March 2, 2025, 10:00pm UTC](https://discourse.julialang.org/t/precompilation-error-when-installing-makie-glmakie/126460 "2025-03-02T22:00:54Z")

</div>

When trying to add Makie, precompilation errors are triggered (with GLMakie, Pango\_jll and GLMakie also show up in this list): Precompiling project... ✗ OpenEXR ✗ Cairo\_jll ✗ HarfBuzz\_jll ✗ libass\_jll ✗ FFMPEG…

---

## [Exporting figures to static HTML](https://discourse.julialang.org/t/exporting-figures-to-static-html/125896)

<div class="topic-metadata">

**Author:** [@langestefan](https://discourse.julialang.org/u/langestefan)\
**Replies:** 31\
**Last updated:** [March 1, 2025, 11:48am UTC](https://discourse.julialang.org/t/exporting-figures-to-static-html/125896 "2025-03-01T11:48:57Z")

</div>

Hi! I am trying to embed my makie plots as html files in my github pages website which uses jekyll. I found this blog post which explains how it can be done: using Julia to do web based interactive plotting | Aaron Tro…

---

## [Displaying text values of ABMObservable in Agents.jl](https://discourse.julialang.org/t/displaying-text-values-of-abmobservable-in-agents-jl/126322)

<div class="topic-metadata">

**Author:** [@ultradian](https://discourse.julialang.org/u/ultradian)\
**Replies:** 0\
**Last updated:** [February 26, 2025, 5:57am UTC](https://discourse.julialang.org/t/displaying-text-values-of-abmobservable-in-agents-jl/126322 "2025-02-26T05:57:53Z")

</div>

I want to add display of text values and statistics in an interactive Agents model, but I can’t get it to work. As an example, if we start with the Schelling model from the Tutorial: using Agents using GLMakie space = …

---

## [Hidedecorations not working as expected for PolarAxis?](https://discourse.julialang.org/t/hidedecorations-not-working-as-expected-for-polaraxis/126231)

<div class="topic-metadata">

**Author:** [@grero](https://discourse.julialang.org/u/grero)\
**Replies:** 2\
**Last updated:** [February 25, 2025, 1:17am UTC](https://discourse.julialang.org/t/hidedecorations-not-working-as-expected-for-polaraxis/126231 "2025-02-25T01:17:42Z")

</div>

I’m putting together a fairly complicated figure, involving a mixture of line plots and polar histogram plots. Using PolarAxis for the latter, I found that they appear to take up more space than needed. To illustrate the…

---

## [Different behaviour of contour in Plots and GLMakie](https://discourse.julialang.org/t/different-behaviour-of-contour-in-plots-and-glmakie/126247)

<div class="topic-metadata">

**Author:** [@vtfanta](https://discourse.julialang.org/u/vtfanta)\
**Replies:** 4\
**Last updated:** [February 24, 2025, 7:51pm UTC](https://discourse.julialang.org/t/different-behaviour-of-contour-in-plots-and-glmakie/126247 "2025-02-24T19:51:39Z")

</div>

When plotting a contour plot of a quadratic, behaviour is different for Plots and Makie, while Makie is correct. The motivation is to show an iteration of the Newton method. ▶ MWE Makie correctly shows the minimizer in t…

---

## [Quiver plot using PlotlyJS backend not showing arrowhead](https://discourse.julialang.org/t/quiver-plot-using-plotlyjs-backend-not-showing-arrowhead/102144)

<div class="topic-metadata">

**Author:** [@jinfreedom](https://discourse.julialang.org/u/jinfreedom)\
**Replies:** 4\
**Last updated:** [February 22, 2025, 2:16am UTC](https://discourse.julialang.org/t/quiver-plot-using-plotlyjs-backend-not-showing-arrowhead/102144 "2025-02-22T02:16:07Z")

</div>

Hi, I’m using plotlyjs backend to make a simple quiver plot, it looks like this where arrow heads are not shown. If I switch to GR I get the following wit arrow heads So how do I make arrow heads shown with plotl…

---

## [Title below plot](https://discourse.julialang.org/t/title-below-plot/126152)

<div class="topic-metadata">

**Author:** [@Breizhen](https://discourse.julialang.org/u/Breizhen)\
**Replies:** 1\
**Last updated:** [February 21, 2025, 3:46pm UTC](https://discourse.julialang.org/t/title-below-plot/126152 "2025-02-21T15:46:11Z")

</div>

Is there any way to place the title(s) below a plot or subplots using Plots.jl, without getting around the problem and using the ‘annotate’ function?

---

## [How to construct a categorical colormap with one specific value corresponding to a specific color?](https://discourse.julialang.org/t/how-to-construct-a-categorical-colormap-with-one-specific-value-corresponding-to-a-specific-color/126114)

<div class="topic-metadata">

**Author:** [@thudjx](https://discourse.julialang.org/u/thudjx)\
**Replies:** 0\
**Last updated:** [February 20, 2025, 1:32pm UTC](https://discourse.julialang.org/t/how-to-construct-a-categorical-colormap-with-one-specific-value-corresponding-to-a-specific-color/126114 "2025-02-20T13:32:11Z")

</div>

What I want to do: I have an array of intergers that ranges over -3:2, which I want to plot with heatmap. The difficult part is that I want the 0 to be ploted by some “neutral” color, say grey in the colormap :coolwarm. …

---

## [FFMPEG error when using @animate in Julia: "Output file #0 does not contain any stream"](https://discourse.julialang.org/t/ffmpeg-error-when-using-animate-in-julia-output-file-0-does-not-contain-any-stream/125919)

<div class="topic-metadata">

**Author:** [@Sarah\_Groves](https://discourse.julialang.org/u/Sarah_Groves)\
**Replies:** 4\
**Last updated:** [February 18, 2025, 7:15pm UTC](https://discourse.julialang.org/t/ffmpeg-error-when-using-animate-in-julia-output-file-0-does-not-contain-any-stream/125919 "2025-02-18T19:15:59Z")

</div>

I am trying to run the example code at Animations · Plots : using Plots @userplot CirclePlot @recipe function f(cp::CirclePlot) x, y, i = cp.args n = length(x) inds = circshift(1:n, 1 - i) linewidth --\> …

---

## [How to draw the lines connecting the subplots](https://discourse.julialang.org/t/how-to-draw-the-lines-connecting-the-subplots/124540)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 3\
**Last updated:** [February 18, 2025, 2:12pm UTC](https://discourse.julialang.org/t/how-to-draw-the-lines-connecting-the-subplots/124540 "2025-02-18T14:12:40Z")

</div>

I would like to draw the lines on top of a large composite plot constructed from several subplots using layout. Specifically, I would like to draw the lines in the gap between the two plots to indicate that one of the s…

---

## [USD format?](https://discourse.julialang.org/t/usd-format/22064)

<div class="topic-metadata">

**Author:** [@Orbots](https://discourse.julialang.org/u/Orbots)\
**Replies:** 3\
**Last updated:** [February 16, 2025, 8:39pm UTC](https://discourse.julialang.org/t/usd-format/22064 "2025-02-16T20:39:14Z")

</div>

Are there any current packages around that support USD in some form? https://graphics.pixar.com/usd/docs/Introduction-to-USD.html Looks like it’s becoming the way to exchange 3D scenes between applications. I’m inter…

---

## [How to toggle a button with Makie.jl?](https://discourse.julialang.org/t/how-to-toggle-a-button-with-makie-jl/60381)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 3\
**Last updated:** [February 12, 2025, 7:26am UTC](https://discourse.julialang.org/t/how-to-toggle-a-button-with-makie-jl/60381 "2025-02-12T07:26:03Z")

</div>

I have a 3D viewer written in MakieGL. I have a button “PLAY”, and I want it to change to a “PAUSE” button when clicked and back to a “PLAY” button when clicked again. How can I achieve that?

---

## [Plot Taylor diagrams](https://discourse.julialang.org/t/plot-taylor-diagrams/56406)

<div class="topic-metadata">

**Author:** [@rio](https://discourse.julialang.org/u/rio)\
**Replies:** 3\
**Last updated:** [February 11, 2025, 7:34am UTC](https://discourse.julialang.org/t/plot-taylor-diagrams/56406 "2025-02-11T07:34:16Z")

</div>

I am looking for a Julia function to create a Taylor diagram (a diagram that compares measured against estimated values for a certain variable), like in: Please, do you have any suggestions? Thanks in advance.

---

## [In search of categorical color scheme families: dark, same perceptual brightness](https://discourse.julialang.org/t/in-search-of-categorical-color-scheme-families-dark-same-perceptual-brightness/109560)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 24\
**Last updated:** [February 10, 2025, 1:58pm UTC](https://discourse.julialang.org/t/in-search-of-categorical-color-scheme-families-dark-same-perceptual-brightness/109560 "2025-02-10T13:58:53Z")

</div>

I frequently want to plot categorical data on a white background (eg a scatterplot, with various colors for each kind). My ideal color scheme would be reasonably dark, as I am plotting on a white background, have more …

---

## [Default linecolor name in Plots.jl?](https://discourse.julialang.org/t/default-linecolor-name-in-plots-jl/125634)

<div class="topic-metadata">

**Author:** [@BVPs](https://discourse.julialang.org/u/BVPs)\
**Replies:** 8\
**Last updated:** [February 7, 2025, 5:10pm UTC](https://discourse.julialang.org/t/default-linecolor-name-in-plots-jl/125634 "2025-02-07T17:10:39Z")

</div>

Hello. I thought that the default linecolor for plotting lines in Plots.jl was :steelblue. But upon close examination, it seems to be different. It’s actually closer to :dodgerblue. Is there any julia function that retur…

---

## [Makie force update, refresh, or redraw of figure or screen](https://discourse.julialang.org/t/makie-force-update-refresh-or-redraw-of-figure-or-screen/125586)

<div class="topic-metadata">

**Author:** [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Replies:** 0\
**Last updated:** [February 5, 2025, 4:56pm UTC](https://discourse.julialang.org/t/makie-force-update-refresh-or-redraw-of-figure-or-screen/125586 "2025-02-05T16:56:42Z")

</div>

i programmatically update the text of a Label and it is not reliably shown. simple cases work fine, and i’m having trouble coming up with an MWE that shows this bad behavior, but the structure of my production code is s…

---

## [Writing points to vtk with WriteVTK.jl](https://discourse.julialang.org/t/writing-points-to-vtk-with-writevtk-jl/50635)

<div class="topic-metadata">

**Author:** [@O\_Julia](https://discourse.julialang.org/u/O_Julia)\
**Replies:** 3\
**Last updated:** [February 2, 2025, 10:22am UTC](https://discourse.julialang.org/t/writing-points-to-vtk-with-writevtk-jl/50635 "2025-02-02T10:22:47Z")

</div>

Hi, I am trying to export a set of points with corresponding value at each point using WriteVTK.jl. More precisely, I am trying to convert following codes given here. from evtk.hl import pointsToVTK import numpy as n…

---

## [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…

---

## ["Redistribute" makie subplots](https://discourse.julialang.org/t/redistribute-makie-subplots/125402)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 1\
**Last updated:** [January 30, 2025, 9:11pm UTC](https://discourse.julialang.org/t/redistribute-makie-subplots/125402 "2025-01-30T21:11:32Z")

</div>

Say that I have created a Makie figure filling fig = Figure() ax1 = Axis(fig\[1, 1\]; ...) ax2 = Axis(fig\[1, 2\]; ...) ax3 = Axis(fig\[1, 3; ...) ax4 = Axis(fig\[1, 4\]; ...) Where I here have a 1x4 set of plots. Is there a …

---

## [Generate PDF document showing the equations in a package](https://discourse.julialang.org/t/generate-pdf-document-showing-the-equations-in-a-package/91064)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 2\
**Last updated:** [January 30, 2025, 6:57pm UTC](https://discourse.julialang.org/t/generate-pdf-document-showing-the-equations-in-a-package/91064 "2025-01-30T18:57:04Z")

</div>

I have a small package with equations and tables copied from a book. I want to figure out a way to generate a PDF file rendering all the equations in mathy form. This will serve as a quality control that the equations be…

---

## [Efficient link all x-axis for updating limits and zooming in x direction](https://discourse.julialang.org/t/efficient-link-all-x-axis-for-updating-limits-and-zooming-in-x-direction/79288)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 3\
**Last updated:** [January 29, 2025, 4:46pm UTC](https://discourse.julialang.org/t/efficient-link-all-x-axis-for-updating-limits-and-zooming-in-x-direction/79288 "2025-01-29T16:46:53Z")

</div>

I am making an interactive app that has some series of axis with the same x axis. For efficiency reasons, I am linking the x-axes, so that I only update the x limits of one axis. I’ve noticed, with the way I do it now (s…

---

## [Problem with installing PythonPlot, CondaPKG (FreeBSD)](https://discourse.julialang.org/t/problem-with-installing-pythonplot-condapkg-freebsd/125195)

<div class="topic-metadata">

**Author:** [@ko56](https://discourse.julialang.org/u/ko56)\
**Replies:** 4\
**Last updated:** [January 28, 2025, 2:51am UTC](https://discourse.julialang.org/t/problem-with-installing-pythonplot-condapkg-freebsd/125195 "2025-01-28T02:51:02Z")

</div>

I posted this question micromamba a while ago, but haven’t gotten any responses. Maybe the post was in the wrong place. I am reposting here, which seems more appropriate. Thanks for any help.

---

## [Labels in pie charts in Makie](https://discourse.julialang.org/t/labels-in-pie-charts-in-makie/94088)

<div class="topic-metadata">

**Author:** [@mpirke](https://discourse.julialang.org/u/mpirke)\
**Replies:** 8\
**Last updated:** [January 27, 2025, 5:07pm UTC](https://discourse.julialang.org/t/labels-in-pie-charts-in-makie/94088 "2025-01-27T17:07:28Z")

</div>

Hi there! I was wondering how to put labels on a pie chart in Makie. Like in the example shown on the page. using CairoMakie data = \[36, 12, 68, 5, 42, 27\] colors = \[:yellow, :orange, :red, :blue, :purple, :green\] …

---

## [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?

---

## [Placing dotplot over violin plot](https://discourse.julialang.org/t/placing-dotplot-over-violin-plot/115253)

<div class="topic-metadata">

**Author:** [@Max\_Beez](https://discourse.julialang.org/u/Max_Beez)\
**Replies:** 6\
**Last updated:** [January 23, 2025, 3:42pm UTC](https://discourse.julialang.org/t/placing-dotplot-over-violin-plot/115253 "2025-01-23T15:42:41Z")

</div>

I am trying to create a violin plot with the individual data points overlayed over the violin plot. IF I create a violin using Plots.violin(data) and then dotplot!(data) I get a result of side-by-side rather than overlay…

[Previous page](https://discourse.julialang.org/c/domain/viz/17.md?page=8)

[Next page](https://discourse.julialang.org/c/domain/viz/17.md?page=10)
