# Visualization

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

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

**Page:** 15

---

## [Subplots woes with plotlyjs backend](https://discourse.julialang.org/t/subplots-woes-with-plotlyjs-backend/19390)

<div class="topic-metadata">

**Author:** [@ohsonice](https://discourse.julialang.org/u/ohsonice)\
**Replies:** 2\
**Last updated:** [September 2, 2024, 9:49pm UTC](https://discourse.julialang.org/t/subplots-woes-with-plotlyjs-backend/19390 "2024-09-02T21:49:34Z")

</div>

I’m encountering unexpected behavior when attempting to plot subplots with the plotlyjs backend. Minimal example: using Plots plotlyjs() plot(rand(100,4),layout=4) The output produced is below. The first plot is huge a…

---

## [Makie - What could be holding references to plots after I empty! an axis?](https://discourse.julialang.org/t/makie-what-could-be-holding-references-to-plots-after-i-empty-an-axis/118913)

<div class="topic-metadata">

**Author:** [@AMB](https://discourse.julialang.org/u/AMB)\
**Replies:** 3\
**Last updated:** [September 2, 2024, 7:32pm UTC](https://discourse.julialang.org/t/makie-what-could-be-holding-references-to-plots-after-i-empty-an-axis/118913 "2024-09-02T19:32:03Z")

</div>

Hi all! I am using GeoMakie and GeoAxis, in case that makes any difference. My application creates a series of visualizations on the GeoAxis, one at a time. When the user indicates that they want the next visualization…

---

## [Makie: swapping plots, un-hiding decorations, loading existing plot objects into axes](https://discourse.julialang.org/t/makie-swapping-plots-un-hiding-decorations-loading-existing-plot-objects-into-axes/118922)

<div class="topic-metadata">

**Author:** [@oscarvdvelde](https://discourse.julialang.org/u/oscarvdvelde)\
**Replies:** 3\
**Last updated:** [September 2, 2024, 1:55pm UTC](https://discourse.julialang.org/t/makie-swapping-plots-un-hiding-decorations-loading-existing-plot-objects-into-axes/118922 "2024-09-02T13:55:08Z")

</div>

I am making a toggle (or later, a menu) that swaps a subplot for a totally different plot in the same space e.g. fig\[1:2, 3:4\]. Say I predefine two Axes objects, ax2a and ax2b with their x and y tick properties and labe…

---

## [Plots.jl : positioning and scaling of "annotate!"](https://discourse.julialang.org/t/plots-jl-positioning-and-scaling-of-annotate/11290)

<div class="topic-metadata">

**Author:** [@Rob\_van\_Weelderen](https://discourse.julialang.org/u/Rob_van_Weelderen)\
**Replies:** 8\
**Last updated:** [August 30, 2024, 5:46pm UTC](https://discourse.julialang.org/t/plots-jl-positioning-and-scaling-of-annotate/11290 "2024-08-30T17:46:03Z")

</div>

I would like to put on the lower right corner of my plots a notification text string, typically citing the the “data source : date of production” Although I can put text using annotate!(xpos, ypos, "my text", :color) i…

---

## [Animation with start and stop control in Plots.jl?](https://discourse.julialang.org/t/animation-with-start-and-stop-control-in-plots-jl/118729)

<div class="topic-metadata">

**Author:** [@BVPs](https://discourse.julialang.org/u/BVPs)\
**Replies:** 3\
**Last updated:** [August 29, 2024, 9:44pm UTC](https://discourse.julialang.org/t/animation-with-start-and-stop-control-in-plots-jl/118729 "2024-08-29T21:44:32Z")

</div>

Hello. I started my experiments on animations using Plots.jl. There is a quite useful webpage: Animations with Plots.jl (juliafordatascience.com) Using @animate or @gif macros, it’s quite easy to generate animations. H…

---

## [Stacked area plots in Makie](https://discourse.julialang.org/t/stacked-area-plots-in-makie/118574)

<div class="topic-metadata">

**Author:** [@mjmat](https://discourse.julialang.org/u/mjmat)\
**Replies:** 6\
**Last updated:** [August 26, 2024, 5:29am UTC](https://discourse.julialang.org/t/stacked-area-plots-in-makie/118574 "2024-08-26T05:29:58Z")

</div>

This seems like a very simple question, but what is the easiest way to create a stacked area plot in Makie? I can’t seem to find that in the (very good) tutorials and documentation. A short example in PlotlyJS: using P…

---

## [There's a hole in a sphere generated by makie.surface](https://discourse.julialang.org/t/theres-a-hole-in-a-sphere-generated-by-makie-surface/118555)

<div class="topic-metadata">

**Author:** [@xczphysics](https://discourse.julialang.org/u/xczphysics)\
**Replies:** 8\
**Last updated:** [August 24, 2024, 5:38pm UTC](https://discourse.julialang.org/t/theres-a-hole-in-a-sphere-generated-by-makie-surface/118555 "2024-08-24T17:38:12Z")

</div>

Take a look at this Eye !!! Unlike mesh(spheremesh) method, current surface(x,y,z) method leaves a circular hole at the north pole of the ball, see: Transparent surfaces in Makie.jl - #2 by sdanisch CairoMakie inve…

---

## [Makie - update volumeslices](https://discourse.julialang.org/t/makie-update-volumeslices/116729)

<div class="topic-metadata">

**Author:** [@Oleg\_Melnik](https://discourse.julialang.org/u/Oleg_Melnik)\
**Replies:** 3\
**Last updated:** [August 22, 2024, 9:14pm UTC](https://discourse.julialang.org/t/makie-update-volumeslices/116729 "2024-08-22T21:14:18Z")

</div>

I am trying to add a timestep slider to the standard example from volumeslices | Makie to update the vol array I did not find a method how to update the dataset and redraw the diagram after I change the value of the sl…

---

## [Problem with contour plots in PythonPlot.jl](https://discourse.julialang.org/t/problem-with-contour-plots-in-pythonplot-jl/118435)

<div class="topic-metadata">

**Author:** [@Sh\_166](https://discourse.julialang.org/u/Sh_166)\
**Replies:** 2\
**Last updated:** [August 22, 2024, 1:01am UTC](https://discourse.julialang.org/t/problem-with-contour-plots-in-pythonplot-jl/118435 "2024-08-22T01:01:33Z")

</div>

With reference to my earlier post here, I have stumbled upon a bad issue. As in the earlier post, my code is as follows: using PythonPlot, LaTeXStrings, Measures, PlotThemes f(X, Y) = (100/(3\*s\*k^2))\*(((1-(X/Y)^2)^3))…

---

## [The (background)color of Box always covers the 3D LScene.scene.backgroundcolor, and the latter cannot be changed](https://discourse.julialang.org/t/the-background-color-of-box-always-covers-the-3d-lscene-scene-backgroundcolor-and-the-latter-cannot-be-changed/118422)

<div class="topic-metadata">

**Author:** [@xczphysics](https://discourse.julialang.org/u/xczphysics)\
**Replies:** 0\
**Last updated:** [August 20, 2024, 4:09pm UTC](https://discourse.julialang.org/t/the-background-color-of-box-always-covers-the-3d-lscene-scene-backgroundcolor-and-the-latter-cannot-be-changed/118422 "2024-08-20T16:09:28Z")

</div>

Cannot create a layout that a 3D-LScene with a colorful background placed over a Box placeholder filled with another colorful background. This post point out 2 problems: the display sequence of Box’s :color is always …

---

## [Makie - How to make interactive plots with custom Axis3?](https://discourse.julialang.org/t/makie-how-to-make-interactive-plots-with-custom-axis3/118285)

<div class="topic-metadata">

**Author:** [@tobia](https://discourse.julialang.org/u/tobia)\
**Replies:** 6\
**Last updated:** [August 18, 2024, 6:22pm UTC](https://discourse.julialang.org/t/makie-how-to-make-interactive-plots-with-custom-axis3/118285 "2024-08-18T18:22:30Z")

</div>

I’m using WGLMakie in a Pluto notebook. Whenever I create a 3D plot with an implicit axis, for instance by using meshscatter(x, y), Makie creates an interactive plot, meaning I can rotate, pan, and zoom it using the mous…

---

## [Mesh3d facecolor](https://discourse.julialang.org/t/mesh3d-facecolor/118294)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 3\
**Last updated:** [August 17, 2024, 4:45pm UTC](https://discourse.julialang.org/t/mesh3d-facecolor/118294 "2024-08-17T16:45:08Z")

</div>

I am trying to change the facecolor. Part of the issue is that I have a limited understanding of the various backends to Plots.jl . The same issue was raised here at various occasions. I continue to struggle. x = \[0, 1,…

---

## [Fill a curve in 3D](https://discourse.julialang.org/t/fill-a-curve-in-3d/37890)

<div class="topic-metadata">

**Author:** [@feanor12](https://discourse.julialang.org/u/feanor12)\
**Replies:** 8\
**Last updated:** [August 17, 2024, 2:41pm UTC](https://discourse.julialang.org/t/fill-a-curve-in-3d/37890 "2024-08-17T14:41:57Z")

</div>

I want to plot a complex impedance value as a function of frequency. This results in a line in 3D(real, imaginary, frequency). How do I fill the area between the line and the z=0 coordinate in 3D. I tried fillrange an…

---

## [CairoMakie whitespace to right of grid](https://discourse.julialang.org/t/cairomakie-whitespace-to-right-of-grid/118150)

<div class="topic-metadata">

**Author:** [@warnerwarner](https://discourse.julialang.org/u/warnerwarner)\
**Replies:** 1\
**Last updated:** [August 16, 2024, 6:19pm UTC](https://discourse.julialang.org/t/cairomakie-whitespace-to-right-of-grid/118150 "2024-08-16T18:19:27Z")

</div>

I’m not sure if this is a CairoMakie problem, or a VS code problem, but whenever I make figures in CairoMakie and then copy them from VS code it adds a patch of whitespace to the right of the plots? In VS Code is loo…

---

## [CairoMakie Errors out on 3D surface when displaying tooltip](https://discourse.julialang.org/t/cairomakie-errors-out-on-3d-surface-when-displaying-tooltip/118035)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 5\
**Last updated:** [August 16, 2024, 3:33pm UTC](https://discourse.julialang.org/t/cairomakie-errors-out-on-3d-surface-when-displaying-tooltip/118035 "2024-08-16T15:33:35Z")

</div>

Define MWE Module module testtest export goGL, goCairo using CairoMakie using GLMakie # Use as backend to work with tooltip! function thePlotStuff(;withTooltip=true) z=rand(100,100) f=…

---

## [Mesh plotting in GLMakie with GeometryBasics - are normals broken?](https://discourse.julialang.org/t/mesh-plotting-in-glmakie-with-geometrybasics-are-normals-broken/118227)

<div class="topic-metadata">

**Author:** [@Larbino1](https://discourse.julialang.org/u/Larbino1)\
**Replies:** 5\
**Last updated:** [August 16, 2024, 10:30am UTC](https://discourse.julialang.org/t/mesh-plotting-in-glmakie-with-geometrybasics-are-normals-broken/118227 "2024-08-16T10:30:54Z")

</div>

I am trying to produce plots using meshes of basic geometry, and the resulting images are poor. I realised that it is very hard to tell the shape of the cylinder, no matter how I place the lighting, and I think it is bec…

---

## [Divergent colormap with white near center](https://discourse.julialang.org/t/divergent-colormap-with-white-near-center/118215)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 2\
**Last updated:** [August 16, 2024, 5:13am UTC](https://discourse.julialang.org/t/divergent-colormap-with-white-near-center/118215 "2024-08-16T05:13:52Z")

</div>

I’m plotting a 2D field with contourf. The field has positive and negative values and so I use one divergent colormap or another and with a symmetric contouring like levels=-10:2:10. The problem I face now is that I ne…

---

## [Plotting scatter points together with surface plot](https://discourse.julialang.org/t/plotting-scatter-points-together-with-surface-plot/118063)

<div class="topic-metadata">

**Author:** [@MoritzD](https://discourse.julialang.org/u/MoritzD)\
**Replies:** 21\
**Last updated:** [August 15, 2024, 6:06pm UTC](https://discourse.julialang.org/t/plotting-scatter-points-together-with-surface-plot/118063 "2024-08-15T18:06:29Z")

</div>

Hello! I have a function that i want to surface plot and a bunch of points that i want to add to that plot. Unfortunately this doesn’t look good the way i do it. The problem appears to be that i first do the surface pl…

---

## [How to use secondary axis for specific series in a groupedbar plot?](https://discourse.julialang.org/t/how-to-use-secondary-axis-for-specific-series-in-a-groupedbar-plot/118173)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 6\
**Last updated:** [August 15, 2024, 9:04am UTC](https://discourse.julialang.org/t/how-to-use-secondary-axis-for-specific-series-in-a-groupedbar-plot/118173 "2024-08-15T09:04:32Z")

</div>

Is it possible to specify a secondary y-axis for some of the series in a groupedbar plot ? (I am using Plots.jl/StatsPlots.jl) I have tried to split it in two separate calls with twinxs(), but it doesn’t work: x = \[1 3…

---

## [Custom xticks for dates in StatsPlots groupedbar](https://discourse.julialang.org/t/custom-xticks-for-dates-in-statsplots-groupedbar/118112)

<div class="topic-metadata">

**Author:** [@slwu89](https://discourse.julialang.org/u/slwu89)\
**Replies:** 1\
**Last updated:** [August 13, 2024, 8:33am UTC](https://discourse.julialang.org/t/custom-xticks-for-dates-in-statsplots-groupedbar/118112 "2024-08-13T08:33:47Z")

</div>

Hi all, can someone help me understand why my code is not able to produce a plot with custom xticks for a Date x-axis? I would like to plot the time axis using ticks that are spaced out more widely. using DataFrames, St…

---

## [\[Makie\] Get current theme](https://discourse.julialang.org/t/makie-get-current-theme/81564)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 4\
**Last updated:** [August 13, 2024, 7:03am UTC](https://discourse.julialang.org/t/makie-get-current-theme/81564 "2024-08-13T07:03:35Z")

</div>

When using with\_theme, the first argument is a theme, and keyword arguments modify the given theme. This is great if I have a variable bound to the current theme, and I want to make a modification to it only for the foll…

---

## [How to get a Semi transparent sphere in Makie?](https://discourse.julialang.org/t/how-to-get-a-semi-transparent-sphere-in-makie/117944)

<div class="topic-metadata">

**Author:** [@kellertuer](https://discourse.julialang.org/u/kellertuer)\
**Replies:** 2\
**Last updated:** [August 8, 2024, 5:37pm UTC](https://discourse.julialang.org/t/how-to-get-a-semi-transparent-sphere-in-makie/117944 "2024-08-08T17:37:47Z")

</div>

A few years back I asked a question, that I could not fully resolve. At JuliaCon I think I heard it is now possible, so I’ll give it a new try. If I do something like (e.g. in a Pluto cell) begin using WGLMakie, Colors,…

---

## [Plots.jl custom linestyle: longer dashes](https://discourse.julialang.org/t/plots-jl-custom-linestyle-longer-dashes/117772)

<div class="topic-metadata">

**Author:** [@mocalvao](https://discourse.julialang.org/u/mocalvao)\
**Replies:** 9\
**Last updated:** [August 8, 2024, 6:47am UTC](https://discourse.julialang.org/t/plots-jl-custom-linestyle-longer-dashes/117772 "2024-08-08T06:47:16Z")

</div>

I would like to insist whether there is a way to make a customized dash for the linestyle of Plots.jl, by choosing its length and the gap length as well among the dashes. There is a similar topic under Longer dashes in d…

---

## [Set a minimum level in contour plots](https://discourse.julialang.org/t/set-a-minimum-level-in-contour-plots/117907)

<div class="topic-metadata">

**Author:** [@Sh\_166](https://discourse.julialang.org/u/Sh_166)\
**Replies:** 9\
**Last updated:** [August 7, 2024, 11:42am UTC](https://discourse.julialang.org/t/set-a-minimum-level-in-contour-plots/117907 "2024-08-07T11:42:15Z")

</div>

I want to make a contour plot but I only want specific contours - or levels above a certain range. MWE: Pkg.add("Symbolics") Pkg.add("Plots") Pkg.add("LaTeXStrings") Pkg.add("Measures") Pkg.add("PlotThemes") using Sym…

---

## [Which attribute to use to adjust margin between subplot title and subplot placed above?](https://discourse.julialang.org/t/which-attribute-to-use-to-adjust-margin-between-subplot-title-and-subplot-placed-above/117902)

<div class="topic-metadata">

**Author:** [@lisapisa](https://discourse.julialang.org/u/lisapisa)\
**Replies:** 1\
**Last updated:** [August 7, 2024, 7:21am UTC](https://discourse.julialang.org/t/which-attribute-to-use-to-adjust-margin-between-subplot-title-and-subplot-placed-above/117902 "2024-08-07T07:21:37Z")

</div>

Heyy Julia community!! As always, thanks in advance for answering my noob questions. Love this community a lot and appreciate all of you helping out :slight\_smile: I am trying to plot two subplots in one plot, see exam…

---

## [Drawing stripped dodged bar charts in Makie](https://discourse.julialang.org/t/drawing-stripped-dodged-bar-charts-in-makie/114208)

<div class="topic-metadata">

**Author:** [@harrysw](https://discourse.julialang.org/u/harrysw)\
**Replies:** 4\
**Last updated:** [August 6, 2024, 11:40am UTC](https://discourse.julialang.org/t/drawing-stripped-dodged-bar-charts-in-makie/114208 "2024-08-06T11:40:48Z")

</div>

I tried to create a dodged stripped barplot where bars from each plot have different strip directions. After consulting the documentation about dodged bars and stripped bars, I came up with the following short example: …

---

## [How to change the background colour of \`fillstyle\`?](https://discourse.julialang.org/t/how-to-change-the-background-colour-of-fillstyle/117815)

<div class="topic-metadata">

**Author:** [@chuljang](https://discourse.julialang.org/u/chuljang)\
**Replies:** 2\
**Last updated:** [August 6, 2024, 9:02am UTC](https://discourse.julialang.org/t/how-to-change-the-background-colour-of-fillstyle/117815 "2024-08-06T09:02:56Z")

</div>

With the StatsPlots package (not with Makie or other packages), I would like to change the background colour of fillstyle, where it has :+, :|, and etc. Is there any way? Alternatively, I wrote the following code which d…

---

## [3d graphics editor in Julia coming?](https://discourse.julialang.org/t/3d-graphics-editor-in-julia-coming/117851)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 2\
**Last updated:** [August 6, 2024, 2:09am UTC](https://discourse.julialang.org/t/3d-graphics-editor-in-julia-coming/117851 "2024-08-06T02:09:53Z")

</div>

First, let’s address the elephant in the room. 3d graphic editors like Blender are difficult. And I do have an idea on a 3d graphic system in Julia, though it’s probably stupid, and even if not, who am I to make it done…

---

## [A good colorscheme encodes the right information on data. Is inferno a good colorscheme?](https://discourse.julialang.org/t/a-good-colorscheme-encodes-the-right-information-on-data-is-inferno-a-good-colorscheme/99962)

<div class="topic-metadata">

**Author:** [@empet](https://discourse.julialang.org/u/empet)\
**Replies:** 0\
**Last updated:** [June 6, 2023, 7:55pm UTC](https://discourse.julialang.org/t/a-good-colorscheme-encodes-the-right-information-on-data-is-inferno-a-good-colorscheme/99962 "2023-06-06T19:55:05Z")

</div>

There is a thread https://discourse.julialang.org/t/comparison-of-plotting-packages/99860 where users of different plotting/drawing libraries try to convince the readers about the superiority of their tool. No matter w…

---

## [Axis-relative positioning](https://discourse.julialang.org/t/axis-relative-positioning/117749)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 3\
**Last updated:** [August 3, 2024, 9:23am UTC](https://discourse.julialang.org/t/axis-relative-positioning/117749 "2024-08-03T09:23:06Z")

</div>

I want to say Axis(ax\[1,1\]; bbox = BBox(x,x+100,y,y+50)) with the x and y being on the scale of ax’s axes – i.e. in data space. But ax\[1,1\] doesn’t work so I use Axis(fig, and so x and y are relative to fig’s coordinates…

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

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