# Visualization

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

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

**Page:** 31

---

## [How to create to separate, simultaneously coexisting plot windows](https://discourse.julialang.org/t/how-to-create-to-separate-simultaneously-coexisting-plot-windows/55626)

<div class="topic-metadata">

**Author:** [@Uroc327](https://discourse.julialang.org/u/Uroc327)\
**Replies:** 6\
**Last updated:** [August 7, 2023, 3:20pm UTC](https://discourse.julialang.org/t/how-to-create-to-separate-simultaneously-coexisting-plot-windows/55626 "2023-08-07T15:20:59Z")

</div>

Hi! How can I create to separate windows, where each shows a Figure / Scene? When I try to create two Figure()s, I can only show one at a time. The same is true for Scene()s. fig1 = Figure() # add axes, plots, labels,…

---

## [Makie.jl - LaTeX ticks (and other elements)by default](https://discourse.julialang.org/t/makie-jl-latex-ticks-and-other-elements-by-default/102529)

<div class="topic-metadata">

**Author:** [@danieleavitabile](https://discourse.julialang.org/u/danieleavitabile)\
**Replies:** 4\
**Last updated:** [August 6, 2023, 6:57pm UTC](https://discourse.julialang.org/t/makie-jl-latex-ticks-and-other-elements-by-default/102529 "2023-08-06T18:57:33Z")

</div>

Hi All, I have read several posts in which LaTex ticks can be added to Makie manually, by specifying the ticks with a command, for instance here. Close to publication, I would like that by default every text in my figu…

---

## [Scatter plot with multiple labels per point](https://discourse.julialang.org/t/scatter-plot-with-multiple-labels-per-point/102477)

<div class="topic-metadata">

**Author:** [@DrChainsaw](https://discourse.julialang.org/u/DrChainsaw)\
**Replies:** 1\
**Last updated:** [August 6, 2023, 3:25pm UTC](https://discourse.julialang.org/t/scatter-plot-with-multiple-labels-per-point/102477 "2023-08-06T15:25:29Z")

</div>

Suppose I have some a set of items like this: stuct DummyItem x::Float64 y::Float64 labels::Vector{String} end Where labels can have 10-100 elements but only up to max 10 or so unique values. Is there a good way to…

---

## [GitHub throws errors when precompiling GLMakie](https://discourse.julialang.org/t/github-throws-errors-when-precompiling-glmakie/101882)

<div class="topic-metadata">

**Author:** [@Niall](https://discourse.julialang.org/u/Niall)\
**Replies:** 10\
**Last updated:** [August 2, 2023, 8:19am UTC](https://discourse.julialang.org/t/github-throws-errors-when-precompiling-glmakie/101882 "2023-08-02T08:19:07Z")

</div>

Hi. I’m having endless problems getting Makie to precompile successfully on GitHub in a package whose code I have inherited, but which compiles fine on my own machine. In particular, GitHub gives me these warnings from f…

---

## [Makie LaTeX fraction in y-axis label](https://discourse.julialang.org/t/makie-latex-fraction-in-y-axis-label/102365)

<div class="topic-metadata">

**Author:** [@maxee](https://discourse.julialang.org/u/maxee)\
**Replies:** 2\
**Last updated:** [August 1, 2023, 7:59pm UTC](https://discourse.julialang.org/t/makie-latex-fraction-in-y-axis-label/102365 "2023-08-01T19:59:31Z")

</div>

Is there a way to allow the y-axis label in Makie be a fraction? Here is a minimal working example: using CairoMakie fig = Figure() ax = Axis(fig\[1,1\]) lines!(ax, rand(5)) ax.ylabel = L"$\\frac{a}{b}$" save("file.pdf", …

---

## [PDF version used when saving a figure in CairoMakie](https://discourse.julialang.org/t/pdf-version-used-when-saving-a-figure-in-cairomakie/102282)

<div class="topic-metadata">

**Author:** [@garrek](https://discourse.julialang.org/u/garrek)\
**Replies:** 2\
**Last updated:** [July 31, 2023, 7:24am UTC](https://discourse.julialang.org/t/pdf-version-used-when-saving-a-figure-in-cairomakie/102282 "2023-07-31T07:24:32Z")

</div>

I have a technical question about the PDF version that is used when CairoMakie saves a figure. I notice CairoMakie saves using PDF version 1.5\[1\]. When I combine several assets together in, say, Affinity Publisher to cre…

---

## [Dash app precompilation](https://discourse.julialang.org/t/dash-app-precompilation/99529)

<div class="topic-metadata">

**Author:** [@Maucejo](https://discourse.julialang.org/u/Maucejo)\
**Replies:** 2\
**Last updated:** [July 30, 2023, 3:26pm UTC](https://discourse.julialang.org/t/dash-app-precompilation/99529 "2023-07-30T15:26:27Z")

</div>

Dear all, I have created a Dash application as a Julia module (say myApp.jl). This module has its own environment that I update from time to time. However, when I update the environment, the precompilation step of myApp…

---

## [How to generate gif from a vector of pre-made plots and save to file?](https://discourse.julialang.org/t/how-to-generate-gif-from-a-vector-of-pre-made-plots-and-save-to-file/102183)

<div class="topic-metadata">

**Author:** [@jinfreedom](https://discourse.julialang.org/u/jinfreedom)\
**Replies:** 2\
**Last updated:** [July 28, 2023, 10:00pm UTC](https://discourse.julialang.org/t/how-to-generate-gif-from-a-vector-of-pre-made-plots-and-save-to-file/102183 "2023-07-28T22:00:27Z")

</div>

Hi, I’m trying to generate a gif animation from a sequence of plots. Instead of using the @animate or @gif macro while plotting in a loop, all plots are produced ahead of time and saved to a vector of type Plots.Plot. I …

---

## [PLutoUI -- Can I make a Slider With a Text Box Option](https://discourse.julialang.org/t/plutoui-can-i-make-a-slider-with-a-text-box-option/102194)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 3\
**Last updated:** [July 28, 2023, 1:55pm UTC](https://discourse.julialang.org/t/plutoui-can-i-make-a-slider-with-a-text-box-option/102194 "2023-07-28T13:55:30Z")

</div>

In a Pluto Notebook, I would like to have a value driven by a slider, but I would also like the option to override that slider value with a text input. Or have them linked in someway. Any thoughts on how to accomplish …

---

## [Makie - Example of simple type recipe not working](https://discourse.julialang.org/t/makie-example-of-simple-type-recipe-not-working/102049)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 10\
**Last updated:** [July 26, 2023, 12:43am UTC](https://discourse.julialang.org/t/makie-example-of-simple-type-recipe-not-working/102049 "2023-07-26T00:43:27Z")

</div>

The docs explain how to write “type recipes”. Can you please provide a MWE with a completely new type? As you can see below, just following the instructions in the docs leads to errors: import Makie # custom type struc…

---

## [Can't make the animation work](https://discourse.julialang.org/t/cant-make-the-animation-work/101934)

<div class="topic-metadata">

**Author:** [@zff3141592](https://discourse.julialang.org/u/zff3141592)\
**Replies:** 8\
**Last updated:** [July 25, 2023, 11:44am UTC](https://discourse.julialang.org/t/cant-make-the-animation-work/101934 "2023-07-25T11:44:54Z")

</div>

using DifferentialEquations using Plots function rotchain!(du, u, p, x) # Differential equation of the rotating chain in 3D w, g, μ = p # Unpack the parameters du\[1\] = u\[2\] du\[2\] = -u\[2\]/x + (μ \* g) / (…

---

## [Does BBox work with GridLayout?](https://discourse.julialang.org/t/does-bbox-work-with-gridlayout/102023)

<div class="topic-metadata">

**Author:** [@vladdez](https://discourse.julialang.org/u/vladdez)\
**Replies:** 3\
**Last updated:** [July 25, 2023, 11:03am UTC](https://discourse.julialang.org/t/does-bbox-work-with-gridlayout/102023 "2023-07-25T11:03:15Z")

</div>

I want to create a graph with multiple axis and move them across the plot. I worked perfectly with Figure(), but do not work with GridLayout(), which I need to make combined figure. How can I solve this problem? How it…

---

## [Makie two figures](https://discourse.julialang.org/t/makie-two-figures/102043)

<div class="topic-metadata">

**Author:** [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Replies:** 2\
**Last updated:** [July 24, 2023, 10:15pm UTC](https://discourse.julialang.org/t/makie-two-figures/102043 "2023-07-24T22:15:30Z")

</div>

in a jupyter notebook i can create multiple figures using GLMakie and look at them both at the same time. but on the julia REPL, GLMakie re-uses the same window, so i can’t have multiple figures open at once. i’ve look…

---

## [Is there a way to make the parts of a plot with less data more visible?](https://discourse.julialang.org/t/is-there-a-way-to-make-the-parts-of-a-plot-with-less-data-more-visible/102014)

<div class="topic-metadata">

**Author:** [@Axze-rgb](https://discourse.julialang.org/u/Axze-rgb)\
**Replies:** 2\
**Last updated:** [July 24, 2023, 1:23pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-make-the-parts-of-a-plot-with-less-data-more-visible/102014 "2023-07-24T13:23:44Z")

</div>

Hello, I am plotting a kernel density, and the right-end of the plot is hard to see, especially when shared on the web with reduced resolution. I am using this command q=Gadfly.plot(U, x=U.x, y=U.density, Geom.point, T…

---

## [Inspection Feature in Agents.jl only showing position of agents](https://discourse.julialang.org/t/inspection-feature-in-agents-jl-only-showing-position-of-agents/101854)

<div class="topic-metadata">

**Author:** [@daler6](https://discourse.julialang.org/u/daler6)\
**Replies:** 0\
**Last updated:** [July 20, 2023, 9:17pm UTC](https://discourse.julialang.org/t/inspection-feature-in-agents-jl-only-showing-position-of-agents/101854 "2023-07-20T21:17:26Z")

</div>

I have worked through the tutorials for Agent.jl, as well as recreating the schelling.jl model. I have run into a problem with the Agent Inspection feature. I have no problem being able to inspect the agents, but rather …

---

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

---

## [GLMakie: hide control widgets before saving?](https://discourse.julialang.org/t/glmakie-hide-control-widgets-before-saving/101721)

<div class="topic-metadata">

**Author:** [@mwlidar](https://discourse.julialang.org/u/mwlidar)\
**Replies:** 5\
**Last updated:** [July 19, 2023, 12:22pm UTC](https://discourse.julialang.org/t/glmakie-hide-control-widgets-before-saving/101721 "2023-07-19T12:22:19Z")

</div>

Using GLMakie I created a nice 3D view of my data surrounded by some widget (Sliders, Textboxes) to control the appearance (see below). If I now want to save this to a file I would like to only the data, the title and th…

---

## [How to use Makie's (CairoMakie) heatmap for a matrix with some empty positions?](https://discourse.julialang.org/t/how-to-use-makies-cairomakie-heatmap-for-a-matrix-with-some-empty-positions/101762)

<div class="topic-metadata">

**Author:** [@mantzaris](https://discourse.julialang.org/u/mantzaris)\
**Replies:** 1\
**Last updated:** [July 19, 2023, 5:56am UTC](https://discourse.julialang.org/t/how-to-use-makies-cairomakie-heatmap-for-a-matrix-with-some-empty-positions/101762 "2023-07-19T05:56:52Z")

</div>

I am using this code to produce a heatmap with Makie using the backend of CairoMakie agent\_money(xx,yy) = id\_in\_position( (xx,yy) , schelling ) \> 0 ? schelling\[ id\_in\_position( (xx,yy) , schelling ) \].money : -1 xs = 1…

---

## [Makie textbox. how to disable?](https://discourse.julialang.org/t/makie-textbox-how-to-disable/101633)

<div class="topic-metadata">

**Author:** [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Replies:** 2\
**Last updated:** [July 19, 2023, 5:19am UTC](https://discourse.julialang.org/t/makie-textbox-how-to-disable/101633 "2023-07-19T05:19:05Z")

</div>

is there a way to prevent a user from entering a string into a textbox? i’d like to be able to disable and enable a text box depending on the state of a menu. in bokeh for example the textbox is greyed out when disable…

---

## [Graphics Library with real-time display in Julia?](https://discourse.julialang.org/t/graphics-library-with-real-time-display-in-julia/101530)

<div class="topic-metadata">

**Author:** [@Maddy](https://discourse.julialang.org/u/Maddy)\
**Replies:** 23\
**Last updated:** [July 18, 2023, 4:14pm UTC](https://discourse.julialang.org/t/graphics-library-with-real-time-display-in-julia/101530 "2023-07-18T16:14:15Z")

</div>

There are a lot of (excellent) libraries to static vector graphics. A lot of them have functionality to play the graphics back as gif or animations. I want to make a real-time simulation. Perhaps think of it as a game d…

---

## [How customizable is Makie?](https://discourse.julialang.org/t/how-customizable-is-makie/101185)

<div class="topic-metadata">

**Author:** [@goerz](https://discourse.julialang.org/u/goerz)\
**Replies:** 9\
**Last updated:** [July 17, 2023, 2:36pm UTC](https://discourse.julialang.org/t/how-customizable-is-makie/101185 "2023-07-17T14:36:12Z")

</div>

Since the announcement of the new makie website popped up on Slack and HN: Makie starts looking more and more polished, to the point where I’m considering giving it a serious try for publications. Until now, I’m using m…

---

## [Makie: Colorbar with the "High" and "Low" labels](https://discourse.julialang.org/t/makie-colorbar-with-the-high-and-low-labels/101604)

<div class="topic-metadata">

**Author:** [@nari](https://discourse.julialang.org/u/nari)\
**Replies:** 2\
**Last updated:** [July 18, 2023, 12:31am UTC](https://discourse.julialang.org/t/makie-colorbar-with-the-high-and-low-labels/101604 "2023-07-18T00:31:56Z")

</div>

When accompanying a heatmap with a color bar, the values at both ends themselves have no physical meaning, only the type and which direction they are used in are sometimes important. In that case, I would prepare a color…

---

## [Makie/FFMPEG pb libharfbuzz.so.0: undefined symbol: FT\_Get\_Transform](https://discourse.julialang.org/t/makie-ffmpeg-pb-libharfbuzz-so-0-undefined-symbol-ft-get-transform/99570)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 12\
**Last updated:** [July 15, 2023, 9:38am UTC](https://discourse.julialang.org/t/makie-ffmpeg-pb-libharfbuzz-so-0-undefined-symbol-ft-get-transform/99570 "2023-07-15T09:38:24Z")

</div>

Hi, I have a bug during animation with CairoMakie. I try the example from the doc: using CairoMakie scene = lines(rand(10); linewidth=10) record(scene, "out.mp4", 1:255; framerate = 60) do i scene.plots\[2\]\[:color…

---

## [Implementing Particle Life in Julia? | Graphics Simulator? | Physics Simulator (with visualisation)?](https://discourse.julialang.org/t/implementing-particle-life-in-julia-graphics-simulator-physics-simulator-with-visualisation/101563)

<div class="topic-metadata">

**Author:** [@Maddy](https://discourse.julialang.org/u/Maddy)\
**Replies:** 4\
**Last updated:** [July 14, 2023, 9:44pm UTC](https://discourse.julialang.org/t/implementing-particle-life-in-julia-graphics-simulator-physics-simulator-with-visualisation/101563 "2023-07-14T21:44:04Z")

</div>

Tom Mohr has shown his implementation of Particle Life here I was wondering if we can do that in Julia since a longgg time! But I just can’t find a graphics library that has real-time rendering (along with some interac…

---

## [Plots.contour rounding the contour labels](https://discourse.julialang.org/t/plots-contour-rounding-the-contour-labels/100939)

<div class="topic-metadata">

**Author:** [@selvi-aras](https://discourse.julialang.org/u/selvi-aras)\
**Replies:** 3\
**Last updated:** [July 13, 2023, 9:28am UTC](https://discourse.julialang.org/t/plots-contour-rounding-the-contour-labels/100939 "2023-07-13T09:28:52Z")

</div>

I am using Plots.jl to generate a contour plot. It works great but the contour labels have 5 digits after the decimal point: How can I update my code, which is shared next, so that the contour labels are rounded to de…

---

## [Shade in Region between two lines - Makie](https://discourse.julialang.org/t/shade-in-region-between-two-lines-makie/101529)

<div class="topic-metadata">

**Author:** [@xztt](https://discourse.julialang.org/u/xztt)\
**Replies:** 5\
**Last updated:** [July 12, 2023, 9:29pm UTC](https://discourse.julialang.org/t/shade-in-region-between-two-lines-makie/101529 "2023-07-12T21:29:11Z")

</div>

Hi, In Makie I can plot two linear lines with the code x = LinRange(0,100,101) f = Figure(); ax = Axis(f\[1,1\]) lines!(x, 30 .+ 0.6\*x, color = :blue, label = "Lower") lines!(x, 2 .+ 1.1\*x, color = :blue, label = "Upper"…

---

## [Streamplot - Streamlines in Julia](https://discourse.julialang.org/t/streamplot-streamlines-in-julia/101537)

<div class="topic-metadata">

**Author:** [@Sisisi](https://discourse.julialang.org/u/Sisisi)\
**Replies:** 4\
**Last updated:** [July 12, 2023, 7:51pm UTC](https://discourse.julialang.org/t/streamplot-streamlines-in-julia/101537 "2023-07-12T19:51:16Z")

</div>

Hello, I have this MATLAB code (arrays are examples) XX =\[0.0 0.0 0.0; 0.5 0.5 0.5; 1.0 1.0 1.0\]; YY = \[0.0 0.5 1.0; 0.0 0.5 1.0; 0.0 0.5 1.0\]; U = \[-0.0 -0.0 0.0; -0.0 -0.6 0.0; -0.0 -9.184850993605148e-17 0.0\]; V = \[…

---

## [Heatmap with mousepicking	no axis markings and labels](https://discourse.julialang.org/t/heatmap-with-mousepicking-no-axis-markings-and-labels/101521)

<div class="topic-metadata">

**Author:** [@Wulf](https://discourse.julialang.org/u/Wulf)\
**Replies:** 2\
**Last updated:** [July 12, 2023, 2:49pm UTC](https://discourse.julialang.org/t/heatmap-with-mousepicking-no-axis-markings-and-labels/101521 "2023-07-12T14:49:29Z")

</div>

I output a heatmap, points and lines, to a scene in order to allow mouse interactions similar to this example. http://juliaplots.org/MakieReferenceImages/gallery//mouse\_picking/index.html However contrary to the exampl…

---

## [Makie: Color and theme for errorbars](https://discourse.julialang.org/t/makie-color-and-theme-for-errorbars/101428)

<div class="topic-metadata">

**Author:** [@barucden](https://discourse.julialang.org/u/barucden)\
**Replies:** 3\
**Last updated:** [July 12, 2023, 9:19am UTC](https://discourse.julialang.org/t/makie-color-and-theme-for-errorbars/101428 "2023-07-12T09:19:37Z")

</div>

Hi, I have two questions about errorbars in Makie. Consider the following example: using CairoMakie set\_theme!(Theme( Lines=(linewidth = 4,), ErrorBars=(linewidth = 4,) )) x = \[1, 2, 3, 4, 5\] y\_A = \[1, 2, 1, …

---

## [How can I add categorical labels in a grouped bar plot?](https://discourse.julialang.org/t/how-can-i-add-categorical-labels-in-a-grouped-bar-plot/101494)

<div class="topic-metadata">

**Author:** [@bertulli](https://discourse.julialang.org/u/bertulli)\
**Replies:** 3\
**Last updated:** [July 11, 2023, 8:02pm UTC](https://discourse.julialang.org/t/how-can-i-add-categorical-labels-in-a-grouped-bar-plot/101494 "2023-07-11T20:02:22Z")

</div>

Hi all! I’m trying to produce a grouped bar plot, as shown here: julia\> results 12-element Vector{NamedTuple{(:program, :mean, :stddev, :score), Tuple{String, Float64, Float64, Float64}}}: (program = "fact\_ite\_#1", me…

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

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