# Visualization

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

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

**Page:** 68

---

## [Plots.jl horizontal and vertical labels across subplots in grid layout](https://discourse.julialang.org/t/plots-jl-horizontal-and-vertical-labels-across-subplots-in-grid-layout/60113)

<div class="topic-metadata">

**Author:** [@goretkin](https://discourse.julialang.org/u/goretkin)\
**Replies:** 5\
**Last updated:** [April 27, 2021, 7:23pm UTC](https://discourse.julialang.org/t/plots-jl-horizontal-and-vertical-labels-across-subplots-in-grid-layout/60113 "2021-04-27T19:23:55Z")

</div>

using Plots n\_from = 2 n\_to = 3 froms = \[Plots.fakedata(100) for i = 1:n\_from\] tos = \[Plots.fakedata(100) for i = 1:n\_to\] gl = grid(n\_from + 1 , n\_to + 1) p = plot(;layout = gl, aspect\_ratio = 1.0) # setup subplots f…

---

## [Subplots with one common legend](https://discourse.julialang.org/t/subplots-with-one-common-legend/60020)

<div class="topic-metadata">

**Author:** [@dmetivie](https://discourse.julialang.org/u/dmetivie)\
**Replies:** 3\
**Last updated:** [April 27, 2021, 9:48am UTC](https://discourse.julialang.org/t/subplots-with-one-common-legend/60020 "2021-04-27T09:48:17Z")

</div>

I am trying to plot many subplots with one common legend that is not on the subplots but in between the two subplot rows where it is empty. Moreover, it should not enlarge the space between the row and make the plot unne…

---

## [Hiding decorations in a 3D scene](https://discourse.julialang.org/t/hiding-decorations-in-a-3d-scene/60067)

<div class="topic-metadata">

**Author:** [@LarryLegend33](https://discourse.julialang.org/u/LarryLegend33)\
**Replies:** 1\
**Last updated:** [April 27, 2021, 6:24am UTC](https://discourse.julialang.org/t/hiding-decorations-in-a-3d-scene/60067 "2021-04-27T06:24:38Z")

</div>

Hi, I’m using the wireframe plotting method to render some meshes and having success rotating the meshes as visual stimuli for psychophysics experiments. I’d like to hide the decorations of all axes so that the only thi…

---

## [Plots grid line at every integer or half integer](https://discourse.julialang.org/t/plots-grid-line-at-every-integer-or-half-integer/60059)

<div class="topic-metadata">

**Author:** [@goretkin](https://discourse.julialang.org/u/goretkin)\
**Replies:** 2\
**Last updated:** [April 26, 2021, 10:43pm UTC](https://discourse.julialang.org/t/plots-grid-line-at-every-integer-or-half-integer/60059 "2021-04-26T22:43:40Z")

</div>

Is there a way to specify Plots.jl to have a grid line at every integer without manually listing the integers? I want grid lines based on the plot extent, without calculating the extent beforehand (since Plots.jl will do…

---

## [Dash clientside callbacks](https://discourse.julialang.org/t/dash-clientside-callbacks/59886)

<div class="topic-metadata">

**Author:** [@Iulian.Cioarca](https://discourse.julialang.org/u/Iulian.Cioarca)\
**Replies:** 3\
**Last updated:** [April 26, 2021, 10:51am UTC](https://discourse.julialang.org/t/dash-clientside-callbacks/59886 "2021-04-26T10:51:01Z")

</div>

Is there an example of clientside callbacks for Dash? I only found this, hidden in a closed github issue: https://github.com/plotly/Dash.jl/pull/30 I tried with this code, but it doesn’t work: using Dash, DashHtmlCompo…

---

## [How to draw 2D text on top of a 3D figure with Makie](https://discourse.julialang.org/t/how-to-draw-2d-text-on-top-of-a-3d-figure-with-makie/59983)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 4\
**Last updated:** [April 25, 2021, 4:43pm UTC](https://discourse.julialang.org/t/how-to-draw-2d-text-on-top-of-a-3d-figure-with-makie/59983 "2021-04-25T16:43:43Z")

</div>

I have the following code: using GeometryBasics, GLMakie const SCALE = 1.2 const SEGMENTS = 7 # number of tether segments function create\_coordinate\_system(scene, points = 10, length = 10) # cre…

---

## [MakieGL fails after update](https://discourse.julialang.org/t/makiegl-fails-after-update/59978)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 8\
**Last updated:** [April 25, 2021, 10:20am UTC](https://discourse.julialang.org/t/makiegl-fails-after-update/59978 "2021-04-25T10:20:23Z")

</div>

I am using MakieGL on Ubuntu 18.04. It used to work fine, but after an update it doesn’t work any more. I updated: Julia to 1.6.1 MakieGL to latest stable version and Ubuntu updated the nvidea graphics drivers. The …

---

## [Filling Areas to Complete a ColorMap](https://discourse.julialang.org/t/filling-areas-to-complete-a-colormap/59851)

<div class="topic-metadata">

**Author:** [@p.sms](https://discourse.julialang.org/u/p.sms)\
**Replies:** 3\
**Last updated:** [April 24, 2021, 5:39am UTC](https://discourse.julialang.org/t/filling-areas-to-complete-a-colormap/59851 "2021-04-24T05:39:28Z")

</div>

Hello People, I am rather new to Julia so I would be very thankful if someone was able to help or guide me, I am trying to plot a 2D grid of 126 3-nodes triangular finite elements with color representing a main strain. …

---

## [Makie - 3D volume rendering - using Axis3 - questions/issues](https://discourse.julialang.org/t/makie-3d-volume-rendering-using-axis3-questions-issues/59615)

<div class="topic-metadata">

**Author:** [@Audrius-St](https://discourse.julialang.org/u/Audrius-St)\
**Replies:** 14\
**Last updated:** [April 22, 2021, 7:56pm UTC](https://discourse.julialang.org/t/makie-3d-volume-rendering-using-axis3-questions-issues/59615 "2021-04-22T19:56:52Z")

</div>

Hello, this is my first go at using Julia and GLMakie. The goal is to display a 3D MIP CT image extracted from DICOM data. Julia 1.6 DICOM v0.10.0 AbstractPlotting v0.17.3 GLMakie v0.2.6 Windows 10 x64 Visual Stu…

---

## [Handling color in Plots user recipe that produces an image, or indexed color](https://discourse.julialang.org/t/handling-color-in-plots-user-recipe-that-produces-an-image-or-indexed-color/59769)

<div class="topic-metadata">

**Author:** [@goretkin](https://discourse.julialang.org/u/goretkin)\
**Replies:** 2\
**Last updated:** [April 22, 2021, 11:46pm UTC](https://discourse.julialang.org/t/handling-color-in-plots-user-recipe-that-produces-an-image-or-indexed-color/59769 "2021-04-22T23:46:41Z")

</div>

I have a Grid type, and I have a way to plot it in terms of an image (Array{RBGA{...}, 2}), so I define the following user recipe: using Plots using Plots: RGBA using RecipesBase using OffsetArrays struct Grid x::O…

---

## [Annotation to figure with 2 Subplots](https://discourse.julialang.org/t/annotation-to-figure-with-2-subplots/59734)

<div class="topic-metadata">

**Author:** [@hardy](https://discourse.julialang.org/u/hardy)\
**Replies:** 3\
**Last updated:** [April 22, 2021, 1:18pm UTC](https://discourse.julialang.org/t/annotation-to-figure-with-2-subplots/59734 "2021-04-22T13:18:20Z")

</div>

Hello, I try to make a Plot with 2 Subplots and use the gr() backend. The first (p1) is a 3D surface plot and the 2. (p2) a 2D contour plot. The axis of both subplots are also different. I tried to put the annotation in…

---

## [Colour plot points based on another vector](https://discourse.julialang.org/t/colour-plot-points-based-on-another-vector/59776)

<div class="topic-metadata">

**Author:** [@SDA](https://discourse.julialang.org/u/SDA)\
**Replies:** 3\
**Last updated:** [April 22, 2021, 7:56am UTC](https://discourse.julialang.org/t/colour-plot-points-based-on-another-vector/59776 "2021-04-22T07:56:57Z")

</div>

Hi everyone, I am trying to amend the example given here: https://discourse.julialang.org/t/plot-a-vector-of-arrays/54956, which plots a vector of arrays. The example I am working with is a 3D plot but hopefully the 2D…

---

## [Changing line weight and font in PlotlyJS](https://discourse.julialang.org/t/changing-line-weight-and-font-in-plotlyjs/59677)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Replies:** 7\
**Last updated:** [April 22, 2021, 7:16am UTC](https://discourse.julialang.org/t/changing-line-weight-and-font-in-plotlyjs/59677 "2021-04-22T07:16:40Z")

</div>

Thanks for reading and please see below for a MWE parcoords() with the Plotly backend. This MWE generates no errors. background I just need a parallel coordinates plot. In general, I prefer the gr() or pyplot() backen…

---

## [How to put numbers on top of each bar in a bar chart?](https://discourse.julialang.org/t/how-to-put-numbers-on-top-of-each-bar-in-a-bar-chart/59743)

<div class="topic-metadata">

**Author:** [@zxjroger](https://discourse.julialang.org/u/zxjroger)\
**Replies:** 4\
**Last updated:** [April 21, 2021, 5:07pm UTC](https://discourse.julialang.org/t/how-to-put-numbers-on-top-of-each-bar-in-a-bar-chart/59743 "2021-04-21T17:07:35Z")

</div>

I tried to make a chart like this, but I couldn’t find a way to show the numbers on top of each bar.

---

## [Gtk: How do I resize a window programmatically?](https://discourse.julialang.org/t/gtk-how-do-i-resize-a-window-programmatically/59684)

<div class="topic-metadata">

**Author:** [@johntrinder](https://discourse.julialang.org/u/johntrinder)\
**Replies:** 2\
**Last updated:** [April 20, 2021, 7:50pm UTC](https://discourse.julialang.org/t/gtk-how-do-i-resize-a-window-programmatically/59684 "2021-04-20T19:50:57Z")

</div>

In Julia Gtk, how do I resize a window or widget/container programmatically?

---

## [Quiver plot (Plots.pyplot) with different colors depending on the length of the arrow](https://discourse.julialang.org/t/quiver-plot-plots-pyplot-with-different-colors-depending-on-the-length-of-the-arrow/59577)

<div class="topic-metadata">

**Author:** [@hardy](https://discourse.julialang.org/u/hardy)\
**Replies:** 11\
**Last updated:** [April 20, 2021, 7:01pm UTC](https://discourse.julialang.org/t/quiver-plot-plots-pyplot-with-different-colors-depending-on-the-length-of-the-arrow/59577 "2021-04-20T19:01:43Z")

</div>

Hello, I am new to Julia and tried to plot the gradient field of a loss function. I can get the lengths of the arrows by norm(dx, dy). But I don’t know how to convert a vector of values (lengths) into a vector of colors…

---

## [Plots GR axis break](https://discourse.julialang.org/t/plots-gr-axis-break/59322)

<div class="topic-metadata">

**Author:** [@iHany](https://discourse.julialang.org/u/iHany)\
**Replies:** 5\
**Last updated:** [April 20, 2021, 12:48am UTC](https://discourse.julialang.org/t/plots-gr-axis-break/59322 "2021-04-20T00:48:53Z")

</div>

Is it possible to plot a figure containing axis break like this using Plots.jl and GR backend? Especially in boxplot.

---

## [How to detect container resize event in GTK Julia?](https://discourse.julialang.org/t/how-to-detect-container-resize-event-in-gtk-julia/59622)

<div class="topic-metadata">

**Author:** [@johntrinder](https://discourse.julialang.org/u/johntrinder)\
**Replies:** 1\
**Last updated:** [April 19, 2021, 11:59pm UTC](https://discourse.julialang.org/t/how-to-detect-container-resize-event-in-gtk-julia/59622 "2021-04-19T23:59:27Z")

</div>

I’ve searched and scoured google for an answer but to no avail :frowning:

---

## [Julia package for dithering images?](https://discourse.julialang.org/t/julia-package-for-dithering-images/56844)

<div class="topic-metadata">

**Author:** [@Phil\_Tomson](https://discourse.julialang.org/u/Phil_Tomson)\
**Replies:** 3\
**Last updated:** [April 17, 2021, 4:58pm UTC](https://discourse.julialang.org/t/julia-package-for-dithering-images/56844 "2021-04-17T16:58:41Z")

</div>

Are there any Julia packages for dithering images? Specifically Floyd-Steinberg dithering? I noticed this one: GitHub - xianrenb/DitherImage.jl: Simple Julia Package for Image Dithering But it hasn’t been updated in 5 …

---

## [Gadfly: How to change width and opacity of lines in Geom.density?](https://discourse.julialang.org/t/gadfly-how-to-change-width-and-opacity-of-lines-in-geom-density/37823)

<div class="topic-metadata">

**Author:** [@NightMachinary](https://discourse.julialang.org/u/NightMachinary)\
**Replies:** 5\
**Last updated:** [April 16, 2021, 5:17pm UTC](https://discourse.julialang.org/t/gadfly-how-to-change-width-and-opacity-of-lines-in-geom-density/37823 "2021-04-16T17:17:08Z")

</div>

I tried Theme(alphas = \[0.3\], line\_width=10cm), but it didn’t work.

---

## [Interactive audio spectrograms - new user](https://discourse.julialang.org/t/interactive-audio-spectrograms-new-user/59280)

<div class="topic-metadata">

**Author:** [@CosmicSpittle](https://discourse.julialang.org/u/CosmicSpittle)\
**Replies:** 5\
**Last updated:** [April 15, 2021, 1:55pm UTC](https://discourse.julialang.org/t/interactive-audio-spectrograms-new-user/59280 "2021-04-15T13:55:45Z")

</div>

I am new to Julia and would like to visualize, annotate, and listen to audio clips, eventually in a Pluto notebook. Ideally, I would like to import a sound file and create a spectrogram with a play button to hear the cl…

---

## [Transparent group / layers for graphical union](https://discourse.julialang.org/t/transparent-group-layers-for-graphical-union/59321)

<div class="topic-metadata">

**Author:** [@goretkin](https://discourse.julialang.org/u/goretkin)\
**Replies:** 0\
**Last updated:** [April 15, 2021, 9:06am UTC](https://discourse.julialang.org/t/transparent-group-layers-for-graphical-union/59321 "2021-04-15T09:06:09Z")

</div>

SVG has a feature that allows grouping plot elements. This g tag can have its opacity adjusted, which is different than adjusting the opacity of the individual elements as demonstrated in this image from this answer wher…

---

## [Markers with ribbon](https://discourse.julialang.org/t/markers-with-ribbon/59207)

<div class="topic-metadata">

**Author:** [@eschoute](https://discourse.julialang.org/u/eschoute)\
**Replies:** 0\
**Last updated:** [April 13, 2021, 3:15pm UTC](https://discourse.julialang.org/t/markers-with-ribbon/59207 "2021-04-13T15:15:03Z")

</div>

I want to have a plot with only markers on the mean and not on the ribbon. Example using Plots pgfplotsx() plot( 1:10, rand(10), ribbon = 0.1 \* rand(1:10), markers = :auto ) savefig("pgfplot.png") gr()…

---

## [Scale z plot3d](https://discourse.julialang.org/t/scale-z-plot3d/58953)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 2\
**Last updated:** [April 11, 2021, 4:35pm UTC](https://discourse.julialang.org/t/scale-z-plot3d/58953 "2021-04-11T16:35:35Z")

</div>

Dear all, How can I reduze the zscale in my plot? using Plots plotly() f(x,y) = y \< x ? cos(8x) + sin(8y) : NaN x = LinRange(-2, 2, 100); y = LinRange(-2, 2, 100); surface(x, y, f,aspect\_ratio = .3) See the strange f…

---

## [Chasing a GR bug (non-square figures)](https://discourse.julialang.org/t/chasing-a-gr-bug-non-square-figures/58819)

<div class="topic-metadata">

**Author:** [@gustaphe](https://discourse.julialang.org/u/gustaphe)\
**Replies:** 2\
**Last updated:** [April 8, 2021, 11:49am UTC](https://discourse.julialang.org/t/chasing-a-gr-bug-non-square-figures/58819 "2021-04-08T11:49:42Z")

</div>

I’ve made a bug report at , but since I’m suspecting that this is system dependant I would appreciate if someone else could help me check: From the Repl, julia\> using Plots julia\> gr() julia\> plot(rand(10); size=(80…

---

## [Mark each scatter point uniquely](https://discourse.julialang.org/t/mark-each-scatter-point-uniquely/58803)

<div class="topic-metadata">

**Author:** [@quazirfan](https://discourse.julialang.org/u/quazirfan)\
**Replies:** 3\
**Last updated:** [April 8, 2021, 7:52am UTC](https://discourse.julialang.org/t/mark-each-scatter-point-uniquely/58803 "2021-04-08T07:52:09Z")

</div>

I am making a scatter plot with 10 points. I need to be able to identify each point individually since they will move and I want to track their movement. Is it possible to mark each points with numbers? Or some unique s…

---

## [Ternary diagrams and surfaces on non-rectangular grids](https://discourse.julialang.org/t/ternary-diagrams-and-surfaces-on-non-rectangular-grids/43423)

<div class="topic-metadata">

**Author:** [@SEA](https://discourse.julialang.org/u/SEA)\
**Replies:** 12\
**Last updated:** [April 6, 2021, 12:46am UTC](https://discourse.julialang.org/t/ternary-diagrams-and-surfaces-on-non-rectangular-grids/43423 "2021-04-06T00:46:05Z")

</div>

I would like to plot a surface on a triangular domain. Is there a Julia project which can plot ternary diagrams, akin to this code?

---

## [Slider or drop menus in Makie](https://discourse.julialang.org/t/slider-or-drop-menus-in-makie/58560)

<div class="topic-metadata">

**Author:** [@lazarusA](https://discourse.julialang.org/u/lazarusA)\
**Replies:** 6\
**Last updated:** [April 4, 2021, 8:03pm UTC](https://discourse.julialang.org/t/slider-or-drop-menus-in-makie/58560 "2021-04-04T20:03:03Z")

</div>

Hello, probably the following is too much to ask, but could someone please take a look at this and see if it is possible to add two drop menus for l and m, or two sliders, either will be fine. I tried to follow the docu…

---

## [Best way to deregister cam2d selection zoom? GLMakie - solved](https://discourse.julialang.org/t/best-way-to-deregister-cam2d-selection-zoom-glmakie-solved/58549)

<div class="topic-metadata">

**Author:** [@kool7d](https://discourse.julialang.org/u/kool7d)\
**Replies:** 0\
**Last updated:** [April 4, 2021, 7:06am UTC](https://discourse.julialang.org/t/best-way-to-deregister-cam2d-selection-zoom-glmakie-solved/58549 "2021-04-04T07:06:01Z")

</div>

how do I deregister the rectangle selection zoom for cam2d? xzoomlock and yzoomlock don’t work. I can stop it from zooming if I do off(fm1.scene.events.mousedrag.listeners\[1\].mouseevent, fm1.scene.events.mousedrag.l…

---

## [Makie: Unable to produce any plot. MethodError: no method matching shadertype](https://discourse.julialang.org/t/makie-unable-to-produce-any-plot-methoderror-no-method-matching-shadertype/58519)

<div class="topic-metadata">

**Author:** [@AAlshammaa](https://discourse.julialang.org/u/AAlshammaa)\
**Replies:** 2\
**Last updated:** [April 3, 2021, 9:04pm UTC](https://discourse.julialang.org/t/makie-unable-to-produce-any-plot-methoderror-no-method-matching-shadertype/58519 "2021-04-03T21:04:56Z")

</div>

I am using Julia 1.6.0. I did a clean install by deleting ~/.julia then re-installed Makie package. When I try to start a scene using Scene(), or plot straight away using something like lines(1:10, 1:10) i get this erro…

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

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