# Visualization

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

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

**Page:** 29

---

## [\`Plots\` or otherwise?](https://discourse.julialang.org/t/plots-or-otherwise/104162)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 29\
**Last updated:** [October 2, 2023, 6:41am UTC](https://discourse.julialang.org/t/plots-or-otherwise/104162 "2023-10-02T06:41:17Z")

</div>

After 1.5 years of Julia experience, I now write almost everything in Julia. I used to use Bourne shell, Ruby, Fortran, and a bit of Haskell, but I don’t need these any longer. Except I don’t know which plotting package …

---

## [Matlab bwpropfilt alternative in Images.jl](https://discourse.julialang.org/t/matlab-bwpropfilt-alternative-in-images-jl/104487)

<div class="topic-metadata">

**Author:** [@Rakesh](https://discourse.julialang.org/u/Rakesh)\
**Replies:** 2\
**Last updated:** [October 2, 2023, 4:27am UTC](https://discourse.julialang.org/t/matlab-bwpropfilt-alternative-in-images-jl/104487 "2023-10-02T04:27:00Z")

</div>

Is there any alternative to Matlab bwpropfilt in Images.jl ecosystem. Thanks.

---

## [GLMakie Menu Filter](https://discourse.julialang.org/t/glmakie-menu-filter/104331)

<div class="topic-metadata">

**Author:** [@matthew3245](https://discourse.julialang.org/u/matthew3245)\
**Replies:** 2\
**Last updated:** [September 28, 2023, 10:02am UTC](https://discourse.julialang.org/t/glmakie-menu-filter/104331 "2023-09-28T10:02:54Z")

</div>

Hi, I’m just wondering if anyone has an idea on how to filter the menu items in GLMakie. I have a GUI with \>50 menu items and its really difficult scrolling to the specific item I need. Naturally when I click the menu, I…

---

## [Vegalite bar chart strange behaviour](https://discourse.julialang.org/t/vegalite-bar-chart-strange-behaviour/104261)

<div class="topic-metadata">

**Author:** [@Axze-rgb](https://discourse.julialang.org/u/Axze-rgb)\
**Replies:** 6\
**Last updated:** [September 26, 2023, 8:07pm UTC](https://discourse.julialang.org/t/vegalite-bar-chart-strange-behaviour/104261 "2023-09-26T20:07:02Z")

</div>

Hello, I have a dataframe of a single column, it contains 619245 data points. I want to make a bar char to check the distribution. Here is my code df\_BQBZ|\> @vlplot(:bar, height=250, width=500, x={:BQBZ, steps=0.3}, y…

---

## [When using seriestype=:scatter, create individual labels for each dot?](https://discourse.julialang.org/t/when-using-seriestype-scatter-create-individual-labels-for-each-dot/104233)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 5\
**Last updated:** [September 26, 2023, 3:50pm UTC](https://discourse.julialang.org/t/when-using-seriestype-scatter-create-individual-labels-for-each-dot/104233 "2023-09-26T15:50:29Z")

</div>

I am using Plot recipes to create a plot overload for a special type of input. The result is a scatter plot with something like: @recipe function f(ms::MyStruct) seriestype --\> :scatter ms.x\_vals, ms.y\_vals end…

---

## [Makie's hidden gems](https://discourse.julialang.org/t/makies-hidden-gems/104251)

<div class="topic-metadata">

**Author:** [@vvbond](https://discourse.julialang.org/u/vvbond)\
**Replies:** 0\
**Last updated:** [September 26, 2023, 9:59am UTC](https://discourse.julialang.org/t/makies-hidden-gems/104251 "2023-09-26T09:59:31Z")

</div>

I just came across this pattern of overloading Makielayout.get\_ticks() for a custom axis . Such an elegant example of use of Julia’s multiple dispatch for visualization of a bespoke axis type! The automatic support of th…

---

## [How to force not to add colors with transparent 3D objects](https://discourse.julialang.org/t/how-to-force-not-to-add-colors-with-transparent-3d-objects/104216)

<div class="topic-metadata">

**Author:** [@peremato](https://discourse.julialang.org/u/peremato)\
**Replies:** 2\
**Last updated:** [September 25, 2023, 12:19pm UTC](https://discourse.julialang.org/t/how-to-force-not-to-add-colors-with-transparent-3d-objects/104216 "2023-09-25T12:19:44Z")

</div>

In GLMakie I would like that the color I use for lines is not added to the transparent 3D mesh object. For example using GLMakie using GeometryBasics fig = Figure(resolution=(1280, 720)) scene = LScene(fig\[1,1\]) box = …

---

## [I wanted to generate a contour plot for 2D heat conduction by neural PDE but this code generates blank plot without any contour](https://discourse.julialang.org/t/i-wanted-to-generate-a-contour-plot-for-2d-heat-conduction-by-neural-pde-but-this-code-generates-blank-plot-without-any-contour/103960)

<div class="topic-metadata">

**Author:** [@ShadmanSakief](https://discourse.julialang.org/u/ShadmanSakief)\
**Replies:** 3\
**Last updated:** [September 25, 2023, 12:03pm UTC](https://discourse.julialang.org/t/i-wanted-to-generate-a-contour-plot-for-2d-heat-conduction-by-neural-pde-but-this-code-generates-blank-plot-without-any-contour/103960 "2023-09-25T12:03:54Z")

</div>

using NeuralPDE, Lux, Optimization, OptimizationOptimJL import ModelingToolkit: Interval @parameters x y @variables u(..) Dxx = Differential(x)^2 Dyy = Differential(y)^2 Dx = Differential(x) Dy = Differential(y) 2…

---

## [Suppressing automatic display(::Makie.Scene) in the REPL](https://discourse.julialang.org/t/suppressing-automatic-display-makie-scene-in-the-repl/103543)

<div class="topic-metadata">

**Author:** [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Replies:** 3\
**Last updated:** [September 24, 2023, 3:29pm UTC](https://discourse.julialang.org/t/suppressing-automatic-display-makie-scene-in-the-repl/103543 "2023-09-24T15:29:26Z")

</div>

A common occurrence when I’m working on Makie stuff at the REPL: julia\> foo = some\_function\_that\_returns\_a\_scene() Error showing value of type Makie.Scene: ERROR: AssertionError: internal error. Scene already displayed …

---

## [Makie: one (nice?) way to control the units of axes](https://discourse.julialang.org/t/makie-one-nice-way-to-control-the-units-of-axes/103999)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 9\
**Last updated:** [September 23, 2023, 5:51am UTC](https://discourse.julialang.org/t/makie-one-nice-way-to-control-the-units-of-axes/103999 "2023-09-23T05:51:09Z")

</div>

Suppose we have (x,y) data following y = f(x), x is measured in centimeters, and y is measured in micrometers. When plotting the (x,y) data, we would want to show the x-axis in centimeters and the y-axis in micrometers,…

---

## [Comparison of plotting packages](https://discourse.julialang.org/t/comparison-of-plotting-packages/99860)

<div class="topic-metadata">

**Author:** [@hros](https://discourse.julialang.org/u/hros)\
**Replies:** 75\
**Last updated:** [September 22, 2023, 8:13am UTC](https://discourse.julialang.org/t/comparison-of-plotting-packages/99860 "2023-09-22T08:13:00Z")

</div>

I want to write a small 2d physical simulation to sharpen my Julia skills and learn how to use Julia to display more than “regular plots” I saw a post suggesting using either Makie, Plots or Javis I don’t want to start…

---

## [How to exchange x and y axis in band plot](https://discourse.julialang.org/t/how-to-exchange-x-and-y-axis-in-band-plot/104090)

<div class="topic-metadata">

**Author:** [@subsnutr](https://discourse.julialang.org/u/subsnutr)\
**Replies:** 3\
**Last updated:** [September 21, 2023, 7:24am UTC](https://discourse.julialang.org/t/how-to-exchange-x-and-y-axis-in-band-plot/104090 "2023-09-21T07:24:18Z")

</div>

Dear all Is there a way to exchange x and y axis in band plot in Makie.jl? For example, I want to have band(y,xlower,xupper) Thanks!

---

## [Colorbar with function range for a 3D contour plot using GLMakie](https://discourse.julialang.org/t/colorbar-with-function-range-for-a-3d-contour-plot-using-glmakie/103388)

<div class="topic-metadata">

**Author:** [@Olegg](https://discourse.julialang.org/u/Olegg)\
**Replies:** 5\
**Last updated:** [September 19, 2023, 12:25pm UTC](https://discourse.julialang.org/t/colorbar-with-function-range-for-a-3d-contour-plot-using-glmakie/103388 "2023-09-19T12:25:04Z")

</div>

I’m trying to add a colorbar to a 3D contour plot in GLMakie with the actual range of the function values. However, the colorbar I get only shows a range from 0 to 1, while the actual range is \[-0.7, 0.7\]. Here is the c…

---

## [Updating a volume plot](https://discourse.julialang.org/t/updating-a-volume-plot/103987)

<div class="topic-metadata">

**Author:** [@Knud\_Sorensen](https://discourse.julialang.org/u/Knud_Sorensen)\
**Replies:** 2\
**Last updated:** [September 19, 2023, 12:07pm UTC](https://discourse.julialang.org/t/updating-a-volume-plot/103987 "2023-09-19T12:07:46Z")

</div>

Hi. I am plotting a volume plot. Like volume(vol; algorithm=:absorption) But I want to update the plot with new data (nvol)! But when I run volume!(nvol; algorithm=:absorption) it adds the new data to the old data in…

---

## [Gadfly is the best plotting library I've ever used](https://discourse.julialang.org/t/gadfly-is-the-best-plotting-library-ive-ever-used/57887)

<div class="topic-metadata">

**Author:** [@tbenst](https://discourse.julialang.org/u/tbenst)\
**Replies:** 15\
**Last updated:** [September 18, 2023, 1:56pm UTC](https://discourse.julialang.org/t/gadfly-is-the-best-plotting-library-ive-ever-used/57887 "2023-09-18T13:56:32Z")

</div>

I’ve used ggplot2, matplotlib, bokeh, seaborn, holoviews, VegaLite, plotly, Plots.jl, among many others, and Gadfly is the most productive & principled plotting library I’ve used yet. If you haven’t already given it a go…

---

## [Makie don't use full color range in volume plots. (What am I doing wrong ?)](https://discourse.julialang.org/t/makie-dont-use-full-color-range-in-volume-plots-what-am-i-doing-wrong/103785)

<div class="topic-metadata">

**Author:** [@Knud\_Sorensen](https://discourse.julialang.org/u/Knud_Sorensen)\
**Replies:** 7\
**Last updated:** [September 18, 2023, 12:50pm UTC](https://discourse.julialang.org/t/makie-dont-use-full-color-range-in-volume-plots-what-am-i-doing-wrong/103785 "2023-09-18T12:50:23Z")

</div>

Hi. I plot at 3D array using: f=volume(vol; colormap=:redsblues, colorrange=(-2.0,2.0), lowclip=:red, highclip=:blue) But the plot doesn’t contain red. What is worng ?

---

## [Setting X Axis Using Plots](https://discourse.julialang.org/t/setting-x-axis-using-plots/103957)

<div class="topic-metadata">

**Author:** [@eweiss](https://discourse.julialang.org/u/eweiss)\
**Replies:** 1\
**Last updated:** [September 18, 2023, 8:13am UTC](https://discourse.julialang.org/t/setting-x-axis-using-plots/103957 "2023-09-18T08:13:27Z")

</div>

I’m trying to plot stock prices which are daily but not on weekends. When I run this code using Dates, DataFrames, Plots df = DataFrame(Date=today()+Month(-1):Day(1):today(), rtn = rand(Float64, 32)) ticks = round.(df.D…

---

## [Makie: Removing gridlayouts](https://discourse.julialang.org/t/makie-removing-gridlayouts/103935)

<div class="topic-metadata">

**Author:** [@f.ij](https://discourse.julialang.org/u/f.ij)\
**Replies:** 7\
**Last updated:** [September 17, 2023, 3:52pm UTC](https://discourse.julialang.org/t/makie-removing-gridlayouts/103935 "2023-09-17T15:52:37Z")

</div>

I’m wondering if I can remove a GridLayout from a figure. Elements can be easily removed with delete! but this does not work on an entire GridLayout. If I want the layout of a figure programatically by deleting items tha…

---

## [How to plot a 3D contour surface with Makie](https://discourse.julialang.org/t/how-to-plot-a-3d-contour-surface-with-makie/103822)

<div class="topic-metadata">

**Author:** [@yhchang96](https://discourse.julialang.org/u/yhchang96)\
**Replies:** 2\
**Last updated:** [September 13, 2023, 8:31pm UTC](https://discourse.julialang.org/t/how-to-plot-a-3d-contour-surface-with-makie/103822 "2023-09-13T20:31:58Z")

</div>

Suppose I want to plot the solution to the equation -x^3+r\*x+h=0 in 3D, with r and h on the X-Y plane, and x as the z-axis to demonstrate the cusp catastrophe in bifurcation. In Mathematica, I have something like this: …

---

## [Out of memory when using Makie with large images](https://discourse.julialang.org/t/out-of-memory-when-using-makie-with-large-images/103786)

<div class="topic-metadata">

**Author:** [@klafyvel](https://discourse.julialang.org/u/klafyvel)\
**Replies:** 2\
**Last updated:** [September 12, 2023, 8:02pm UTC](https://discourse.julialang.org/t/out-of-memory-when-using-makie-with-large-images/103786 "2023-09-12T20:02:07Z")

</div>

Hi, I’m having a problem with a big memory footprint when using CairoMakie to plot big images in the REPL. The code consists of loading four images with load and then plotting them using image! (no treatment whatsoever,…

---

## [Makie: Multiple lines in a loop](https://discourse.julialang.org/t/makie-multiple-lines-in-a-loop/103738)

<div class="topic-metadata">

**Author:** [@Matthias\_Delescluse](https://discourse.julialang.org/u/Matthias_Delescluse)\
**Replies:** 2\
**Last updated:** [September 11, 2023, 9:36pm UTC](https://discourse.julialang.org/t/makie-multiple-lines-in-a-loop/103738 "2023-09-11T21:36:30Z")

</div>

Hello! I am plotting several lines in a Makie Figure this way: p1=lines!(positions1) p2=lines!(positions2) … I need to access p$i after that, and I may have to display ten of them. I’d like to have these lines! in a…

---

## [Plots.jl custom cycler for color, linestyle, markershape... etc?](https://discourse.julialang.org/t/plots-jl-custom-cycler-for-color-linestyle-markershape-etc/103743)

<div class="topic-metadata">

**Author:** [@abehersan](https://discourse.julialang.org/u/abehersan)\
**Replies:** 0\
**Last updated:** [September 11, 2023, 3:38pm UTC](https://discourse.julialang.org/t/plots-jl-custom-cycler-for-color-linestyle-markershape-etc/103743 "2023-09-11T15:38:59Z")

</div>

In matplotlib for example, I have a line in my my\_style.rc file that reads axes.prop\_cycle: (cycler('color', \["5f4b8bff","009874ff","9b2335ff","0f4c81ff","dd4124ff","efc050ff","c3447aff"\]) + cycler("ls", \["-", "--", "-.…

---

## [How to plot 3-dimensional "IntervalBox()"?](https://discourse.julialang.org/t/how-to-plot-3-dimensional-intervalbox/103698)

<div class="topic-metadata">

**Author:** [@Ashu](https://discourse.julialang.org/u/Ashu)\
**Replies:** 1\
**Last updated:** [September 9, 2023, 2:24pm UTC](https://discourse.julialang.org/t/how-to-plot-3-dimensional-intervalbox/103698 "2023-09-09T14:24:52Z")

</div>

Hello, Let’s say there is a box = IntervalBox(1..2, 2..3, 3..4). How can I plot it in Pluto.jl notebook? I am using IntervalArithmetic.jl and Plots.jl packages. The code block is not working for me. begin box = Inte…

---

## [How to add value labels on top of contours in Makie?](https://discourse.julialang.org/t/how-to-add-value-labels-on-top-of-contours-in-makie/59242)

<div class="topic-metadata">

**Author:** [@aramirezreyes](https://discourse.julialang.org/u/aramirezreyes)\
**Replies:** 10\
**Last updated:** [September 8, 2023, 11:18am UTC](https://discourse.julialang.org/t/how-to-add-value-labels-on-top-of-contours-in-makie/59242 "2023-09-08T11:18:38Z")

</div>

The documentation example shows that we can create a contour plot with: using CairoMakie f = Figure(resolution = (800, 600)) Axis(f\[1, 1\]) xs = LinRange(0, 10, 100) ys = LinRange(0, 15, 100) zs = \[cos(x) \* sin(y) for …

---

## [GLMakie + 4K displays](https://discourse.julialang.org/t/glmakie-4k-displays/103590)

<div class="topic-metadata">

**Author:** [@lgmendesDynamics](https://discourse.julialang.org/u/lgmendesDynamics)\
**Replies:** 1\
**Last updated:** [September 7, 2023, 5:57am UTC](https://discourse.julialang.org/t/glmakie-4k-displays/103590 "2023-09-07T05:57:24Z")

</div>

Is there a correspondent option in GLMakie for the px\_per\_unit in the CairoMakie? To have good quality images (sharper) in a 4K display, I need to set px\_per\_unit=4 in CairoMakie. Currently (default configuration) the…

---

## [Lines outside the box of Axis3 CairoMakie](https://discourse.julialang.org/t/lines-outside-the-box-of-axis3-cairomakie/103566)

<div class="topic-metadata">

**Author:** [@Sergey\_Novak](https://discourse.julialang.org/u/Sergey_Novak)\
**Replies:** 3\
**Last updated:** [September 6, 2023, 3:38pm UTC](https://discourse.julialang.org/t/lines-outside-the-box-of-axis3-cairomakie/103566 "2023-09-06T15:38:56Z")

</div>

Hello, i have image: I using xlims and ylims and get image: How can i fix lines which outside the box? Thank you for helps

---

## [How to put text on a Gantt chart (Vega-Lite)?](https://discourse.julialang.org/t/how-to-put-text-on-a-gantt-chart-vega-lite/103515)

<div class="topic-metadata">

**Author:** [@Josa9321](https://discourse.julialang.org/u/Josa9321)\
**Replies:** 1\
**Last updated:** [September 4, 2023, 5:36pm UTC](https://discourse.julialang.org/t/how-to-put-text-on-a-gantt-chart-vega-lite/103515 "2023-09-04T17:36:39Z")

</div>

Hi, This plot using Vega-Lite for Gantt charts is almost perfect for me, but I want the text of the task on the plot. Here is my code with the image generated. using DataFrames, VegaLite # Create a DataFrame df = Data…

---

## [Grouping plots to be able to overwrite them with new data](https://discourse.julialang.org/t/grouping-plots-to-be-able-to-overwrite-them-with-new-data/103397)

<div class="topic-metadata">

**Author:** [@peremato](https://discourse.julialang.org/u/peremato)\
**Replies:** 3\
**Last updated:** [September 4, 2023, 4:16pm UTC](https://discourse.julialang.org/t/grouping-plots-to-be-able-to-overwrite-them-with-new-data/103397 "2023-09-04T16:16:18Z")

</div>

When visualising 3D data I would like to keep some geometrical structures fixed (plotted with a series of functions mesh!), while to be able to overwrite a set of plots made with lines!, text!, etc. with new data. Is it…

---

## [PlotlyJS question: How to change color of stacked bar](https://discourse.julialang.org/t/plotlyjs-question-how-to-change-color-of-stacked-bar/103495)

<div class="topic-metadata">

**Author:** [@nnguyengiatan](https://discourse.julialang.org/u/nnguyengiatan)\
**Replies:** 2\
**Last updated:** [September 4, 2023, 8:08am UTC](https://discourse.julialang.org/t/plotlyjs-question-how-to-change-color-of-stacked-bar/103495 "2023-09-04T08:08:05Z")

</div>

Hi all, I am using PlotlyJS.jl and trying to change color of stacked bar chart. p\_turnover\_s = plot( turnover\_size\_df, x=:year, y=:mean\_turnover, color=:size, text=:mean\_t…

---

## [@Maintainer of Julia Graphics](https://discourse.julialang.org/t/maintainer-of-julia-graphics/103246)

<div class="topic-metadata">

**Author:** [@ShalokShalom](https://discourse.julialang.org/u/ShalokShalom)\
**Replies:** 16\
**Last updated:** [September 3, 2023, 10:55am UTC](https://discourse.julialang.org/t/maintainer-of-julia-graphics/103246 "2023-09-03T10:55:34Z")

</div>

Can anybody from the Julia Graphics team transition the QML binding, please: Do we know, who has admin rights, and can we ping them? Thanks

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

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