# Visualization

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

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

**Page:** 23

---

## [Dates appear as numbers on the x-axis using PlutoPlotly](https://discourse.julialang.org/t/dates-appear-as-numbers-on-the-x-axis-using-plutoplotly/110311)

<div class="topic-metadata">

**Author:** [@PeX](https://discourse.julialang.org/u/PeX)\
**Replies:** 2\
**Last updated:** [February 16, 2024, 7:45pm UTC](https://discourse.julialang.org/t/dates-appear-as-numbers-on-the-x-axis-using-plutoplotly/110311 "2024-02-16T19:45:27Z")

</div>

Hi, I’m trying to use Plotly with my Pluto notebook code for plotting timeseries of dataframes. I’m using PlutoPLotly and when I plot using: plot(df.Date, df.data1, x=:Date) The x-axis ticks appear as numbers, despi…

---

## [Plots.jl : place legend at the end of series](https://discourse.julialang.org/t/plots-jl-place-legend-at-the-end-of-series/110287)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 15\
**Last updated:** [February 16, 2024, 3:54pm UTC](https://discourse.julialang.org/t/plots-jl-place-legend-at-the-end-of-series/110287 "2024-02-16T15:54:32Z")

</div>

Hey, I have a plot like that : I would like the legends to be placed next to the end of curves like that : and so on for all of them. Is that possible ?

---

## [Making voxels isotropic in (x,y,z) images](https://discourse.julialang.org/t/making-voxels-isotropic-in-x-y-z-images/110186)

<div class="topic-metadata">

**Author:** [@TheHedgehog2000](https://discourse.julialang.org/u/TheHedgehog2000)\
**Replies:** 9\
**Last updated:** [February 15, 2024, 11:35pm UTC](https://discourse.julialang.org/t/making-voxels-isotropic-in-x-y-z-images/110186 "2024-02-15T23:35:07Z")

</div>

Hi everyone, I’ve started using Julia for processing microscopy data very recently (switching over from Python). My data tend to be 3D in space (meaning vertical stacks of images) and anisotropic (resolution in z is low…

---

## [Displaying figure while recording animation using Makie.record](https://discourse.julialang.org/t/displaying-figure-while-recording-animation-using-makie-record/110269)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 1\
**Last updated:** [February 15, 2024, 6:47pm UTC](https://discourse.julialang.org/t/displaying-figure-while-recording-animation-using-makie-record/110269 "2024-02-15T18:47:00Z")

</div>

I am able to record an animation of a figure in Makie using record. I can check if the figure is correctly updated in the animation by playing the movie file after the recording finishes. However, animation creation us…

---

## [(Plots.jl) Aspect ratio for log-log plots](https://discourse.julialang.org/t/plots-jl-aspect-ratio-for-log-log-plots/110216)

<div class="topic-metadata">

**Author:** [@dpt](https://discourse.julialang.org/u/dpt)\
**Replies:** 2\
**Last updated:** [February 14, 2024, 7:04pm UTC](https://discourse.julialang.org/t/plots-jl-aspect-ratio-for-log-log-plots/110216 "2024-02-14T19:04:40Z")

</div>

It seems that Plots.jl doesn’t respect aspect\_ratio=1.0 for log-log plots. This is particularly annoying since particular slopes have meaning in such plots (order of polynomial growth). I saw this mentioned in passing in…

---

## [Heatmap wrong colorbar number resolution limits](https://discourse.julialang.org/t/heatmap-wrong-colorbar-number-resolution-limits/110209)

<div class="topic-metadata">

**Author:** [@jcbritobr](https://discourse.julialang.org/u/jcbritobr)\
**Replies:** 4\
**Last updated:** [February 14, 2024, 3:33pm UTC](https://discourse.julialang.org/t/heatmap-wrong-colorbar-number-resolution-limits/110209 "2024-02-14T15:33:14Z")

</div>

Hello, good morning I’m having some diffucults plotting a covariance matrix with low values. The colorbar always shows zero, and cant acquire the correct values. There are configurations thats solves this issue? let…

---

## [Using Layout properly for Multiple plots in same box](https://discourse.julialang.org/t/using-layout-properly-for-multiple-plots-in-same-box/109241)

<div class="topic-metadata">

**Author:** [@CosmoProf](https://discourse.julialang.org/u/CosmoProf)\
**Replies:** 3\
**Last updated:** [February 13, 2024, 5:43pm UTC](https://discourse.julialang.org/t/using-layout-properly-for-multiple-plots-in-same-box/109241 "2024-02-13T17:43:59Z")

</div>

Hi all, I’m trying to get 2 plots (one on top of the other) in the same box, using the layout command, but I can’t seem to get the syntax right without errors. Julia’s document lists some examples using random numbers, …

---

## [Makie diffeq recipes](https://discourse.julialang.org/t/makie-diffeq-recipes/110078)

<div class="topic-metadata">

**Author:** [@henry2004y](https://discourse.julialang.org/u/henry2004y)\
**Replies:** 0\
**Last updated:** [February 11, 2024, 7:57pm UTC](https://discourse.julialang.org/t/makie-diffeq-recipes/110078 "2024-02-11T19:57:57Z")

</div>

Recently a new Makie recipe for DifferentialEquations was added using PlotSpec. However, I noticed that at least two things are not working: Line attributes are ignored. For example, linestyle and linewidth are always …

---

## [How to convert 3D mesh to voxelated array image?](https://discourse.julialang.org/t/how-to-convert-3d-mesh-to-voxelated-array-image/21777)

<div class="topic-metadata">

**Author:** [@jonalm](https://discourse.julialang.org/u/jonalm)\
**Replies:** 8\
**Last updated:** [February 9, 2024, 5:40pm UTC](https://discourse.julialang.org/t/how-to-convert-3d-mesh-to-voxelated-array-image/21777 "2024-02-09T17:40:02Z")

</div>

Dear community. I’m looking for some image related functionality which may already be implemented in Julia. I haven’t managed to find them, but that may be because I do not know what to search for (I’ve limited experienc…

---

## [Fillstyle not supported with Plots.PlotlyBackend()](https://discourse.julialang.org/t/fillstyle-not-supported-with-plots-plotlybackend/109932)

<div class="topic-metadata">

**Author:** [@hannaekfa](https://discourse.julialang.org/u/hannaekfa)\
**Replies:** 1\
**Last updated:** [February 8, 2024, 4:07pm UTC](https://discourse.julialang.org/t/fillstyle-not-supported-with-plots-plotlybackend/109932 "2024-02-08T16:07:44Z")

</div>

Hi! I am trying to create a fillranged plot using the plotly backend with a fillstyle according to the series attributes list at Series Attributes · Plots. I run: plotly() plot(zeros(100), fillrange=rand(100), fillst…

---

## [Plots.jl with inset](https://discourse.julialang.org/t/plots-jl-with-inset/102936)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 10\
**Last updated:** [February 8, 2024, 12:39pm UTC](https://discourse.julialang.org/t/plots-jl-with-inset/102936 "2024-02-08T12:39:09Z")

</div>

I’m trying to use Plots.jl with an inset. For simplicity, consider the plot x=range(0,3pi/2,length=100) plot(x,\[sin.(x),sinc.(x)\], label=\["sin" "sinc"\]) Suppose I want to insert an inset in the lower left corner of …

---

## [Streamplots with continuous lines in Makie](https://discourse.julialang.org/t/streamplots-with-continuous-lines-in-makie/109832)

<div class="topic-metadata">

**Author:** [@Bizzi](https://discourse.julialang.org/u/Bizzi)\
**Replies:** 2\
**Last updated:** [February 7, 2024, 7:57pm UTC](https://discourse.julialang.org/t/streamplots-with-continuous-lines-in-makie/109832 "2024-02-07T19:57:28Z")

</div>

Hey. I’m trying to draw some streamplots (following this guide) but the orbits look somewhat broken and randomly put together. I’d like to have some more control over where the orbits begin and for how long they go, but t…

---

## [Remove spacing between subplots in PlotlyJS](https://discourse.julialang.org/t/remove-spacing-between-subplots-in-plotlyjs/109878)

<div class="topic-metadata">

**Author:** [@jabru](https://discourse.julialang.org/u/jabru)\
**Replies:** 0\
**Last updated:** [February 7, 2024, 2:45pm UTC](https://discourse.julialang.org/t/remove-spacing-between-subplots-in-plotlyjs/109878 "2024-02-07T14:45:56Z")

</div>

Hi there, So I am currently trying to use PlotlyJS for my plots. I am running the following code using PlotlyJS np = pyimport("numpy") function main() trace1 = scatter(; x = rand(100), y = rand(100), …

---

## [Makie Label](https://discourse.julialang.org/t/makie-label/109721)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 5\
**Last updated:** [February 7, 2024, 7:23am UTC](https://discourse.julialang.org/t/makie-label/109721 "2024-02-07T07:23:57Z")

</div>

Is this supposed to work? julia\> let f = Figure() ax = Axis(f\[1,1\]) Label(ax, "hello") f end ERROR: MethodError: no method matching \_block(::Type{Label}, ::Axis; text::String) Cl…

---

## [How to make ridgeline plot (sparkline, joyplot) using Plots.jl?](https://discourse.julialang.org/t/how-to-make-ridgeline-plot-sparkline-joyplot-using-plots-jl/109826)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 0\
**Last updated:** [February 6, 2024, 5:59pm UTC](https://discourse.julialang.org/t/how-to-make-ridgeline-plot-sparkline-joyplot-using-plots-jl/109826 "2024-02-06T17:59:00Z")

</div>

I want to make a plot like this one: Makie has an example but I want to make the same in Plots.jl in order to not use 2 packages. More specifically, I’d like to have: no 3D, “parallax” or any kind of perspective d…

---

## [Websocket problem using WGLMakie from Pluto on a remote server](https://discourse.julialang.org/t/websocket-problem-using-wglmakie-from-pluto-on-a-remote-server/109802)

<div class="topic-metadata">

**Author:** [@vvbond](https://discourse.julialang.org/u/vvbond)\
**Replies:** 0\
**Last updated:** [February 6, 2024, 1:36pm UTC](https://discourse.julialang.org/t/websocket-problem-using-wglmakie-from-pluto-on-a-remote-server/109802 "2024-02-06T13:36:10Z")

</div>

Hi! I’m having troubles rendering WGLMakie plots in Pluto on a remote Windows server. According to the documentation, the following should work: # ╔═╡ d64ef27e-c4dc-11ee-00ed-d16bd2708611 using WGLMakie # ╔═╡ 3e80ef35-…

---

## [Scaling up a Dash.jl application?](https://discourse.julialang.org/t/scaling-up-a-dash-jl-application/109660)

<div class="topic-metadata">

**Author:** [@JesperMartinsson](https://discourse.julialang.org/u/JesperMartinsson)\
**Replies:** 2\
**Last updated:** [February 5, 2024, 7:29pm UTC](https://discourse.julialang.org/t/scaling-up-a-dash-jl-application/109660 "2024-02-05T19:29:26Z")

</div>

I’m running a Dash.jl application simply as: run\_server(app, "0.0.0.0", 8081) Is it possible to scale it up easily (e.g. by adding more threads)?

---

## [Raw"\\nabla" fails in labels](https://discourse.julialang.org/t/raw-nabla-fails-in-labels/109739)

<div class="topic-metadata">

**Author:** [@blob](https://discourse.julialang.org/u/blob)\
**Replies:** 2\
**Last updated:** [February 5, 2024, 3:09pm UTC](https://discourse.julialang.org/t/raw-nabla-fails-in-labels/109739 "2024-02-05T15:09:49Z")

</div>

I am trying to get “nice” labels for a plot and the unicode characters work properly only sometimes: using Plots plot(rand(10),label="δ works") plot!(rand(10),label=raw"\\delta works") …

---

## [Get x and y limits of Makie plot](https://discourse.julialang.org/t/get-x-and-y-limits-of-makie-plot/109716)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 5\
**Last updated:** [February 5, 2024, 7:40am UTC](https://discourse.julialang.org/t/get-x-and-y-limits-of-makie-plot/109716 "2024-02-05T07:40:16Z")

</div>

How to get axis limits? scatter(50randn(5), 50randn(5))

---

## [Correct way to save Makie plot to IOBuffer](https://discourse.julialang.org/t/correct-way-to-save-makie-plot-to-iobuffer/87793)

<div class="topic-metadata">

**Author:** [@contradict](https://discourse.julialang.org/u/contradict)\
**Replies:** 6\
**Last updated:** [February 5, 2024, 6:41am UTC](https://discourse.julialang.org/t/correct-way-to-save-makie-plot-to-iobuffer/87793 "2024-02-05T06:41:06Z")

</div>

I am generating a web page including a data URL for a Makie plot. I would like to avoid saving the plot to a file if possible. I figured this out but I would like to know if there is a better way. using Makie, CairoMaki…

---

## [Plotting to multiple separate figures](https://discourse.julialang.org/t/plotting-to-multiple-separate-figures/109681)

<div class="topic-metadata">

**Author:** [@cbarring](https://discourse.julialang.org/u/cbarring)\
**Replies:** 5\
**Last updated:** [February 5, 2024, 1:54am UTC](https://discourse.julialang.org/t/plotting-to-multiple-separate-figures/109681 "2024-02-05T01:54:34Z")

</div>

Hi. I would like to generate 2 separate figures. These are shown below. Figure 1 shows the numerical solution, plus the actual solution. Figure 2 shows the (tiny) error. I can’t put all this on a single plot since t…

---

## [How to create a new axis in a loop using CairoMakie?](https://discourse.julialang.org/t/how-to-create-a-new-axis-in-a-loop-using-cairomakie/109623)

<div class="topic-metadata">

**Author:** [@albrightand](https://discourse.julialang.org/u/albrightand)\
**Replies:** 4\
**Last updated:** [February 4, 2024, 2:59am UTC](https://discourse.julialang.org/t/how-to-create-a-new-axis-in-a-loop-using-cairomakie/109623 "2024-02-04T02:59:37Z")

</div>

I’m trying to create a series of histograms by looping through a data frame and plotting each entry as a histogram. There is 20 different plots, so it would be inconvenient to not use a loop. In the Makie docs, it shows…

---

## [3D surfaces + time slider](https://discourse.julialang.org/t/3d-surfaces-time-slider/109673)

<div class="topic-metadata">

**Author:** [@sob](https://discourse.julialang.org/u/sob)\
**Replies:** 2\
**Last updated:** [February 3, 2024, 5:49pm UTC](https://discourse.julialang.org/t/3d-surfaces-time-slider/109673 "2024-02-03T17:49:45Z")

</div>

Hi, PlotlyJS provides the following code to represent multiple surfaces at once (see multiple surfaces): julia\> using PlotlyJS julia\> function multiple\_surface() z1 = Vector\[\[8.83, 8.89, 8.81, 8.87, 8.9, 8.…

---

## [3D plot labels customization](https://discourse.julialang.org/t/3d-plot-labels-customization/109675)

<div class="topic-metadata">

**Author:** [@Maucejo](https://discourse.julialang.org/u/Maucejo)\
**Replies:** 0\
**Last updated:** [February 3, 2024, 4:44pm UTC](https://discourse.julialang.org/t/3d-plot-labels-customization/109675 "2024-02-03T16:44:02Z")

</div>

Hi all, I am using Makie.jl as my main plotting library. Maybe I missed something in the doc, but I don’t know if it is possible to customize the ticks and axis labels layout of Axis3 to get something like in the figure …

---

## [How to make \`plot!(...)\` without changing \`xlimit\` and \`ylimit\`](https://discourse.julialang.org/t/how-to-make-plot-without-changing-xlimit-and-ylimit/109647)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 2\
**Last updated:** [February 2, 2024, 10:17pm UTC](https://discourse.julialang.org/t/how-to-make-plot-without-changing-xlimit-and-ylimit/109647 "2024-02-02T22:17:29Z")

</div>

I have created a plot using Plots.jl and the plot() command. How do I add another thing to the plot using plot!(), without changing the x and y limits? (I have an application where the first plot command sets good limit…

---

## [Any equivalent of ggplot for phylogeny tree layouts?](https://discourse.julialang.org/t/any-equivalent-of-ggplot-for-phylogeny-tree-layouts/109611)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 1\
**Last updated:** [February 2, 2024, 10:56am UTC](https://discourse.julialang.org/t/any-equivalent-of-ggplot-for-phylogeny-tree-layouts/109611 "2024-02-02T10:56:27Z")

</div>

Hello, I am trying to plot a phylogeny tree with GraphMakie, I obtain decent results, but the branches can overlap and it looks not super great. I looked at NetworkLayout.jl, which provides layout algorithms for graphs,…

---

## [Contour lines on a mesh?](https://discourse.julialang.org/t/contour-lines-on-a-mesh/109528)

<div class="topic-metadata">

**Author:** [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Replies:** 0\
**Last updated:** [January 31, 2024, 5:41pm UTC](https://discourse.julialang.org/t/contour-lines-on-a-mesh/109528 "2024-01-31T17:41:03Z")

</div>

Hi all, would anyone know if there is a way to plot contour lines on a Makie mesh ? Something like contour3d · Makie, but more general. With the application I have contour3d errors on Found duplicate x/y coordinates so…

---

## [Keyboard shortcut to reset zoom and pan on a Makie plot](https://discourse.julialang.org/t/keyboard-shortcut-to-reset-zoom-and-pan-on-a-makie-plot/76876)

<div class="topic-metadata">

**Author:** [@CameronBieganek](https://discourse.julialang.org/u/CameronBieganek)\
**Replies:** 6\
**Last updated:** [February 1, 2024, 1:53pm UTC](https://discourse.julialang.org/t/keyboard-shortcut-to-reset-zoom-and-pan-on-a-makie-plot/76876 "2024-02-01T13:53:59Z")

</div>

Is there a keyboard shortcut to reset the zoom and pan on a Makie plot?

---

## [Makie - How to insert an Axis3 into a scene so that zooming on a plot is possible?](https://discourse.julialang.org/t/makie-how-to-insert-an-axis3-into-a-scene-so-that-zooming-on-a-plot-is-possible/78584)

<div class="topic-metadata">

**Author:** [@Bob\_Bass](https://discourse.julialang.org/u/Bob_Bass)\
**Replies:** 8\
**Last updated:** [February 1, 2024, 1:33pm UTC](https://discourse.julialang.org/t/makie-how-to-insert-an-axis3-into-a-scene-so-that-zooming-on-a-plot-is-possible/78584 "2024-02-01T13:33:48Z")

</div>

Hi! I can make a basic scene that lets me pan and zoom the way I want to like so: using GLMakie scene = Scene() cam3d!(scene; rotation\_center=:lookat, projectiontype = :Orthographic, fixed\_axis=:false, zoom\_shift\_look…

---

## [GLMakie Runtime Error](https://discourse.julialang.org/t/glmakie-runtime-error/109543)

<div class="topic-metadata">

**Author:** [@Mahnoor\_Pop](https://discourse.julialang.org/u/Mahnoor_Pop)\
**Replies:** 0\
**Last updated:** [February 1, 2024, 12:38am UTC](https://discourse.julialang.org/t/glmakie-runtime-error/109543 "2024-02-01T00:38:53Z")

</div>

Hi all! I’ve created a program using GLMakie that uses sliders and buttons. Everything works when I run the script, though sometimes it can be a little laggy (I presume because I’m generating a new trajectory for a dynam…

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

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