# Visualization

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

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

**Page:** 8

---

## [Out of memory error in \`viz\` of 3D \`RectilinearGrid\` from Meshes.jl](https://discourse.julialang.org/t/out-of-memory-error-in-viz-of-3d-rectilineargrid-from-meshes-jl/128643)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 33\
**Last updated:** [May 31, 2025, 7:30pm UTC](https://discourse.julialang.org/t/out-of-memory-error-in-viz-of-3d-rectilineargrid-from-meshes-jl/128643 "2025-05-31T19:30:03Z")

</div>

I want to plot a grid using Meshes.jl and GLMakie.jl. I am reading the HDF5 data file output of Athena++ astrophysical code using HDF5.jl library. In Athena++ mesh grid is divided into smaller parts called Blocks to use…

---

## [Makie datashader color corruption](https://discourse.julialang.org/t/makie-datashader-color-corruption/129460)

<div class="topic-metadata">

**Author:** [@cmarcotte](https://discourse.julialang.org/u/cmarcotte)\
**Replies:** 6\
**Last updated:** [May 30, 2025, 9:39am UTC](https://discourse.julialang.org/t/makie-datashader-color-corruption/129460 "2025-05-30T09:39:35Z")

</div>

Hello, I am running into a bizarre coloration issue with Makie (GLMakie) with the datashader – this leads to a bright blue color on-screen, while the saved figure is red (as it is in the example). Additionally, the on-…

---

## [Bottom and top in text in Makie](https://discourse.julialang.org/t/bottom-and-top-in-text-in-makie/129403)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 2\
**Last updated:** [May 28, 2025, 1:50pm UTC](https://discourse.julialang.org/t/bottom-and-top-in-text-in-makie/129403 "2025-05-28T13:50:37Z")

</div>

I suspect that the “top” and “bottom” here should be swapped? Note that I mean that the API text!(; align = ...) should be modified. I don’t mean the tutorial itself . The text is just above the baseline—this is the…

---

## [Plot lots of surfaces with normals](https://discourse.julialang.org/t/plot-lots-of-surfaces-with-normals/129377)

<div class="topic-metadata">

**Author:** [@weymouth](https://discourse.julialang.org/u/weymouth)\
**Replies:** 5\
**Last updated:** [May 28, 2025, 11:46am UTC](https://discourse.julialang.org/t/plot-lots-of-surfaces-with-normals/129377 "2025-05-28T11:46:27Z")

</div>

I have an array of named tuples, each of which describes a 3D panel. Panels corners, centers, areas, normal vector, etc. I want to plot the panels and be able to apply a color to each one. I would like to use Plots and p…

---

## [Extension methods for various backends](https://discourse.julialang.org/t/extension-methods-for-various-backends/129401)

<div class="topic-metadata">

**Author:** [@weymouth](https://discourse.julialang.org/u/weymouth)\
**Replies:** 1\
**Last updated:** [May 28, 2025, 10:00am UTC](https://discourse.julialang.org/t/extension-methods-for-various-backends/129401 "2025-05-28T10:00:08Z")

</div>

We are using Makie to build up some plotting extensions for a few packages, but we have older extension methods for Plots as well. If the user only have Plots or only has Makie, everything works, but what if they have in…

---

## [Plot ellipse in Makie?](https://discourse.julialang.org/t/plot-ellipse-in-makie/82814)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 5\
**Last updated:** [May 27, 2025, 4:44pm UTC](https://discourse.julialang.org/t/plot-ellipse-in-makie/82814 "2025-05-27T16:44:24Z")

</div>

How can I draw a 2-dimensional ellipse in a Makie plot?

---

## [Open multiple plots in REPL](https://discourse.julialang.org/t/open-multiple-plots-in-repl/129269)

<div class="topic-metadata">

**Author:** [@CaG21](https://discourse.julialang.org/u/CaG21)\
**Replies:** 2\
**Last updated:** [May 23, 2025, 9:56am UTC](https://discourse.julialang.org/t/open-multiple-plots-in-repl/129269 "2025-05-23T09:56:25Z")

</div>

I am trying to generate several plots while working in the REPL, that must be displayed individually (i.e., a new window for each plot). When I am trying to do so, however, each new plot replaces the old plot in the same…

---

## [Weird behavior of Keyboard events under Gtk4 on Linux](https://discourse.julialang.org/t/weird-behavior-of-keyboard-events-under-gtk4-on-linux/129219)

<div class="topic-metadata">

**Author:** [@mwlidar](https://discourse.julialang.org/u/mwlidar)\
**Replies:** 1\
**Last updated:** [May 22, 2025, 7:37am UTC](https://discourse.julialang.org/t/weird-behavior-of-keyboard-events-under-gtk4-on-linux/129219 "2025-05-22T07:37:08Z")

</div>

After testing my application on a Linux system I get some strange behavior of keyboard events. Here is a MWE to illustrate it: win = GtkWindow("Key Test", 300, 300) eck = GtkEventControllerKey(win) signal\_c…

---

## [Grouped Bar Plots](https://discourse.julialang.org/t/grouped-bar-plots/129170)

<div class="topic-metadata">

**Author:** [@chelseas](https://discourse.julialang.org/u/chelseas)\
**Replies:** 2\
**Last updated:** [May 21, 2025, 9:47am UTC](https://discourse.julialang.org/t/grouped-bar-plots/129170 "2025-05-21T09:47:39Z")

</div>

How do I get my grouped bar plot bars to be next to each other and not on top of each other? code pulling data from dataframe: plot\_vio = bar( categorical(analysis.type), analysis.val, group = categorical(string.…

---

## [After trying to plot negative values using \`yaxis = :log10\`, all plots breaks down](https://discourse.julialang.org/t/after-trying-to-plot-negative-values-using-yaxis-log10-all-plots-breaks-down/129167)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 4\
**Last updated:** [May 20, 2025, 10:22am UTC](https://discourse.julialang.org/t/after-trying-to-plot-negative-values-using-yaxis-log10-all-plots-breaks-down/129167 "2025-05-20T10:22:19Z")

</div>

Basically, I (by misstake) tried to plot something where the values go negative and I asked for a log scaled y axis. Ofcourse this failed. However, it also meant that all other plots failed. It would be good if this cou…

---

## [RPRMakie.jl for 3D plotting of star](https://discourse.julialang.org/t/rprmakie-jl-for-3d-plotting-of-star/129107)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 0\
**Last updated:** [May 17, 2025, 6:46pm UTC](https://discourse.julialang.org/t/rprmakie-jl-for-3d-plotting-of-star/129107 "2025-05-17T18:46:23Z")

</div>

What is current state of RPRMakie.jl @sdanisch? I want to create 3D volume plot of Neutron Star or Black Hole using RPRMakie.jl. I have HDF5 data of simulation. I would like to interactively visualize the internal parts …

---

## [How to rotate mesh using observables in Makie?](https://discourse.julialang.org/t/how-to-rotate-mesh-using-observables-in-makie/129047)

<div class="topic-metadata">

**Author:** [@jmo](https://discourse.julialang.org/u/jmo)\
**Replies:** 3\
**Last updated:** [May 16, 2025, 12:03pm UTC](https://discourse.julialang.org/t/how-to-rotate-mesh-using-observables-in-makie/129047 "2025-05-16T12:03:59Z")

</div>

My aim is to rotate/translate a few objects (STL) in 3D visualizing a running simulation. And Makie seems to be the way to do it. I started simple with just trying to rotate a cube using an observable updated every 100 …

---

## [Makie Draw on Colorbar](https://discourse.julialang.org/t/makie-draw-on-colorbar/128982)

<div class="topic-metadata">

**Author:** [@andrew-saydjari](https://discourse.julialang.org/u/andrew-saydjari)\
**Replies:** 6\
**Last updated:** [May 15, 2025, 10:15pm UTC](https://discourse.julialang.org/t/makie-draw-on-colorbar/128982 "2025-05-15T22:15:44Z")

</div>

I have been struggling to find the syntax for drawing a line on a color bar using CairoMakie. I just want to be able to get the colorbar axis and do something like hlines!(cbar.axis. 5, color=“red”).

---

## [In a Plots.jl \`bar\` plot, how to remove space between bars?](https://discourse.julialang.org/t/in-a-plots-jl-bar-plot-how-to-remove-space-between-bars/128933)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 2\
**Last updated:** [May 13, 2025, 10:18am UTC](https://discourse.julialang.org/t/in-a-plots-jl-bar-plot-how-to-remove-space-between-bars/128933 "2025-05-13T10:18:20Z")

</div>

Here: using Plots vals = \[1.0 + rand() for \_ in 1:10\] bar(vals) How do I remove the space between the bars (and make them be tight)?

---

## [Fill a bounding box behind text in Makie](https://discourse.julialang.org/t/fill-a-bounding-box-behind-text-in-makie/101502)

<div class="topic-metadata">

**Author:** [@garrek](https://discourse.julialang.org/u/garrek)\
**Replies:** 8\
**Last updated:** [May 7, 2025, 6:16am UTC](https://discourse.julialang.org/t/fill-a-bounding-box-behind-text-in-makie/101502 "2025-05-07T06:16:07Z")

</div>

Is there now a way to fill a text bounding box? This question was asked a couple of years ago, but there was not a direct implementation at that time and a lot has changed since then. Basically, what I’d like to do is h…

---

## [UV mapping](https://discourse.julialang.org/t/uv-mapping/128720)

<div class="topic-metadata">

**Author:** [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Replies:** 4\
**Last updated:** [May 6, 2025, 12:58pm UTC](https://discourse.julialang.org/t/uv-mapping/128720 "2025-05-06T12:58:27Z")

</div>

Hi, is there any package that does (or can help in doing) UV mapping? More specifically: I have a 3D mesh made of triangles, and I want to “unwrap it” mapping each of its 3D points to a 2D plane.

---

## [Missing EXIF data when using ImageMagick.jl](https://discourse.julialang.org/t/missing-exif-data-when-using-imagemagick-jl/92519)

<div class="topic-metadata">

**Author:** [@albrightand](https://discourse.julialang.org/u/albrightand)\
**Replies:** 1\
**Last updated:** [May 5, 2025, 12:22am UTC](https://discourse.julialang.org/t/missing-exif-data-when-using-imagemagick-jl/92519 "2025-05-05T00:22:59Z")

</div>

I’m trying to use ImageMagick.jl to read EXIF GPS data from some .tif files. info = magickinfo(filename) provides a vector of image properties, but the GPS data is not included. When I look at the image properties manua…

---

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

---

## [Attributes (in particular width) of the colorbar in Plots.jl](https://discourse.julialang.org/t/attributes-in-particular-width-of-the-colorbar-in-plots-jl/32225)

<div class="topic-metadata">

**Author:** [@rad1um](https://discourse.julialang.org/u/rad1um)\
**Replies:** 4\
**Last updated:** [May 3, 2025, 8:24pm UTC](https://discourse.julialang.org/t/attributes-in-particular-width-of-the-colorbar-in-plots-jl/32225 "2025-05-03T20:24:39Z")

</div>

How do I change the attributes of the colorbar in Plots? In particular I would like to change the width and change the location, s.t. it is directly next to the corresponding plot. Thanks in advance.

---

## [Arrows for annotation in Makie.jl](https://discourse.julialang.org/t/arrows-for-annotation-in-makie-jl/108374)

<div class="topic-metadata">

**Author:** [@nari](https://discourse.julialang.org/u/nari)\
**Replies:** 4\
**Last updated:** [April 29, 2025, 4:37pm UTC](https://discourse.julialang.org/t/arrows-for-annotation-in-makie-jl/108374 "2025-04-29T16:37:30Z")

</div>

Makie.jl has arrows, which are suitable for illustrating vector fields, and annotations seem to be out of their intended use. If we want to annotate with arrows like matplotlib’s anotations, what is the best way in Maki…

---

## [Makie parent/children relationships](https://discourse.julialang.org/t/makie-parent-children-relationships/128457)

<div class="topic-metadata">

**Author:** [@turtle](https://discourse.julialang.org/u/turtle)\
**Replies:** 5\
**Last updated:** [April 28, 2025, 2:24pm UTC](https://discourse.julialang.org/t/makie-parent-children-relationships/128457 "2025-04-28T14:24:28Z")

</div>

I am new to Makie, so I am still on the learning curve. I am trying to understand the parent/children relationships. Assume that I have a Figure with several Axes, and each Axis contains several Plots. Assume that I …

---

## [How can I use Makie to create a complex composite figure?](https://discourse.julialang.org/t/how-can-i-use-makie-to-create-a-complex-composite-figure/128480)

<div class="topic-metadata">

**Author:** [@cocolar201](https://discourse.julialang.org/u/cocolar201)\
**Replies:** 5\
**Last updated:** [April 28, 2025, 2:48pm UTC](https://discourse.julialang.org/t/how-can-i-use-makie-to-create-a-complex-composite-figure/128480 "2025-04-28T14:48:09Z")

</div>

How can I use Makie to create a complex composite figure? A plot like this：

---

## [How to add legend that overlays marker and line color](https://discourse.julialang.org/t/how-to-add-legend-that-overlays-marker-and-line-color/61571)

<div class="topic-metadata">

**Author:** [@vjd](https://discourse.julialang.org/u/vjd)\
**Replies:** 9\
**Last updated:** [April 28, 2025, 9:09am UTC](https://discourse.julialang.org/t/how-to-add-legend-that-overlays-marker-and-line-color/61571 "2025-04-28T09:09:08Z")

</div>

is it possible to have a the legend for marker and line overlay on top each other if they follow the same color as in the code and figure below. I am still not sure exactly on the thinking behind creating the legend f…

---

## [Orthonormal axes in layout of PlotlyJS plot (as set\_aspect="equal" in python)](https://discourse.julialang.org/t/orthonormal-axes-in-layout-of-plotlyjs-plot-as-set-aspect-equal-in-python/128463)

<div class="topic-metadata">

**Author:** [@jowsky](https://discourse.julialang.org/u/jowsky)\
**Replies:** 4\
**Last updated:** [April 27, 2025, 8:39pm UTC](https://discourse.julialang.org/t/orthonormal-axes-in-layout-of-plotlyjs-plot-as-set-aspect-equal-in-python/128463 "2025-04-27T20:39:02Z")

</div>

Hello there, I am trying to plot a PlotlyJS 2D scatter plot with orthonormal axes, i.e. x and y axes of same scale, much like set\_aspect="equal" in matplotlib.pyplot in python. Unfortunately, I can’t manage to do it. I…

---

## [How to change PlotlyJS theme](https://discourse.julialang.org/t/how-to-change-plotlyjs-theme/128435)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 4\
**Last updated:** [April 27, 2025, 7:39am UTC](https://discourse.julialang.org/t/how-to-change-plotlyjs-theme/128435 "2025-04-27T07:39:21Z")

</div>

I begin to use PlotlyJS and I wonder how to change the theme. I also wonder about the right Plotly julia package (PlotlyJS/PlotlyLight). Best

---

## [How to retrieve axis handle from figure object?](https://discourse.julialang.org/t/how-to-retrieve-axis-handle-from-figure-object/82570)

<div class="topic-metadata">

**Author:** [@hanshinlee77](https://discourse.julialang.org/u/hanshinlee77)\
**Replies:** 5\
**Last updated:** [April 26, 2025, 5:51pm UTC](https://discourse.julialang.org/t/how-to-retrieve-axis-handle-from-figure-object/82570 "2025-04-26T17:51:53Z")

</div>

Hello, I have a function that creates a Makie (CairoMakie) plot and returns its figure object. Occasionally, I need to modify some of the figure settings (e.g. axis limits) after this function is executed and the figur…

---

## [What is the best practice plotting workflow in julia?](https://discourse.julialang.org/t/what-is-the-best-practice-plotting-workflow-in-julia/128288)

<div class="topic-metadata">

**Author:** [@hz-xiaxz](https://discourse.julialang.org/u/hz-xiaxz)\
**Replies:** 4\
**Last updated:** [April 23, 2025, 7:40am UTC](https://discourse.julialang.org/t/what-is-the-best-practice-plotting-workflow-in-julia/128288 "2025-04-23T07:40:59Z")

</div>

Hi, don’t know if this is a duplicated question. Using Makie.jl to plot in Julia has been a wonderful experience. But I’m wondering if there is a more convenient way to plot like using Matplotlib in python? In plotting …

---

## [Interactive subplots inspection with Makie](https://discourse.julialang.org/t/interactive-subplots-inspection-with-makie/128231)

<div class="topic-metadata">

**Author:** [@henry2004y](https://discourse.julialang.org/u/henry2004y)\
**Replies:** 5\
**Last updated:** [April 21, 2025, 2:39pm UTC](https://discourse.julialang.org/t/interactive-subplots-inspection-with-makie/128231 "2025-04-21T14:39:39Z")

</div>

Hi, I am using Makie for exploring the data of particle trajectories. Currently, my output looks like this: The trajectories can be long, and I may wish to zoom-in to a specific time interval for careful inspection.…

---

## [Best way to plot (discrete) 2d distribution](https://discourse.julialang.org/t/best-way-to-plot-discrete-2d-distribution/128213)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 1\
**Last updated:** [April 19, 2025, 10:57am UTC](https://discourse.julialang.org/t/best-way-to-plot-discrete-2d-distribution/128213 "2025-04-19T10:57:22Z")

</div>

I have a MxN matrix. What is the best way to plot it? I tried using histogram2d, but its example just uses two vectors, and with my matrix the result is weird. I also tried something like using Plots x=range(1,stop=50,l…

---

## [Gtk / Gtk4: transperent window (overlay) with layers](https://discourse.julialang.org/t/gtk-gtk4-transperent-window-overlay-with-layers/128080)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 0\
**Last updated:** [April 15, 2025, 1:07am UTC](https://discourse.julialang.org/t/gtk-gtk4-transperent-window-overlay-with-layers/128080 "2025-04-15T01:07:58Z")

</div>

Hi! I want to make transparent window with several graphic layers and information. I found ‘opacity’ property, but it work with window and child canvas. So, I found partial solution: c = @GtkCanvas() win = GtkWindow(c…

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

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