# Visualization

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

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

**Page:** 19

---

## [\[Makie\] Displaying LaTeX fraction in xticks](https://discourse.julialang.org/t/makie-displaying-latex-fraction-in-xticks/114166)

<div class="topic-metadata">

**Author:** [@Jeonghun\_Lee](https://discourse.julialang.org/u/Jeonghun_Lee)\
**Replies:** 2\
**Last updated:** [May 12, 2024, 2:37pm UTC](https://discourse.julialang.org/t/makie-displaying-latex-fraction-in-xticks/114166 "2024-05-12T14:37:09Z")

</div>

I’m having trouble dealing with xticks. using CairoMakie using LaTeXStrings fig = Figure() ax = Axis(fig\[1,1\], xticks = (-pi:pi/2:pi, \[L"-\\pi", L"-\\pi/2", L"0", L"\\pi/2", L"\\pi"\])) xlims!(ax, -pi, pi) fig This code…

---

## [\[RFC\] What should the arithmetic within the FixedPointNumbers be](https://discourse.julialang.org/t/rfc-what-should-the-arithmetic-within-the-fixedpointnumbers-be/46697)

<div class="topic-metadata">

**Author:** [@kimikage](https://discourse.julialang.org/u/kimikage)\
**Replies:** 65\
**Last updated:** [May 11, 2024, 4:54am UTC](https://discourse.julialang.org/t/rfc-what-should-the-arithmetic-within-the-fixedpointnumbers-be/46697 "2024-05-11T04:54:12Z")

</div>

Hi all, I am one of the committers of FixedPointNumbers.jl and we are currently working on the next version, v0.9.0, to be released. This is not directly related to the visualization, but I’m writing this in the visual…

---

## [Set default color cycle for densities: transparent color and linecolor](https://discourse.julialang.org/t/set-default-color-cycle-for-densities-transparent-color-and-linecolor/114097)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 5\
**Last updated:** [May 10, 2024, 2:21pm UTC](https://discourse.julialang.org/t/set-default-color-cycle-for-densities-transparent-color-and-linecolor/114097 "2024-05-10T14:21:20Z")

</div>

I believe I have tried any conceivable combination of cycling arguments to the Theme() object. What I am trying to do: I have a default color scheme, lets say: default = \[:red, :black, :blue\] I want the default behavio…

---

## [Colour Bar for heatmap does not render for SVG](https://discourse.julialang.org/t/colour-bar-for-heatmap-does-not-render-for-svg/114039)

<div class="topic-metadata">

**Author:** [@xztt](https://discourse.julialang.org/u/xztt)\
**Replies:** 3\
**Last updated:** [May 9, 2024, 10:04am UTC](https://discourse.julialang.org/t/colour-bar-for-heatmap-does-not-render-for-svg/114039 "2024-05-09T10:04:23Z")

</div>

When rendering a heatmap with a colour bar as a PNG this displays perfectly However when I render as an svg the colour bar goes black. Image and MWE below using CairoMakie a = rand(10,10) f = Figure(); ax = Axis(f…

---

## [Makie - Removing background grid from qplot](https://discourse.julialang.org/t/makie-removing-background-grid-from-qplot/114046)

<div class="topic-metadata">

**Author:** [@alex123](https://discourse.julialang.org/u/alex123)\
**Replies:** 1\
**Last updated:** [May 9, 2024, 9:35am UTC](https://discourse.julialang.org/t/makie-removing-background-grid-from-qplot/114046 "2024-05-09T09:35:46Z")

</div>

Hi, when using the command qplot(green, children =(; selector = siteselector(cells = 1:3), sitecolor = :blue), hide = :hops) I get the following plot: I would like to only have a plain white background, without the…

---

## [Issue with misaligned x-axis in multiple histograms in CairoMakie](https://discourse.julialang.org/t/issue-with-misaligned-x-axis-in-multiple-histograms-in-cairomakie/114002)

<div class="topic-metadata">

**Author:** [@indymnv](https://discourse.julialang.org/u/indymnv)\
**Replies:** 2\
**Last updated:** [May 8, 2024, 2:53pm UTC](https://discourse.julialang.org/t/issue-with-misaligned-x-axis-in-multiple-histograms-in-cairomakie/114002 "2024-05-08T14:53:04Z")

</div>

I’m trying to create histograms to represent time, with a specific dataframe and I’ve noticed that in some cases the X-axis isn’t properly adjusted with the interval separation and its respective axis. fig2 = Figure() a…

---

## [GLMakie plotting in VSCode?](https://discourse.julialang.org/t/glmakie-plotting-in-vscode/100057)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 11\
**Last updated:** [May 8, 2024, 12:22pm UTC](https://discourse.julialang.org/t/glmakie-plotting-in-vscode/100057 "2024-05-08T12:22:33Z")

</div>

Hello, I just updated my project’s dependencies and suddenly GLMakie displays my interactive plots in VSCode’s plot pane. Both Makie and GLMakie are at the latest versions. Was there any change as to how VSCode or GLMak…

---

## [How to not overdraw gridlines in GeoAxis?](https://discourse.julialang.org/t/how-to-not-overdraw-gridlines-in-geoaxis/113789)

<div class="topic-metadata">

**Author:** [@yum-yab](https://discourse.julialang.org/u/yum-yab)\
**Replies:** 1\
**Last updated:** [May 6, 2024, 1:06am UTC](https://discourse.julialang.org/t/how-to-not-overdraw-gridlines-in-geoaxis/113789 "2024-05-06T01:06:28Z")

</div>

I want to draw a surface on GeoAxis and keep the gridlines in the axis. Unfortunately after passing a certain value (100 i think) the surface overdraws the gridlines, which looks quite bad and not very intended. Is there…

---

## [Is it possible to make a video with transparency?](https://discourse.julialang.org/t/is-it-possible-to-make-a-video-with-transparency/113860)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 4\
**Last updated:** [May 5, 2024, 2:39pm UTC](https://discourse.julialang.org/t/is-it-possible-to-make-a-video-with-transparency/113860 "2024-05-05T14:39:45Z")

</div>

Is it possible to make a video with transparency? I am remaking the DynamicalSystems.jl logo and I would be happy to make a video itself transparent so that it can obtain whatever background color the website has. The q…

---

## [Visualize FEM results in julia](https://discourse.julialang.org/t/visualize-fem-results-in-julia/113759)

<div class="topic-metadata">

**Author:** [@trasor](https://discourse.julialang.org/u/trasor)\
**Replies:** 1\
**Last updated:** [May 2, 2024, 7:50pm UTC](https://discourse.julialang.org/t/visualize-fem-results-in-julia/113759 "2024-05-02T19:50:06Z")

</div>

Hello everyone. I wrote a spectral element solver in julia, but cant visualize my results for unstructured domains. I have x,y coordinates from a classical finite element mesh with corresponding values. I would like to …

---

## [Align boxplot and scatter points in a rainclouds plot (Makie.jl)](https://discourse.julialang.org/t/align-boxplot-and-scatter-points-in-a-rainclouds-plot-makie-jl/113675)

<div class="topic-metadata">

**Author:** [@TheHedgehog2000](https://discourse.julialang.org/u/TheHedgehog2000)\
**Replies:** 6\
**Last updated:** [May 1, 2024, 3:44pm UTC](https://discourse.julialang.org/t/align-boxplot-and-scatter-points-in-a-rainclouds-plot-makie-jl/113675 "2024-05-01T15:44:57Z")

</div>

Pretty specific question: is it possible to align the boxplot and scatter components of a rainclouds plot and have them centered on the xticks with Makie.jl? Basically, I am looking to overlay a boxplot and jitter plot a…

---

## [How to set the title of a Makie window?](https://discourse.julialang.org/t/how-to-set-the-title-of-a-makie-window/113228)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 3\
**Last updated:** [April 30, 2024, 3:52pm UTC](https://discourse.julialang.org/t/how-to-set-the-title-of-a-makie-window/113228 "2024-04-30T15:52:35Z")

</div>

How can I change the title of a a GLMakie window?

---

## [Same color sequence with marker and line when using addtraces!](https://discourse.julialang.org/t/same-color-sequence-with-marker-and-line-when-using-addtraces/113641)

<div class="topic-metadata">

**Author:** [@Stephen](https://discourse.julialang.org/u/Stephen)\
**Replies:** 2\
**Last updated:** [April 30, 2024, 12:21pm UTC](https://discourse.julialang.org/t/same-color-sequence-with-marker-and-line-when-using-addtraces/113641 "2024-04-30T12:21:41Z")

</div>

\# 实验数据散点图 using PlotlyJS EA\_293K = scatter(df, x = :C\_EA, y = :q\_EA\_293K, mode="markers", name = "293K") EA\_303K = scatter(df, x = :C\_EA, y = :q\_EA\_303K, mode="markers", name = "303K") EA\_313K = scatter(df, x = :C\_EA, y …

---

## [Connect points in for loop](https://discourse.julialang.org/t/connect-points-in-for-loop/113429)

<div class="topic-metadata">

**Author:** [@Sharara](https://discourse.julialang.org/u/Sharara)\
**Replies:** 15\
**Last updated:** [April 27, 2024, 12:00pm UTC](https://discourse.julialang.org/t/connect-points-in-for-loop/113429 "2024-04-27T12:00:02Z")

</div>

Dear all I am using PlotlyJS (I need its interactivity) it is my code: k1 = equ1 k2 = equ2 k3 = equ3 k4 = equ4 push!(k1\_x, real(k1)) push!(k1\_y, imag(k1)) push!(k2\_x, real(k2)) push!(k2\_y, imag(k2)) push!(k3\_x, real(…

---

## [Plots (plotly) multiple series or line labels in legend](https://discourse.julialang.org/t/plots-plotly-multiple-series-or-line-labels-in-legend/13001)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 3\
**Last updated:** [April 26, 2024, 3:24pm UTC](https://discourse.julialang.org/t/plots-plotly-multiple-series-or-line-labels-in-legend/13001 "2024-04-26T15:24:04Z")

</div>

how does one label two lines? using Plots; pyplot() plot(Plots.fakedata(50,2), w=3, labels=\[ "a", "b" \]) the blue line is not labeled “a” and the red line is not labeled “b” . PS: Overview · Plots writes “if label is …

---

## [AoG/Makie: Axis sorted in alphabetical order](https://discourse.julialang.org/t/aog-makie-axis-sorted-in-alphabetical-order/113527)

<div class="topic-metadata">

**Author:** [@gruemelmonster](https://discourse.julialang.org/u/gruemelmonster)\
**Replies:** 2\
**Last updated:** [April 26, 2024, 12:39pm UTC](https://discourse.julialang.org/t/aog-makie-axis-sorted-in-alphabetical-order/113527 "2024-04-26T12:39:55Z")

</div>

I am trying to plot some measurement data using AoG. I am also pretty new to this, so I might be missing something obvious. When I try to plot data that has string entries as an X-Axis, the values get sorted by alphabet…

---

## [Makie Layout Text Over Column of Plots](https://discourse.julialang.org/t/makie-layout-text-over-column-of-plots/113509)

<div class="topic-metadata">

**Author:** [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Replies:** 2\
**Last updated:** [April 25, 2024, 4:37pm UTC](https://discourse.julialang.org/t/makie-layout-text-over-column-of-plots/113509 "2024-04-25T16:37:27Z")

</div>

Hello, I am trying to show the evolution of a quantity via a series of plots. I have three simulations which describe something changing with time. I want to show side by side comparisons at various times. So my idea is…

---

## [How can I achieve this Makie Layout that respects a given aspect ratio?](https://discourse.julialang.org/t/how-can-i-achieve-this-makie-layout-that-respects-a-given-aspect-ratio/113490)

<div class="topic-metadata">

**Author:** [@tscode](https://discourse.julialang.org/u/tscode)\
**Replies:** 4\
**Last updated:** [April 25, 2024, 2:48pm UTC](https://discourse.julialang.org/t/how-can-i-achieve-this-makie-layout-that-respects-a-given-aspect-ratio/113490 "2024-04-25T14:48:55Z")

</div>

I want to make the following layout behave sensibly under changes of the figure size (interactive settings mainly). The constraints are: The green column has a fixed width. The red box has a given aspect ratio (1 in…

---

## [How to disable panning/dragging in Observables in GLMakie?](https://discourse.julialang.org/t/how-to-disable-panning-dragging-in-observables-in-glmakie/113466)

<div class="topic-metadata">

**Author:** [@vladdez](https://discourse.julialang.org/u/vladdez)\
**Replies:** 2\
**Last updated:** [April 25, 2024, 8:45am UTC](https://discourse.julialang.org/t/how-to-disable-panning-dragging-in-observables-in-glmakie/113466 "2024-04-25T08:45:19Z")

</div>

How to disable panning/dragging in Observables in GLMakie? I just want to click on scatterplot, not suddenly fall into constant zooming: Current code for mouse click control is simple: on(events(f).mousebutton, pr…

---

## [Second order polynomial fit in Makie.jl?](https://discourse.julialang.org/t/second-order-polynomial-fit-in-makie-jl/113413)

<div class="topic-metadata">

**Author:** [@GeodeticR](https://discourse.julialang.org/u/GeodeticR)\
**Replies:** 2\
**Last updated:** [April 25, 2024, 4:36am UTC](https://discourse.julialang.org/t/second-order-polynomial-fit-in-makie-jl/113413 "2024-04-25T04:36:44Z")

</div>

Is there a way to get the Polynomial. jl operation fit() to work in Makie.jl? I’ve tried to use the Makie.convert\_argument() and other iterations of it, but, maybe I’m using it incorrectly? Here is where I left it at …

---

## [How to get a coordinates of the square in a heatmap using Observables?](https://discourse.julialang.org/t/how-to-get-a-coordinates-of-the-square-in-a-heatmap-using-observables/112573)

<div class="topic-metadata">

**Author:** [@vladdez](https://discourse.julialang.org/u/vladdez)\
**Replies:** 4\
**Last updated:** [April 24, 2024, 4:05pm UTC](https://discourse.julialang.org/t/how-to-get-a-coordinates-of-the-square-in-a-heatmap-using-observables/112573 "2024-04-24T16:05:49Z")

</div>

I have an image (or heatmap) and I want to be able to click and find x and y indexes of clicked area using Observables. How could it be possible?

---

## [Makie fonts not always behaving as expected - Arial Bold and Symbol fonts](https://discourse.julialang.org/t/makie-fonts-not-always-behaving-as-expected-arial-bold-and-symbol-fonts/113450)

<div class="topic-metadata">

**Author:** [@p\_f](https://discourse.julialang.org/u/p_f)\
**Replies:** 2\
**Last updated:** [April 24, 2024, 2:42pm UTC](https://discourse.julialang.org/t/makie-fonts-not-always-behaving-as-expected-arial-bold-and-symbol-fonts/113450 "2024-04-24T14:42:28Z")

</div>

This is an extremely minor inconvinience, so if there is no fix it doesn’t really matter, but if there is a simple fix / I’m being dumb I’d like to know I can’t get Arial Bold to work, only Arial Rounded MT Bold julia\>…

---

## [Drawing 3d polygons in Makie](https://discourse.julialang.org/t/drawing-3d-polygons-in-makie/65466)

<div class="topic-metadata">

**Author:** [@t-bltg](https://discourse.julialang.org/u/t-bltg)\
**Replies:** 11\
**Last updated:** [April 24, 2024, 2:26pm UTC](https://discourse.julialang.org/t/drawing-3d-polygons-in-makie/65466 "2024-04-24T14:26:55Z")

</div>

I’m trying to draw 3D polygons, but the only working way I found is cumbersome: is there some simple command I missed e.g. poly(X, Y, Z, color=C) that will allow me to plot 3D polygons in Makie ? using GLMakie # cols =…

---

## [Isocaps in GLMakie](https://discourse.julialang.org/t/isocaps-in-glmakie/113395)

<div class="topic-metadata">

**Author:** [@fedoroff](https://discourse.julialang.org/u/fedoroff)\
**Replies:** 2\
**Last updated:** [April 24, 2024, 7:00am UTC](https://discourse.julialang.org/t/isocaps-in-glmakie/113395 "2024-04-24T07:00:34Z")

</div>

Are there any ways in GLMakie to add isocaps to a cut of an isosurface? Something like this:

---

## [GTK4 periodic signal to refresh data display](https://discourse.julialang.org/t/gtk4-periodic-signal-to-refresh-data-display/112997)

<div class="topic-metadata">

**Author:** [@yjr](https://discourse.julialang.org/u/yjr)\
**Replies:** 1\
**Last updated:** [April 24, 2024, 12:59am UTC](https://discourse.julialang.org/t/gtk4-periodic-signal-to-refresh-data-display/112997 "2024-04-24T00:59:50Z")

</div>

Hello, I would like to know the best way to repeatedly update some labels. Currently I use Gtk4.g\_timeout\_add(cb,ms) . cb being a callback retrieving new values and updating corresponding labels. But it tends to render …

---

## [What are the best practices to put a very simple plot on custom \`show\`s of the types in a package?](https://discourse.julialang.org/t/what-are-the-best-practices-to-put-a-very-simple-plot-on-custom-show-s-of-the-types-in-a-package/113260)

<div class="topic-metadata">

**Author:** [@kimikage](https://discourse.julialang.org/u/kimikage)\
**Replies:** 6\
**Last updated:** [April 23, 2024, 3:43pm UTC](https://discourse.julialang.org/t/what-are-the-best-practices-to-put-a-very-simple-plot-on-custom-show-s-of-the-types-in-a-package/113260 "2024-04-23T15:43:52Z")

</div>

Hi all, I would like to put a very simple plot on the output of custom show(::IO, ::MIME "image/svg+xml", ::MyType). (In my case 2-d line and scatter plots are sufficient.) It is intended not only to help the user unde…

---

## [Specify range of gradient when plotting lines](https://discourse.julialang.org/t/specify-range-of-gradient-when-plotting-lines/113385)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 4\
**Last updated:** [April 23, 2024, 12:06pm UTC](https://discourse.julialang.org/t/specify-range-of-gradient-when-plotting-lines/113385 "2024-04-23T12:06:12Z")

</div>

Hi all, I would like to apply a color gradient to lines based on their slopes. The problem I am having is that the line with the smallest slope is not visible. I tried changing the the values argument for cgrad, but I c…

---

## [Do not launch browser when plotting with WGLMakie](https://discourse.julialang.org/t/do-not-launch-browser-when-plotting-with-wglmakie/113344)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 0\
**Last updated:** [April 22, 2024, 3:24pm UTC](https://discourse.julialang.org/t/do-not-launch-browser-when-plotting-with-wglmakie/113344 "2024-04-22T15:24:37Z")

</div>

Following the docs I cannot seem to find a way to block the browser from launching when I plot something in the server using WGLMakie. Since I always log in using x-forwarding with ssh this terribly slows done my machine…

---

## [How to test custom \`show\_data\` for \`DataInspector\` in \`Makie\`](https://discourse.julialang.org/t/how-to-test-custom-show-data-for-datainspector-in-makie/113281)

<div class="topic-metadata">

**Author:** [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Replies:** 0\
**Last updated:** [April 20, 2024, 9:34pm UTC](https://discourse.julialang.org/t/how-to-test-custom-show-data-for-datainspector-in-makie/113281 "2024-04-20T21:34:26Z")

</div>

Hello all ! This page provides information on how to write your own sho\_data for DataInspector in Makie. However, there is no information on how to test such interactive features properly. Given that one should hover o…

---

## [Tick direction in Makie](https://discourse.julialang.org/t/tick-direction-in-makie/74856)

<div class="topic-metadata">

**Author:** [@garrek](https://discourse.julialang.org/u/garrek)\
**Replies:** 7\
**Last updated:** [April 19, 2024, 10:00pm UTC](https://discourse.julialang.org/t/tick-direction-in-makie/74856 "2024-04-19T22:00:03Z")

</div>

Is there a way to change the tick direction? The default is that ticks are outside the axes. I would like them to be inside, but I cannot seem to find anything about this in the documentation.

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

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