# Visualization

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

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

**Page:** 43

---

## [Surface/mesh/wireframe with only the coordinates](https://discourse.julialang.org/t/surface-mesh-wireframe-with-only-the-coordinates/88501)

<div class="topic-metadata">

**Author:** [@Mervyn\_Larrier](https://discourse.julialang.org/u/Mervyn_Larrier)\
**Replies:** 19\
**Last updated:** [October 15, 2022, 9:40am UTC](https://discourse.julialang.org/t/surface-mesh-wireframe-with-only-the-coordinates/88501 "2022-10-15T09:40:36Z")

</div>

I have a ton of x,y,z coordinates, and I need to represent them graphically. This could be as either a mesh, contour plot, wireframe, or surface. Julia doesn’t really argue with me; everything compiles. But I get a blan…

---

## [State of PlotlyJS and support packages](https://discourse.julialang.org/t/state-of-plotlyjs-and-support-packages/86119)

<div class="topic-metadata">

**Author:** [@mzaffalon](https://discourse.julialang.org/u/mzaffalon)\
**Replies:** 10\
**Last updated:** [October 15, 2022, 3:51am UTC](https://discourse.julialang.org/t/state-of-plotlyjs-and-support-packages/86119 "2022-10-15T03:51:12Z")

</div>

PlotlyJS seems to be unmaintained by its current (and only) maintainer @sglyon. It also relies on Blink.jl, a wrapper for Electron, where the last commit was more than one year ago and uses a version of Electron more tha…

---

## [How to increase the padding between xticks and xtick labels?](https://discourse.julialang.org/t/how-to-increase-the-padding-between-xticks-and-xtick-labels/88675)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 3\
**Last updated:** [October 13, 2022, 8:38pm UTC](https://discourse.julialang.org/t/how-to-increase-the-padding-between-xticks-and-xtick-labels/88675 "2022-10-13T20:38:26Z")

</div>

I have a problem, that xticks and xtick labels almost overlap if the ticks face outwards. (It is probably because my xtick labels are like \\frac{\\pi k}{N}). How do I increase the padding between the xticks and xtick l…

---

## [Grouped bar plots, with different number of bars in each group](https://discourse.julialang.org/t/grouped-bar-plots-with-different-number-of-bars-in-each-group/88517)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 8\
**Last updated:** [October 13, 2022, 12:44pm UTC](https://discourse.julialang.org/t/grouped-bar-plots-with-different-number-of-bars-in-each-group/88517 "2022-10-13T12:44:22Z")

</div>

I have a few data sets: d1 = \[1,3,4,3,2\] d2 = \[2\] d3 = \[3\] d4 = \[5,3\] I want to create a bar plot, with one group for each data set, containing 4/1/1/2 bars respectively. Is this possible? I found groupedbar, but that …

---

## [Mono spaced font in Glade GtkEntry widget](https://discourse.julialang.org/t/mono-spaced-font-in-glade-gtkentry-widget/88626)

<div class="topic-metadata">

**Author:** [@ArchieCall](https://discourse.julialang.org/u/ArchieCall)\
**Replies:** 0\
**Last updated:** [October 12, 2022, 3:04pm UTC](https://discourse.julialang.org/t/mono-spaced-font-in-glade-gtkentry-widget/88626 "2022-10-12T15:04:05Z")

</div>

I am using Glade to make the form for a GtkEntry widget. I have it properly working in Julia to accept user input from GtkEntry widgets. My question is what setting will make the entered text appear in a mono spaced fon…

---

## [GLMakie Menu list does not scroll quickly](https://discourse.julialang.org/t/glmakie-menu-list-does-not-scroll-quickly/88601)

<div class="topic-metadata">

**Author:** [@BeefMcSlab](https://discourse.julialang.org/u/BeefMcSlab)\
**Replies:** 1\
**Last updated:** [October 12, 2022, 4:49am UTC](https://discourse.julialang.org/t/glmakie-menu-list-does-not-scroll-quickly/88601 "2022-10-12T04:49:42Z")

</div>

When I have more options in a GLMakie Menu than can be presented in the figure, I am able to scroll up and down, but it takes 3 or 4 flicks of the scroll wheel just to get one more option to show up… Not ideal when there…

---

## [\[Makie\] Observables, Animations, & an annoying plot workflow](https://discourse.julialang.org/t/makie-observables-animations-an-annoying-plot-workflow/88574)

<div class="topic-metadata">

**Author:** [@AstroBarker](https://discourse.julialang.org/u/AstroBarker)\
**Replies:** 6\
**Last updated:** [October 11, 2022, 4:45pm UTC](https://discourse.julialang.org/t/makie-observables-animations-an-annoying-plot-workflow/88574 "2022-10-11T16:45:42Z")

</div>

Hey folks, I’m slowly getting used to Makie and the animations workflow. I am currently trying to make an animation of a 2D surface plot (quite similar to the use case here. I learned that my workflow was slow because I…

---

## [OpenStreetMapX, folium](https://discourse.julialang.org/t/openstreetmapx-folium/88563)

<div class="topic-metadata">

**Author:** [@ctrebbau](https://discourse.julialang.org/u/ctrebbau)\
**Replies:** 2\
**Last updated:** [October 11, 2022, 11:24am UTC](https://discourse.julialang.org/t/openstreetmapx-folium/88563 "2022-10-11T11:24:06Z")

</div>

I’m not sure this is the right place to post this but I’m trying to accomplish something like this: OpenStreetMapX\_tutorial but with real coordinates. Anyways, my problems is that the end result of the loop map = flm.M…

---

## [Documentation for bar plots in Plots.jl?](https://discourse.julialang.org/t/documentation-for-bar-plots-in-plots-jl/88514)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 2\
**Last updated:** [October 10, 2022, 9:48am UTC](https://discourse.julialang.org/t/documentation-for-bar-plots-in-plots-jl/88514 "2022-10-10T09:48:41Z")

</div>

I am trying to figure out how to do a bar plot, but cannot find any more documentation than Bar · Plots which mostly tells me that it exists. I tried Bar plots · GMT but get different results, but maybe GMT and Plots ar…

---

## [\[Makie\] Colorbar positioning woes](https://discourse.julialang.org/t/makie-colorbar-positioning-woes/88465)

<div class="topic-metadata">

**Author:** [@AstroBarker](https://discourse.julialang.org/u/AstroBarker)\
**Replies:** 4\
**Last updated:** [October 9, 2022, 8:06pm UTC](https://discourse.julialang.org/t/makie-colorbar-positioning-woes/88465 "2022-10-09T20:06:13Z")

</div>

Hey folks, I am having trouble setting up a colorbar. The plot is set with aspect = DataAspect() and is quite rectangular. The colorbar then appears very far from the actual plot (see below). How can I remedy this so th…

---

## [\[Makie\] Combining Colorbars](https://discourse.julialang.org/t/makie-combining-colorbars/88460)

<div class="topic-metadata">

**Author:** [@AstroBarker](https://discourse.julialang.org/u/AstroBarker)\
**Replies:** 1\
**Last updated:** [October 8, 2022, 6:47pm UTC](https://discourse.julialang.org/t/makie-combining-colorbars/88460 "2022-10-08T18:47:43Z")

</div>

I am using Makie to make a surface plot. However, I am constrained by the data layout to only plot one quarter at a time (resulting in four surface calls). What I need is a colorbar that represents the global figure, whe…

---

## [Trouble plotting multiple spheres in GLMakie](https://discourse.julialang.org/t/trouble-plotting-multiple-spheres-in-glmakie/88387)

<div class="topic-metadata">

**Author:** [@Mervyn\_Larrier](https://discourse.julialang.org/u/Mervyn_Larrier)\
**Replies:** 2\
**Last updated:** [October 7, 2022, 11:27pm UTC](https://discourse.julialang.org/t/trouble-plotting-multiple-spheres-in-glmakie/88387 "2022-10-07T23:27:09Z")

</div>

I would like to plot a sphere inside another sphere. I’m using a wireframe to easily see the intersection in the spheres (if any exist), but I’m open to mesh solutions as well. The code compiles, but it won’t visualize; …

---

## [Default length unit with PGFPlotsX and Plots](https://discourse.julialang.org/t/default-length-unit-with-pgfplotsx-and-plots/88367)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 3\
**Last updated:** [October 7, 2022, 12:40pm UTC](https://discourse.julialang.org/t/default-length-unit-with-pgfplotsx-and-plots/88367 "2022-10-07T12:40:56Z")

</div>

I am using PGFPlotsX as a backend for Plots. I have specified the plot width as 800. After I saved the plot to pdf and inspected the properties, the width seems to be 194mm, which is around 550 pt. What are the default …

---

## [Animation images and dataframe content](https://discourse.julialang.org/t/animation-images-and-dataframe-content/88336)

<div class="topic-metadata">

**Author:** [@pascal](https://discourse.julialang.org/u/pascal)\
**Replies:** 3\
**Last updated:** [October 7, 2022, 8:03am UTC](https://discourse.julialang.org/t/animation-images-and-dataframe-content/88336 "2022-10-07T08:03:35Z")

</div>

I have multiple images stacked into an array: using CairoMakie using Images using DataFrames using DataFramesMeta # Load cow img\_orig = load(Makie.assetpath("cow.png")) img\_filt1 = imfilter(img\_orig, Kernel.gaussian(3)…

---

## [Dash.jl: download graph as svg, 'toImageButtonOptions' not working!](https://discourse.julialang.org/t/dash-jl-download-graph-as-svg-toimagebuttonoptions-not-working/88212)

<div class="topic-metadata">

**Author:** [@Bondan000](https://discourse.julialang.org/u/Bondan000)\
**Replies:** 1\
**Last updated:** [October 7, 2022, 6:31am UTC](https://discourse.julialang.org/t/dash-jl-download-graph-as-svg-toimagebuttonoptions-not-working/88212 "2022-10-07T06:31:41Z")

</div>

Hi, I created a small webapp which reads a csv and generate a plot using Plotly.jl and Dash.jl! I have a custom ‘myPlot’ function which generates the plot! I added the config settings in the ‘myPlot’ function: function …

---

## [Control width of legend box with Plots](https://discourse.julialang.org/t/control-width-of-legend-box-with-plots/88372)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 0\
**Last updated:** [October 6, 2022, 10:21pm UTC](https://discourse.julialang.org/t/control-width-of-legend-box-with-plots/88372 "2022-10-06T22:21:56Z")

</div>

Is there a way to control the scaling of the width of the legend box with Plots? In essence, I would like to make the lines longer, and it seems that controlling the width of the legend box itself is a way to do that, a…

---

## [Access lualatex log with PGFPlotsX](https://discourse.julialang.org/t/access-lualatex-log-with-pgfplotsx/88355)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 4\
**Last updated:** [October 6, 2022, 6:35pm UTC](https://discourse.julialang.org/t/access-lualatex-log-with-pgfplotsx/88355 "2022-10-06T18:35:17Z")

</div>

I am trying to use PGFPlotsX together with Plots, and I get the following error: The latex command \`lualatex jl\_ODVl4Y.tex\` failed How do I access the lualatex log itself to understand what is going on?

---

## [Transparancy in colormap / removing contour level](https://discourse.julialang.org/t/transparancy-in-colormap-removing-contour-level/88283)

<div class="topic-metadata">

**Author:** [@Janssena](https://discourse.julialang.org/u/Janssena)\
**Replies:** 0\
**Last updated:** [October 5, 2022, 10:53am UTC](https://discourse.julialang.org/t/transparancy-in-colormap-removing-contour-level/88283 "2022-10-05T10:53:54Z")

</div>

Hey All, I am trying to create a contourf() plot where the lowest contour level is not being colored. I want to overlap multiple contour plots so I do not want the lowest level of contour 2 to overlap contour 1. I am u…

---

## [Makie - more idiomatic way to link x-axes of columns and y-axes of rows](https://discourse.julialang.org/t/makie-more-idiomatic-way-to-link-x-axes-of-columns-and-y-axes-of-rows/88224)

<div class="topic-metadata">

**Author:** [@cripcate](https://discourse.julialang.org/u/cripcate)\
**Replies:** 0\
**Last updated:** [October 4, 2022, 11:26am UTC](https://discourse.julialang.org/t/makie-more-idiomatic-way-to-link-x-axes-of-columns-and-y-axes-of-rows/88224 "2022-10-04T11:26:37Z")

</div>

Hello everyone. I am trying to create a grid of axes, plot some data into each of them, and then link all the y-axes of each row of plots and all x-axes of each column of plots. The reason for this is that I want to plo…

---

## [Coupling Sliders in GLMakie](https://discourse.julialang.org/t/coupling-sliders-in-glmakie/88130)

<div class="topic-metadata">

**Author:** [@lassepe](https://discourse.julialang.org/u/lassepe)\
**Replies:** 4\
**Last updated:** [October 3, 2022, 9:31am UTC](https://discourse.julialang.org/t/coupling-sliders-in-glmakie/88130 "2022-10-03T09:31:34Z")

</div>

I would like to be able to “couple” two sliders of a Makie.SliderGrid so that their value always adds to 1. That is, if I move the first slider I would like to Makie.set\_close\_to!(slider2, 1-slider1.value) and vice versa…

---

## [Improve a plot done with AoG and Makie](https://discourse.julialang.org/t/improve-a-plot-done-with-aog-and-makie/88133)

<div class="topic-metadata">

**Author:** [@martinmestre](https://discourse.julialang.org/u/martinmestre)\
**Replies:** 0\
**Last updated:** [October 2, 2022, 8:25pm UTC](https://discourse.julialang.org/t/improve-a-plot-done-with-aog-and-makie/88133 "2022-10-02T20:25:24Z")

</div>

Hello, I have used the following function to make the plot below: """Plot splus stars in the streams footprints""" function plot\_splus\_streams(df::DataFrame, file::String) df.anotta = df.track unicos = unique(d…

---

## [Question about the width argument for Gadfly violin plots](https://discourse.julialang.org/t/question-about-the-width-argument-for-gadfly-violin-plots/87339)

<div class="topic-metadata">

**Author:** [@neuro\_enthusiast](https://discourse.julialang.org/u/neuro_enthusiast)\
**Replies:** 5\
**Last updated:** [October 2, 2022, 3:07pm UTC](https://discourse.julialang.org/t/question-about-the-width-argument-for-gadfly-violin-plots/87339 "2022-10-02T15:07:04Z")

</div>

Hi all, I am trying to adjust the scaling of violin plots from Gadfly. I am trying to play around with the “width” argument but I always get the following message Warning: The following aesthetics are mapped, but not u…

---

## [Waterfall Plot Makie.jl](https://discourse.julialang.org/t/waterfall-plot-makie-jl/79988)

<div class="topic-metadata">

**Author:** [@Rahul](https://discourse.julialang.org/u/Rahul)\
**Replies:** 1\
**Last updated:** [October 2, 2022, 11:37am UTC](https://discourse.julialang.org/t/waterfall-plot-makie-jl/79988 "2022-10-02T11:37:33Z")

</div>

Is it possible to make waterfall plots in Makie.jl, similar to this plotly graph. I am not looking for an interactive graph to start with. Thank you!

---

## [Convert Observable Vector of Ranges into Vector of Observable Ranges](https://discourse.julialang.org/t/convert-observable-vector-of-ranges-into-vector-of-observable-ranges/88006)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 0\
**Last updated:** [September 29, 2022, 7:09pm UTC](https://discourse.julialang.org/t/convert-observable-vector-of-ranges-into-vector-of-observable-ranges/88006 "2022-09-29T19:09:15Z")

</div>

I have an observable vector of ranges and I want a vector of observable ranges so I can call lines on them. How can I do that? using WGLMakie, LinearAlgebra, Chain, Compat c = Observable(\[5,6,7\]) vertices = map(collect…

---

## [Make text annotations using the algebra of graphics](https://discourse.julialang.org/t/make-text-annotations-using-the-algebra-of-graphics/87930)

<div class="topic-metadata">

**Author:** [@martinmestre](https://discourse.julialang.org/u/martinmestre)\
**Replies:** 3\
**Last updated:** [September 29, 2022, 2:55pm UTC](https://discourse.julialang.org/t/make-text-annotations-using-the-algebra-of-graphics/87930 "2022-09-29T14:55:23Z")

</div>

Hello, is there a way to implement text annotations using mapping() ? If possible I would like to know how to annotate text at the bottom or tip of little thin arrows. If not possible withing AoG, I would like to know…

---

## [Dodged barplot got thin out in Makie](https://discourse.julialang.org/t/dodged-barplot-got-thin-out-in-makie/87923)

<div class="topic-metadata">

**Author:** [@nvhoang.3110](https://discourse.julialang.org/u/nvhoang.3110)\
**Replies:** 6\
**Last updated:** [September 29, 2022, 8:23am UTC](https://discourse.julialang.org/t/dodged-barplot-got-thin-out-in-makie/87923 "2022-09-29T08:23:36Z")

</div>

Hello everyone. Sorry if my question is too basic for some but I don’t understand why my barplot got thin out after I try to add another set of dodged bars. Below is an example. Suppose that I have some data like this: d…

---

## [Makie Mesh wrong labels after axis scaling](https://discourse.julialang.org/t/makie-mesh-wrong-labels-after-axis-scaling/87914)

<div class="topic-metadata">

**Author:** [@verflieger](https://discourse.julialang.org/u/verflieger)\
**Replies:** 1\
**Last updated:** [September 29, 2022, 7:02am UTC](https://discourse.julialang.org/t/makie-mesh-wrong-labels-after-axis-scaling/87914 "2022-09-29T07:02:37Z")

</div>

Hello, I am a little bit lost with plotting a 3D mesh with the Makie mesh function. Because in my given coordinate system, the y axis is flipped compared to the standard of mesh, I rescaled it. However, the axis labels …

---

## [Align ticks in subplots](https://discourse.julialang.org/t/align-ticks-in-subplots/87919)

<div class="topic-metadata">

**Author:** [@pascal](https://discourse.julialang.org/u/pascal)\
**Replies:** 14\
**Last updated:** [September 28, 2022, 6:45pm UTC](https://discourse.julialang.org/t/align-ticks-in-subplots/87919 "2022-09-28T18:45:57Z")

</div>

I have the following code: using CairoMakie d1 = rand(1:10, 50) d2 = rand(1:4, 20) d3 = rand(1:10, 10) fig=Figure() ax\_1=Axis(fig\[1, 1:2\]) ax\_2=Axis(fig\[2, 1\]) ax\_3=Axis(fig\[2, 2\]) scatter!(ax\_1, 1:50, d1) scatter!(…

---

## [Axis() in combination with images()](https://discourse.julialang.org/t/axis-in-combination-with-images/87937)

<div class="topic-metadata">

**Author:** [@pascal](https://discourse.julialang.org/u/pascal)\
**Replies:** 2\
**Last updated:** [September 28, 2022, 3:05pm UTC](https://discourse.julialang.org/t/axis-in-combination-with-images/87937 "2022-09-28T15:05:06Z")

</div>

The following code from the docs works nicely: using CairoMakie using FileIO img = load(assetpath("cow.png")) f = Figure() image(f\[1, 1\], img) However, when I want to define an Axis and put that into image() it fails: …

---

## [Makie - improving performance with animations?](https://discourse.julialang.org/t/makie-improving-performance-with-animations/87478)

<div class="topic-metadata">

**Author:** [@rkube](https://discourse.julialang.org/u/rkube)\
**Replies:** 4\
**Last updated:** [September 27, 2022, 7:21pm UTC](https://discourse.julialang.org/t/makie-improving-performance-with-animations/87478 "2022-09-27T19:21:19Z")

</div>

Hi, I’m looking into animating results from a kinetic simulation using makie and got some basic animations going. Now I’m trying to improve about performance. This script kinetic\_anim.jl · GitHub animates the trajecto…

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

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