# Visualization

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

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

**Page:** 18

---

## [Tutorial on how to make animations and interactive applications in Makie.jl](https://discourse.julialang.org/t/tutorial-on-how-to-make-animations-and-interactive-applications-in-makie-jl/66988)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 3\
**Last updated:** [June 8, 2024, 10:00pm UTC](https://discourse.julialang.org/t/tutorial-on-how-to-make-animations-and-interactive-applications-in-makie-jl/66988 "2024-06-08T22:00:54Z")

</div>

Hi all, I’ve made a tutorial on how to make animations and interactive applications in Makie.jl and put it on YouTube. Have a look: Making animations and interactive applications in Makie.jl - YouTube Hope it helps!

---

## [Looping through timeseries points of voronoi](https://discourse.julialang.org/t/looping-through-timeseries-points-of-voronoi/115294)

<div class="topic-metadata">

**Author:** [@Manasa\_S](https://discourse.julialang.org/u/Manasa_S)\
**Replies:** 6\
**Last updated:** [June 7, 2024, 2:09pm UTC](https://discourse.julialang.org/t/looping-through-timeseries-points-of-voronoi/115294 "2024-06-07T14:09:47Z")

</div>

Hi, I want to loop through the voronoi triangles, get their (x,y) cordinates and then check for the density values which i have in a form of 2d array. How can i do that? This is my code: using Distributions mean\_signa…

---

## [How to plot isosurfaces of complex scalar fields?](https://discourse.julialang.org/t/how-to-plot-isosurfaces-of-complex-scalar-fields/115293)

<div class="topic-metadata">

**Author:** [@jagot](https://discourse.julialang.org/u/jagot)\
**Replies:** 0\
**Last updated:** [June 6, 2024, 7:21pm UTC](https://discourse.julialang.org/t/how-to-plot-isosurfaces-of-complex-scalar-fields/115293 "2024-06-06T19:21:05Z")

</div>

I would like to plot isosurfaces of a complex-valued scalar field. This is commonly used to visualize atomic and molecular orbitals, where the isosurfaces are taken at some specified magnitudes of the underlying scalar f…

---

## [Is there a way to change the theta tick label rotation for a PolarAxis? (Makie.jl)](https://discourse.julialang.org/t/is-there-a-way-to-change-the-theta-tick-label-rotation-for-a-polaraxis-makie-jl/115303)

<div class="topic-metadata">

**Author:** [@BenjaminDoran](https://discourse.julialang.org/u/BenjaminDoran)\
**Replies:** 0\
**Last updated:** [June 6, 2024, 11:14pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-change-the-theta-tick-label-rotation-for-a-polaraxis-makie-jl/115303 "2024-06-06T23:14:15Z")

</div>

It looks like there is no thetaticklabelrotation option for PolarAxis is there another option to get rotated tick labels for polar axis plots?

---

## [Only return mouse position if inside an Axis using GLMakie](https://discourse.julialang.org/t/only-return-mouse-position-if-inside-an-axis-using-glmakie/115204)

<div class="topic-metadata">

**Author:** [@garrek](https://discourse.julialang.org/u/garrek)\
**Replies:** 3\
**Last updated:** [June 6, 2024, 1:40am UTC](https://discourse.julialang.org/t/only-return-mouse-position-if-inside-an-axis-using-glmakie/115204 "2024-06-06T01:40:41Z")

</div>

I’m making an interactive heatmap where I get the mouse position and update a second plot. I provided a MWE where a horizontal line moves with the mouse, but I only want to update the line when the mouse is inside of thi…

---

## [Control Plots draw order with multiple y-axes](https://discourse.julialang.org/t/control-plots-draw-order-with-multiple-y-axes/115223)

<div class="topic-metadata">

**Author:** [@DrChainsaw](https://discourse.julialang.org/u/DrChainsaw)\
**Replies:** 1\
**Last updated:** [June 5, 2024, 11:40am UTC](https://discourse.julialang.org/t/control-plots-draw-order-with-multiple-y-axes/115223 "2024-06-05T11:40:31Z")

</div>

I’m trying to make a line plot vs the right y-axis and a bar plot on the left y-axis using twinx and I run into the problem that the bars obscure the line plot. Is there any way to make Plots draw the line plot on top o…

---

## [Plots... too close dots in :dot linestyle?](https://discourse.julialang.org/t/plots-too-close-dots-in-dot-linestyle/115102)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 2\
**Last updated:** [June 4, 2024, 7:12am UTC](https://discourse.julialang.org/t/plots-too-close-dots-in-dot-linestyle/115102 "2024-06-04T07:12:51Z")

</div>

Any updates on dot-distance in Plots? I’m using the latest version of Plots, with the default backend (GR). The dot distance is so small that it almost looks like a solid line…

---

## [Lines plot artifacts with GLMakie v0.10.2 on julia 1.10.3 (win10)](https://discourse.julialang.org/t/lines-plot-artifacts-with-glmakie-v0-10-2-on-julia-1-10-3-win10/114933)

<div class="topic-metadata">

**Author:** [@devel-chm](https://discourse.julialang.org/u/devel-chm)\
**Replies:** 2\
**Last updated:** [June 3, 2024, 6:04pm UTC](https://discourse.julialang.org/t/lines-plot-artifacts-with-glmakie-v0-10-2-on-julia-1-10-3-win10/114933 "2024-06-03T18:04:29Z")

</div>

I was plotting some curves with a lot of low level noise with GLMakie and the plots had a lot of extra line cruft as if the line segments for the lines in the plot were not being correctly handled. A MWE for the ab…

---

## [What are the four numbers in the \`linestyle\` vector?](https://discourse.julialang.org/t/what-are-the-four-numbers-in-the-linestyle-vector/115106)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 3\
**Last updated:** [June 3, 2024, 12:15pm UTC](https://discourse.julialang.org/t/what-are-the-four-numbers-in-the-linestyle-vector/115106 "2024-06-03T12:15:15Z")

</div>

What are the four numbers in line!( . . . ; linestyle = Linestyle(\[0.5, 1.0, 1.5, 2.5\]), . . . ) found in this documentation ? I tried this linestyle and got dashed lines, but I’ve got stuck there because I don’t know…

---

## [Makie on(Observable) combo triggers multiple times](https://discourse.julialang.org/t/makie-on-observable-combo-triggers-multiple-times/115039)

<div class="topic-metadata">

**Author:** [@oscarvdvelde](https://discourse.julialang.org/u/oscarvdvelde)\
**Replies:** 5\
**Last updated:** [June 1, 2024, 3:30pm UTC](https://discourse.julialang.org/t/makie-on-observable-combo-triggers-multiple-times/115039 "2024-06-01T15:30:16Z")

</div>

I made a data visualization tool with Makie where observables watch my axis.finallimits selection to update the selected indices, which then triggers the plotting. This involves two on() blocks. The problem is that it t…

---

## [Makie - can one control individual \`yticklabelcolor\`](https://discourse.julialang.org/t/makie-can-one-control-individual-yticklabelcolor/114380)

<div class="topic-metadata">

**Author:** [@alex-s-gardner](https://discourse.julialang.org/u/alex-s-gardner)\
**Replies:** 5\
**Last updated:** [June 1, 2024, 8:45am UTC](https://discourse.julialang.org/t/makie-can-one-control-individual-yticklabelcolor/114380 "2024-06-01T08:45:12Z")

</div>

I think I know the answer \[No\] but maybe someone knows of a hack. I’m looking to set differing colors for individual yticklabels in makie Specifically I’d like to set “icesat2”, “icesat”, “gedi” and “hugonnet” labels t…

---

## [Visualization of shapefile - Meshes.jl viz! very slow](https://discourse.julialang.org/t/visualization-of-shapefile-meshes-jl-viz-very-slow/114485)

<div class="topic-metadata">

**Author:** [@oscarvdvelde](https://discourse.julialang.org/u/oscarvdvelde)\
**Replies:** 21\
**Last updated:** [June 1, 2024, 2:28am UTC](https://discourse.julialang.org/t/visualization-of-shapefile-meshes-jl-viz-very-slow/114485 "2024-06-01T02:28:27Z")

</div>

Hi. I am switching from using a low resolution GeoJSON file of the entire world (size 23 MB), which was used in the example given by GeoMakie, to a higher resolution shapefile of two countries (using Meshes I merged FRA\_…

---

## [Getting bin values from histogram](https://discourse.julialang.org/t/getting-bin-values-from-histogram/114985)

<div class="topic-metadata">

**Author:** [@bsuwal](https://discourse.julialang.org/u/bsuwal)\
**Replies:** 1\
**Last updated:** [May 30, 2024, 9:00pm UTC](https://discourse.julialang.org/t/getting-bin-values-from-histogram/114985 "2024-05-30T21:00:27Z")

</div>

I wish to get the values of the bins in a histogram I make using Plots.jl. For example, if I use the following sample code using Plots data = randn(100) histogram(data, normalize=:probability) I wish to learn what the…

---

## [Makie DataInspector logscale](https://discourse.julialang.org/t/makie-datainspector-logscale/114955)

<div class="topic-metadata">

**Author:** [@Oto\_Brzobohaty](https://discourse.julialang.org/u/Oto_Brzobohaty)\
**Replies:** 2\
**Last updated:** [May 30, 2024, 11:27am UTC](https://discourse.julialang.org/t/makie-datainspector-logscale/114955 "2024-05-30T11:27:45Z")

</div>

Hi, I tried to use Makie DataInspector for logscale graph and it is not workin, MWE: fig = Figure() Axis(fig\[1,1\], xscale = log10) lines!(range(0.01, 0.99, length = 200), 1:200) DataInspector(fig) ERROR: Error …

---

## [Reducing CairoMakie PDF file sizes with PNG integration](https://discourse.julialang.org/t/reducing-cairomakie-pdf-file-sizes-with-png-integration/114948)

<div class="topic-metadata">

**Author:** [@nari](https://discourse.julialang.org/u/nari)\
**Replies:** 2\
**Last updated:** [May 30, 2024, 8:54am UTC](https://discourse.julialang.org/t/reducing-cairomakie-pdf-file-sizes-with-png-integration/114948 "2024-05-30T08:54:12Z")

</div>

The CairoMakie heatmap is very useful and I use it on a daily basis. However, the file size can be large when output to a pdf file (usually more than a few MB for my usage). By saving the layout, axes, annotations, etc. …

---

## [Makie.jl: plot with log-scale axes](https://discourse.julialang.org/t/makie-jl-plot-with-log-scale-axes/40132)

<div class="topic-metadata">

**Author:** [@disberd](https://discourse.julialang.org/u/disberd)\
**Replies:** 6\
**Last updated:** [May 30, 2024, 7:49am UTC](https://discourse.julialang.org/t/makie-jl-plot-with-log-scale-axes/40132 "2024-05-30T07:49:51Z")

</div>

Is there a way in Makie.jl to have log-scale for the axes in a plot? I can’t seem to find any mention about it in the official documentation

---

## [Adding a plot triggers axis reset in Makie](https://discourse.julialang.org/t/adding-a-plot-triggers-axis-reset-in-makie/114820)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 2\
**Last updated:** [May 28, 2024, 11:01am UTC](https://discourse.julialang.org/t/adding-a-plot-triggers-axis-reset-in-makie/114820 "2024-05-28T11:01:08Z")

</div>

If I have a makie plot using GLMakie fig = Figure() ax = Axis(fig\[1,1\]) scatter!(ax, 10, 10) fig zoom and pan and then add another plot scatter!(ax, 0, 0) the view port is reset. How can I prevent that?

---

## [CairoMakie: Restrict PDF version](https://discourse.julialang.org/t/cairomakie-restrict-pdf-version/113939)

<div class="topic-metadata">

**Author:** [@barucden](https://discourse.julialang.org/u/barucden)\
**Replies:** 5\
**Last updated:** [May 27, 2024, 2:07pm UTC](https://discourse.julialang.org/t/cairomakie-restrict-pdf-version/113939 "2024-05-27T14:07:50Z")

</div>

I need to restrict the version of output PDFs to 1.5. I didn’t figure out how to do it. I could only find a Discourse topic, where it was pointed out that cairo provides a function to restrict the version. I am not fami…

---

## [Representing Julia expressions AST using a directed graph](https://discourse.julialang.org/t/representing-julia-expressions-ast-using-a-directed-graph/114751)

<div class="topic-metadata">

**Author:** [@younes](https://discourse.julialang.org/u/younes)\
**Replies:** 8\
**Last updated:** [May 27, 2024, 11:11am UTC](https://discourse.julialang.org/t/representing-julia-expressions-ast-using-a-directed-graph/114751 "2024-05-27T11:11:44Z")

</div>

My graph should represent the AST of Julia expressions like y = x + 10/a for instance; there is a catch though, these ys and xs are not just mere numbers; they are custom types (wrappers) that hold, among other things, n…

---

## [Makie col/rowsize for grid, unexpected(?) behaviour](https://discourse.julialang.org/t/makie-col-rowsize-for-grid-unexpected-behaviour/114671)

<div class="topic-metadata">

**Author:** [@aris](https://discourse.julialang.org/u/aris)\
**Replies:** 4\
**Last updated:** [May 27, 2024, 10:48am UTC](https://discourse.julialang.org/t/makie-col-rowsize-for-grid-unexpected-behaviour/114671 "2024-05-27T10:48:43Z")

</div>

Greetings everyone, Suppose we have the following figure in GLMakie: using GLMakie f = Figure() Axis(f\[1, 1\]) Axis(f\[2, 1\]) Axis(f\[2, 2\]) colsize!(f.layout, 1, Fixed(300)) rowsize!(f.layout, 2, Fixed(300)) rowsize!(…

---

## [Add title and axis labels using abmplot](https://discourse.julialang.org/t/add-title-and-axis-labels-using-abmplot/114593)

<div class="topic-metadata">

**Author:** [@daler6](https://discourse.julialang.org/u/daler6)\
**Replies:** 1\
**Last updated:** [May 23, 2024, 11:54am UTC](https://discourse.julialang.org/t/add-title-and-axis-labels-using-abmplot/114593 "2024-05-23T11:54:52Z")

</div>

Hi, I am using the abmplot function in Agents.jl to plot the location of my agents. It is plotting the agents fine, but I would like to add a title and axis labels. Nothing I have done seems to work. I am using CairoMak…

---

## [Is there a minimal package for Windows Bitmap (\*.bmp) files?](https://discourse.julialang.org/t/is-there-a-minimal-package-for-windows-bitmap-bmp-files/114501)

<div class="topic-metadata">

**Author:** [@kimikage](https://discourse.julialang.org/u/kimikage)\
**Replies:** 4\
**Last updated:** [May 23, 2024, 6:07am UTC](https://discourse.julialang.org/t/is-there-a-minimal-package-for-windows-bitmap-bmp-files/114501 "2024-05-23T06:07:56Z")

</div>

Is there a package with minimal dependencies that supports loading and saving Windows Bitmap (\*.bmp) files? At present, ImageMagick.jl and OpenCV.jl are registered in the registry of FileIO.jl. They are prone to compa…

---

## [Animation from grid data/files:](https://discourse.julialang.org/t/animation-from-grid-data-files/114277)

<div class="topic-metadata">

**Author:** [@GeodeticR](https://discourse.julialang.org/u/GeodeticR)\
**Replies:** 12\
**Last updated:** [May 17, 2024, 3:53pm UTC](https://discourse.julialang.org/t/animation-from-grid-data-files/114277 "2024-05-17T15:53:52Z")

</div>

Making an animation with the GMT.jl package is not intuitive to me and I would love some guidance/direction on how to achieve my end goal. Luckily, though, using the GMT.jl package to plot a static grid is relatively st…

---

## [Renderloop updates in GLMakie.jl?](https://discourse.julialang.org/t/renderloop-updates-in-glmakie-jl/114397)

<div class="topic-metadata">

**Author:** [@dgleich](https://discourse.julialang.org/u/dgleich)\
**Replies:** 0\
**Last updated:** [May 17, 2024, 1:48pm UTC](https://discourse.julialang.org/t/renderloop-updates-in-glmakie-jl/114397 "2024-05-17T13:48:56Z")

</div>

Context: I’m trying to recreate this demo Collide force | D3 by Observable in Makie.jl with GraphPlayground.jl (and do other demos from there too…) Issue: What’s are different ways of driving the update loop in GLMaki…

---

## [Colorbar for contour plot with uneven spacing of contour lines](https://discourse.julialang.org/t/colorbar-for-contour-plot-with-uneven-spacing-of-contour-lines/114329)

<div class="topic-metadata">

**Author:** [@rkube](https://discourse.julialang.org/u/rkube)\
**Replies:** 3\
**Last updated:** [May 16, 2024, 2:21am UTC](https://discourse.julialang.org/t/colorbar-for-contour-plot-with-uneven-spacing-of-contour-lines/114329 "2024-05-16T02:21:18Z")

</div>

Hi, I’m trying to add a colorbar for a contour plot with uneven spacing between the contour lines. The contour plot using CairoMakie fig = let fig = Figure() ax = Axis(fig\[1, 1\]) xrg = 0.0:0.01:1.0 y…

---

## [Canvas too small when plotting multiple plots](https://discourse.julialang.org/t/canvas-too-small-when-plotting-multiple-plots/114326)

<div class="topic-metadata">

**Author:** [@jabru](https://discourse.julialang.org/u/jabru)\
**Replies:** 1\
**Last updated:** [May 16, 2024, 1:34am UTC](https://discourse.julialang.org/t/canvas-too-small-when-plotting-multiple-plots/114326 "2024-05-16T01:34:38Z")

</div>

Hi there, I am currently using the Plots.jl package for making the plots for my paper. And for some reason, when I create multiple plots next to each other, the canvas seems tp be to small to fit the entire image. For …

---

## [Luxor 'placeimage' with scaling](https://discourse.julialang.org/t/luxor-placeimage-with-scaling/114299)

<div class="topic-metadata">

**Author:** [@beryl](https://discourse.julialang.org/u/beryl)\
**Replies:** 2\
**Last updated:** [May 15, 2024, 6:17pm UTC](https://discourse.julialang.org/t/luxor-placeimage-with-scaling/114299 "2024-05-15T18:17:51Z")

</div>

Hi, I think this is a rather simple question but somehow I am unable to figure this out… :sweat\_smile: So, I have some svg images where all of them have the same scales. I want to place them on some absolute coordinates…

---

## [Horizontal bar plots with error bars](https://discourse.julialang.org/t/horizontal-bar-plots-with-error-bars/114217)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 2\
**Last updated:** [May 14, 2024, 2:39pm UTC](https://discourse.julialang.org/t/horizontal-bar-plots-with-error-bars/114217 "2024-05-14T14:39:00Z")

</div>

I am trying to make a horizontal bar plot with error bars, but I am having issues: using Plots, Distributions labels = \["aaa","bbb","ccc"\] values = \[10,8,7\] sd = \[2.2,0.8,1.5\] n = 30 errors = quantile(Normal(0,…

---

## [What "yerror" expects in Plots.jl?](https://discourse.julialang.org/t/what-yerror-expects-in-plots-jl/114207)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 2\
**Last updated:** [May 13, 2024, 6:39pm UTC](https://discourse.julialang.org/t/what-yerror-expects-in-plots-jl/114207 "2024-05-13T18:39:51Z")

</div>

Is it the value of sd/sqrt(n\_samples) ?

---

## [How to set xticks dependent on Observable?](https://discourse.julialang.org/t/how-to-set-xticks-dependent-on-observable/113740)

<div class="topic-metadata">

**Author:** [@vladdez](https://discourse.julialang.org/u/vladdez)\
**Replies:** 4\
**Last updated:** [May 13, 2024, 12:58pm UTC](https://discourse.julialang.org/t/how-to-set-xticks-dependent-on-observable/113740 "2024-05-13T12:58:50Z")

</div>

I have an Observable figure dependent on the vector called sortvalues. It perfectly updates except the xticks: when i put: axleft.xticks = sortvalues it shows an error: It is disallowed to set xticks, an Observabl…

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

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