# Visualization

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

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

**Page:** 35

---

## [Label with Latex in CairoMakie](https://discourse.julialang.org/t/label-with-latex-in-cairomakie/97619)

<div class="topic-metadata">

**Author:** [@Sergey\_Novak](https://discourse.julialang.org/u/Sergey_Novak)\
**Replies:** 2\
**Last updated:** [April 18, 2023, 7:22pm UTC](https://discourse.julialang.org/t/label-with-latex-in-cairomakie/97619 "2023-04-18T19:22:30Z")

</div>

Hello! I tried place space between E and (Hz), I\_0, and (Hz) in the next code: f = Figure(resolution = (1300, 600)) ax\_bf = Axis(f\[1,1\]; ylabel = L"E (Hz)", xlabelsize = 35, ylabelsize = 35, xticklabelsiz…

---

## [Video created by VideoIO.jl doesn't display properly on Android WhatsApp](https://discourse.julialang.org/t/video-created-by-videoio-jl-doesnt-display-properly-on-android-whatsapp/97492)

<div class="topic-metadata">

**Author:** [@marcsgil](https://discourse.julialang.org/u/marcsgil)\
**Replies:** 1\
**Last updated:** [April 15, 2023, 5:54am UTC](https://discourse.julialang.org/t/video-created-by-videoio-jl-doesnt-display-properly-on-android-whatsapp/97492 "2023-04-15T05:54:00Z")

</div>

Hello! I’m trying to share some videos I generated using VideoIO.jl on WhatsApp. Although the videos work well on WhatsApp Web and WhatsApp iOS, I’m encountering some strange issues when I try to play them on my Android…

---

## [Ratio between the plot and the figure - white area around](https://discourse.julialang.org/t/ratio-between-the-plot-and-the-figure-white-area-around/97406)

<div class="topic-metadata">

**Author:** [@gnicolosi](https://discourse.julialang.org/u/gnicolosi)\
**Replies:** 4\
**Last updated:** [April 14, 2023, 4:32pm UTC](https://discourse.julialang.org/t/ratio-between-the-plot-and-the-figure-white-area-around/97406 "2023-04-14T16:32:44Z")

</div>

I am having trouble removing this white area around my plot: I have tried aspect\_ratio and size options but couldn’t change. It happens both in VSCode and Jupyter notebook. It doesn’t happen in my laptop though. Any g…

---

## [Make a Legend with width equal to an axis](https://discourse.julialang.org/t/make-a-legend-with-width-equal-to-an-axis/97317)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 11\
**Last updated:** [April 13, 2023, 5:29pm UTC](https://discourse.julialang.org/t/make-a-legend-with-width-equal-to-an-axis/97317 "2023-04-13T17:29:26Z")

</div>

Hi, I am trying to recreate the following PyPlot image with Makie: I know how to make everything in the figure except one thing: how to make the legend width to be exactly the same as the axis below it. Any help woul…

---

## [\[Plots.jl\] Can't show data on hover (surface plot)](https://discourse.julialang.org/t/plots-jl-cant-show-data-on-hover-surface-plot/56397)

<div class="topic-metadata">

**Author:** [@nandoconde](https://discourse.julialang.org/u/nandoconde)\
**Replies:** 5\
**Last updated:** [April 13, 2023, 8:59am UTC](https://discourse.julialang.org/t/plots-jl-cant-show-data-on-hover-surface-plot/56397 "2023-04-13T08:59:18Z")

</div>

Hello! My problem For my application, I need to be able to obtain data points when hovering over a surface plot. As far as I know: Makie has no backend that supports this feature In Plots, there are two backends that …

---

## [Makie theming axis on specific plot recipes](https://discourse.julialang.org/t/makie-theming-axis-on-specific-plot-recipes/97395)

<div class="topic-metadata">

**Author:** [@kunzaatko](https://discourse.julialang.org/u/kunzaatko)\
**Replies:** 0\
**Last updated:** [April 12, 2023, 2:38pm UTC](https://discourse.julialang.org/t/makie-theming-axis-on-specific-plot-recipes/97395 "2023-04-12T14:38:20Z")

</div>

Is there a way to theme the Axis in makie for specific recipes differently. My specific use-case is that I would like to reverse the y axis and make the aspect use DataAspect but only for image plots. The ideal way that …

---

## [Turn off interactivity/responsiveness in plotly/plotlyjs backend](https://discourse.julialang.org/t/turn-off-interactivity-responsiveness-in-plotly-plotlyjs-backend/97225)

<div class="topic-metadata">

**Author:** [@iabraham](https://discourse.julialang.org/u/iabraham)\
**Replies:** 2\
**Last updated:** [April 12, 2023, 8:18am UTC](https://discourse.julialang.org/t/turn-off-interactivity-responsiveness-in-plotly-plotlyjs-backend/97225 "2023-04-12T08:18:12Z")

</div>

What is the keyword to turn off the interactivity or responsiveness in the plotly backend for the Plots backend in Julia? For reference, I am using Pluto and while the interactivity is great, I am doing some very dense …

---

## [Combine mp4 videos](https://discourse.julialang.org/t/combine-mp4-videos/97368)

<div class="topic-metadata">

**Author:** [@chadagreene](https://discourse.julialang.org/u/chadagreene)\
**Replies:** 1\
**Last updated:** [April 11, 2023, 10:36pm UTC](https://discourse.julialang.org/t/combine-mp4-videos/97368 "2023-04-11T22:36:06Z")

</div>

I have about 500 animations in mp4 format, each about 600 frames and 40 seconds long. The files are named something like: video\_001.mp4 video\_002.mp4 ⋮ video\_500.mp4 All of the videos have the same dimensions and frame…

---

## [\[AlgebraOfGraphics.jl\] adding jitter to a scatter plot points](https://discourse.julialang.org/t/algebraofgraphics-jl-adding-jitter-to-a-scatter-plot-points/97310)

<div class="topic-metadata">

**Author:** [@rud-lucien](https://discourse.julialang.org/u/rud-lucien)\
**Replies:** 7\
**Last updated:** [April 11, 2023, 3:20pm UTC](https://discourse.julialang.org/t/algebraofgraphics-jl-adding-jitter-to-a-scatter-plot-points/97310 "2023-04-11T15:20:47Z")

</div>

Hi, I was wondering if anyone knows how (or if it is currently possible) to add jitter to the position of the points in this scatter plot generated with AlgebarOFGraphics.jl? using CairoMakie, AlgebraOfGraphics, DataFr…

---

## [How to combine the legend of multiple axes on same figure into one in Makie.jl?](https://discourse.julialang.org/t/how-to-combine-the-legend-of-multiple-axes-on-same-figure-into-one-in-makie-jl/97299)

<div class="topic-metadata">

**Author:** [@JaydevSR](https://discourse.julialang.org/u/JaydevSR)\
**Replies:** 2\
**Last updated:** [April 11, 2023, 5:54am UTC](https://discourse.julialang.org/t/how-to-combine-the-legend-of-multiple-axes-on-same-figure-into-one-in-makie-jl/97299 "2023-04-11T05:54:04Z")

</div>

I have a few axes on the same figure such that each of them share some common curves. Is there a way I can add a single legend for all of them on the figure such that the curve (following the same label and style) get me…

---

## [Conda Not installing Matplotlib for PyPlot](https://discourse.julialang.org/t/conda-not-installing-matplotlib-for-pyplot/96813)

<div class="topic-metadata">

**Author:** [@Perrin\_Meyer](https://discourse.julialang.org/u/Perrin_Meyer)\
**Replies:** 13\
**Last updated:** [April 10, 2023, 8:36am UTC](https://discourse.julialang.org/t/conda-not-installing-matplotlib-for-pyplot/96813 "2023-04-10T08:36:36Z")

</div>

I started with a fresh install of Julia 1.9.0-rc1 (I wiped .julia clean) PyCall Conda does not seem to be installing matplotlib correctly. This has worked for me many times before on many different machines…The culprit …

---

## [Listview grouping popup window examples](https://discourse.julialang.org/t/listview-grouping-popup-window-examples/96092)

<div class="topic-metadata">

**Author:** [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Replies:** 5\
**Last updated:** [March 18, 2023, 12:05pm UTC](https://discourse.julialang.org/t/listview-grouping-popup-window-examples/96092 "2023-03-18T12:05:32Z")

</div>

When running a closed-loop menu-driven program, that runs on the REPL and in which different types of data items are loaded, created, deleted, etc., I would like to keep track of them in a grouped listview popup window. …

---

## [Can I change the latex font using LatexString package?](https://discourse.julialang.org/t/can-i-change-the-latex-font-using-latexstring-package/97113)

<div class="topic-metadata">

**Author:** [@quantum](https://discourse.julialang.org/u/quantum)\
**Replies:** 1\
**Last updated:** [April 5, 2023, 3:09pm UTC](https://discourse.julialang.org/t/can-i-change-the-latex-font-using-latexstring-package/97113 "2023-04-05T15:09:55Z")

</div>

My computer is Mac OX m1. I use the package LatexSting to render the latex. This is the code and output figure. I was wondering if I can change the font of latex. However, I don’t want to change the font of text because…

---

## [How to do multiply updates with Observables.jl?](https://discourse.julialang.org/t/how-to-do-multiply-updates-with-observables-jl/96936)

<div class="topic-metadata">

**Author:** [@pzabka](https://discourse.julialang.org/u/pzabka)\
**Replies:** 2\
**Last updated:** [April 5, 2023, 7:55am UTC](https://discourse.julialang.org/t/how-to-do-multiply-updates-with-observables-jl/96936 "2023-04-05T07:55:59Z")

</div>

In version 0.4 of Observables.jl, it was possible to fire several events on an update using channels. However, it disappeared from version 0.5. Is there any way how to do it now? It would be useful for making a video pla…

---

## [Polar plot with 0° at the nadir?](https://discourse.julialang.org/t/polar-plot-with-0-at-the-nadir/92119)

<div class="topic-metadata">

**Author:** [@rmfritz](https://discourse.julialang.org/u/rmfritz)\
**Replies:** 11\
**Last updated:** [April 3, 2023, 5:54pm UTC](https://discourse.julialang.org/t/polar-plot-with-0-at-the-nadir/92119 "2023-04-03T17:54:59Z")

</div>

Is there any simple way to do this? The default is 0° on the right.

---

## [Adjusting padding between axis and axisticklabel in gridded layout](https://discourse.julialang.org/t/adjusting-padding-between-axis-and-axisticklabel-in-gridded-layout/96950)

<div class="topic-metadata">

**Author:** [@iabraham](https://discourse.julialang.org/u/iabraham)\
**Replies:** 3\
**Last updated:** [April 2, 2023, 7:45pm UTC](https://discourse.julialang.org/t/adjusting-padding-between-axis-and-axisticklabel-in-gridded-layout/96950 "2023-04-02T19:45:00Z")

</div>

This question is about being able to adjust the space between ticklabels and their corresponding axis lines in the default GR backed for Plots.jl. Consider: using Plots, Plots.Measures minx, miny, N = 300, 300, 16 Plo…

---

## [Combine output of several functions on the same interactive plot](https://discourse.julialang.org/t/combine-output-of-several-functions-on-the-same-interactive-plot/96972)

<div class="topic-metadata">

**Author:** [@ittomsk](https://discourse.julialang.org/u/ittomsk)\
**Replies:** 0\
**Last updated:** [April 2, 2023, 3:35pm UTC](https://discourse.julialang.org/t/combine-output-of-several-functions-on-the-same-interactive-plot/96972 "2023-04-02T15:35:27Z")

</div>

I need to add some lines on top of the agent’s polygon to represent its properties. However, I am currently stuck at grouping the output of two functions in the following line: Group(\[agent\_poly, agent\_orientation\]) . c…

---

## [How do I do a plot in spherical coordinates?](https://discourse.julialang.org/t/how-do-i-do-a-plot-in-spherical-coordinates/96583)

<div class="topic-metadata">

**Author:** [@rmfritz](https://discourse.julialang.org/u/rmfritz)\
**Replies:** 7\
**Last updated:** [March 28, 2023, 10:45pm UTC](https://discourse.julialang.org/t/how-do-i-do-a-plot-in-spherical-coordinates/96583 "2023-03-28T22:45:36Z")

</div>

I either want to see a 3D surface or web of points. I suppose I can just take the 3D surface example as a model, but if possible, I would like to have angle axes. Is that possible with existing graphics libraries?

---

## [PlotlyJS.jl animation](https://discourse.julialang.org/t/plotlyjs-jl-animation/70058)

<div class="topic-metadata">

**Author:** [@simonbyrne](https://discourse.julialang.org/u/simonbyrne)\
**Replies:** 14\
**Last updated:** [March 26, 2023, 9:01pm UTC](https://discourse.julialang.org/t/plotlyjs-jl-animation/70058 "2023-03-26T21:01:56Z")

</div>

Are there any examples of animating plots in PlotlyJS.jl, in particular using multiple frames such as this Python example? I noticed a mention of using react!, but that has downsides (e.g. it resets the viewer orientati…

---

## [Combining or reusing subplot elements](https://discourse.julialang.org/t/combining-or-reusing-subplot-elements/96606)

<div class="topic-metadata">

**Author:** [@iabraham](https://discourse.julialang.org/u/iabraham)\
**Replies:** 0\
**Last updated:** [March 25, 2023, 8:05pm UTC](https://discourse.julialang.org/t/combining-or-reusing-subplot-elements/96606 "2023-03-25T20:05:53Z")

</div>

How can I extract and reuse/combine subplots in Julia? Consider: pp = plot(0:0.01:2, \[sin.(0:0.01:2), cos.(0:0.01:2)\], layout=(1,2)); gg = plot(0:0.01:2, \[sin.(0:0.01:2).^2, cos.(0:0.01:2).^2\], layout=(1,2)); Both pp …

---

## [MiniFB Error (SetProcessDpiAwernessContext): Access was denied](https://discourse.julialang.org/t/minifb-error-setprocessdpiawernesscontext-access-was-denied/96598)

<div class="topic-metadata">

**Author:** [@Melancholic\_Octopus](https://discourse.julialang.org/u/Melancholic_Octopus)\
**Replies:** 0\
**Last updated:** [March 25, 2023, 2:12pm UTC](https://discourse.julialang.org/t/minifb-error-setprocessdpiawernesscontext-access-was-denied/96598 "2023-03-25T14:12:22Z")

</div>

I am trying to use MiniFB.jl on Windows, and i am getting this error Error (SetProcessDpiAwernessContext): Access was denied I tried to find what is wrong, but i was not much succesful. The window still opens, and you…

---

## [Adding a play button to a PlotlyJS plot](https://discourse.julialang.org/t/adding-a-play-button-to-a-plotlyjs-plot/95383)

<div class="topic-metadata">

**Author:** [@phiG](https://discourse.julialang.org/u/phiG)\
**Replies:** 10\
**Last updated:** [March 24, 2023, 2:05am UTC](https://discourse.julialang.org/t/adding-a-play-button-to-a-plotlyjs-plot/95383 "2023-03-24T02:05:22Z")

</div>

Hi everyone, since I got a perfect answer last time on how to add sliders to a Plotly Plot in the first place, this time I would be delighted if someone could help me edit the code below such that there is a Play Button…

---

## [Makie heatmap legend](https://discourse.julialang.org/t/makie-heatmap-legend/96494)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 3\
**Last updated:** [March 23, 2023, 10:54pm UTC](https://discourse.julialang.org/t/makie-heatmap-legend/96494 "2023-03-23T22:54:52Z")

</div>

I have a heatmap and I want a legend explaining the values of the colors. let ps = 0:.01:1 ns=1:1000:5\_000\_000 f = Figure() ax = Axis(f\[1,1\]; xgridvisible=true, ygridvisible=true, xminorgridvisible=true, ymi…

---

## [How to use hovertemplate with Plotly Python via Pycall](https://discourse.julialang.org/t/how-to-use-hovertemplate-with-plotly-python-via-pycall/96337)

<div class="topic-metadata">

**Author:** [@this\_josh](https://discourse.julialang.org/u/this_josh)\
**Replies:** 6\
**Last updated:** [March 21, 2023, 4:54pm UTC](https://discourse.julialang.org/t/how-to-use-hovertemplate-with-plotly-python-via-pycall/96337 "2023-03-21T16:54:18Z")

</div>

I’d like to create this plotly example in Julia by using PyCall to access python plotly. Below is the code from the example converted to julia: using PyCall go = pyimport("plotly.graph\_objects") subplots = pyimport("plo…

---

## [How can I combine different density plots in a 3D plot?](https://discourse.julialang.org/t/how-can-i-combine-different-density-plots-in-a-3d-plot/96194)

<div class="topic-metadata">

**Author:** [@bertulli](https://discourse.julialang.org/u/bertulli)\
**Replies:** 8\
**Last updated:** [March 20, 2023, 10:36pm UTC](https://discourse.julialang.org/t/how-can-i-combine-different-density-plots-in-a-3d-plot/96194 "2023-03-20T22:36:15Z")

</div>

Hi all! I’m analyzing some data that follows a more-or-less-linear dependency. Here’s a picture: I’d like to show the dispersion around the mean for each of the vertical bins you see. What I need is (I think) the den…

---

## [PlotlyJS doesn't implement orthographic projection option](https://discourse.julialang.org/t/plotlyjs-doesnt-implement-orthographic-projection-option/96203)

<div class="topic-metadata">

**Author:** [@bhalpin](https://discourse.julialang.org/u/bhalpin)\
**Replies:** 6\
**Last updated:** [March 19, 2023, 2:20pm UTC](https://discourse.julialang.org/t/plotlyjs-doesnt-implement-orthographic-projection-option/96203 "2023-03-19T14:20:03Z")

</div>

PlotlyJS has an option for orthographic projection rather than the default “perspective” projection. It is described in the docs here: https://docs.juliaplots.org/stable/gallery/plotlyjs/generated/plotlyjs-ref060/ The …

---

## [PlotlyJS confidence band bug?](https://discourse.julialang.org/t/plotlyjs-confidence-band-bug/96287)

<div class="topic-metadata">

**Author:** [@Igor\_Douven](https://discourse.julialang.org/u/Igor_Douven)\
**Replies:** 6\
**Last updated:** [March 19, 2023, 12:14pm UTC](https://discourse.julialang.org/t/plotlyjs-confidence-band-bug/96287 "2023-03-19T12:14:57Z")

</div>

Hi all, I’m trying to plot confidence bands using PlotlyJS.jl. It’s almost working, except that while the lines all start at x = 50, the confidence bands, for some reason, start at x = 0. This is for instance how I defi…

---

## [Plots.jl clean scientific formatting](https://discourse.julialang.org/t/plots-jl-clean-scientific-formatting/38112)

<div class="topic-metadata">

**Author:** [@DR59](https://discourse.julialang.org/u/DR59)\
**Replies:** 9\
**Last updated:** [March 17, 2023, 1:07am UTC](https://discourse.julialang.org/t/plots-jl-clean-scientific-formatting/38112 "2023-03-17T01:07:02Z")

</div>

Suppose I have a plot p. If I want to change the y-axis to scientific formatting, I can do: plot!(p, yformatter = :scientific) Now a tick label that was previously: 30000, becomes 3x10^4. However I don’t want each sin…

---

## [\[Makie\] Parallel Record](https://discourse.julialang.org/t/makie-parallel-record/96162)

<div class="topic-metadata">

**Author:** [@AstroBarker](https://discourse.julialang.org/u/AstroBarker)\
**Replies:** 1\
**Last updated:** [March 16, 2023, 3:30am UTC](https://discourse.julialang.org/t/makie-parallel-record/96162 "2023-03-16T03:30:27Z")

</div>

Hey folks. I am using Makie to create animations of 2D or 3D data. I am wondering if there is a convenient way to use threads to parallelize the record feature, similar to using a threaded map/call in python?

---

## [Multiple normal distributions in one 3D plot](https://discourse.julialang.org/t/multiple-normal-distributions-in-one-3d-plot/95969)

<div class="topic-metadata">

**Author:** [@Mouad](https://discourse.julialang.org/u/Mouad)\
**Replies:** 3\
**Last updated:** [March 13, 2023, 10:02pm UTC](https://discourse.julialang.org/t/multiple-normal-distributions-in-one-3d-plot/95969 "2023-03-13T22:02:13Z")

</div>

Hello, I am trying to plot multiple normal distributions centered around the same mean with different variations in GLmakie. Pretty much this picture (generated in wolfram alpha): Hopefully, also animate it by making…

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

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