# Visualization

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

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

**Page:** 73

---

## [Playing with live plots in Pluto](https://discourse.julialang.org/t/playing-with-live-plots-in-pluto/44062)

<div class="topic-metadata">

**Author:** [@klaff](https://discourse.julialang.org/u/klaff)\
**Replies:** 4\
**Last updated:** [January 5, 2021, 1:29pm UTC](https://discourse.julialang.org/t/playing-with-live-plots-in-pluto/44062 "2021-01-05T13:29:33Z")

</div>

I’m playing with live plotting using Pluto.jl. I have a simple plot updating at about 20 fps depending on what my computer is doing. I’m curious if anyone else is trying this sort of thing and if there are ways to get be…

---

## [WGLMakie meshscatter plot GPU load goes to 70% and stays there](https://discourse.julialang.org/t/wglmakie-meshscatter-plot-gpu-load-goes-to-70-and-stays-there/52810)

<div class="topic-metadata">

**Author:** [@woolstar](https://discourse.julialang.org/u/woolstar)\
**Replies:** 0\
**Last updated:** [January 4, 2021, 5:52am UTC](https://discourse.julialang.org/t/wglmakie-meshscatter-plot-gpu-load-goes-to-70-and-stays-there/52810 "2021-01-04T05:52:05Z")

</div>

I am doing some 3D plotting in Makie (using WGLMakie in Pluto), and even when not changing the scene, the load on my graphics card goes to about 70% and stays there, as if it is continually redrawing the scene. Is there…

---

## [Showing plots within DataFrames.jl + Plots.jl](https://discourse.julialang.org/t/showing-plots-within-dataframes-jl-plots-jl/52708)

<div class="topic-metadata">

**Author:** [@delnatan](https://discourse.julialang.org/u/delnatan)\
**Replies:** 4\
**Last updated:** [January 2, 2021, 6:17pm UTC](https://discourse.julialang.org/t/showing-plots-within-dataframes-jl-plots-jl/52708 "2021-01-02T18:17:43Z")

</div>

Hi everyone! I was playing around with Pluto.jl and found that you can display individual plots stored in a column within a DataFrame. This is pretty cool! For example: using Plots using DataFrames arrplots = \[ plot…

---

## [Plots.jl: can we connect two points in a D-2 plot with a straight line?](https://discourse.julialang.org/t/plots-jl-can-we-connect-two-points-in-a-d-2-plot-with-a-straight-line/52711)

<div class="topic-metadata">

**Author:** [@VivMendes](https://discourse.julialang.org/u/VivMendes)\
**Replies:** 2\
**Last updated:** [January 1, 2021, 10:41pm UTC](https://discourse.julialang.org/t/plots-jl-can-we-connect-two-points-in-a-d-2-plot-with-a-straight-line/52711 "2021-01-01T22:41:57Z")

</div>

Suppose I have a D-2 plot produced by Plots.jl, which may display a time series or a mere parabola. Is it possible to connect two points with a straight line by using annotations or any other Plots’ functionality? I am n…

---

## [How to set face color per triangle when using plot\_trisurf in PyPlot](https://discourse.julialang.org/t/how-to-set-face-color-per-triangle-when-using-plot-trisurf-in-pyplot/4662)

<div class="topic-metadata">

**Author:** [@fruno](https://discourse.julialang.org/u/fruno)\
**Replies:** 9\
**Last updated:** [December 29, 2020, 9:56pm UTC](https://discourse.julialang.org/t/how-to-set-face-color-per-triangle-when-using-plot-trisurf-in-pyplot/4662 "2020-12-29T21:56:31Z")

</div>

Hi, I want to set the face color of each triangle individually when plotting with plot\_trisurf in PyPlot. The matplotlib manual seems to indicate that face color is set with the option ‘color’ (as a tuple), but there is …

---

## [How in GRUtils or GLMakie to have the same range of colormap across plots?](https://discourse.julialang.org/t/how-in-grutils-or-glmakie-to-have-the-same-range-of-colormap-across-plots/52422)

<div class="topic-metadata">

**Author:** [@vshesh](https://discourse.julialang.org/u/vshesh)\
**Replies:** 1\
**Last updated:** [December 26, 2020, 9:24pm UTC](https://discourse.julialang.org/t/how-in-grutils-or-glmakie-to-have-the-same-range-of-colormap-across-plots/52422 "2020-12-26T21:24:43Z")

</div>

I’m trying to compare distance functions looking at a heatmap of the distance matrix and can’t see anywhere in the documentation how to tell the plot function what the “range” of the data to apply to the colormap is. i …

---

## [Surfc equivalent? Plotting contour underneath surfacep plot](https://discourse.julialang.org/t/surfc-equivalent-plotting-contour-underneath-surfacep-plot/52108)

<div class="topic-metadata">

**Author:** [@jg-854](https://discourse.julialang.org/u/jg-854)\
**Replies:** 2\
**Last updated:** [December 20, 2020, 2:44am UTC](https://discourse.julialang.org/t/surfc-equivalent-plotting-contour-underneath-surfacep-plot/52108 "2020-12-20T02:44:13Z")

</div>

MATLAB has this feature which allows you to plot a contour plot underneath a surface plot of a function. I would like to recreate this in JULIA. If I used contour!() after surface(), this doesn’t seem to work… Thanks! …

---

## [How to specify point vs fill for Geom.point in Gadfly?](https://discourse.julialang.org/t/how-to-specify-point-vs-fill-for-geom-point-in-gadfly/52097)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Replies:** 3\
**Last updated:** [December 19, 2020, 10:12pm UTC](https://discourse.julialang.org/t/how-to-specify-point-vs-fill-for-geom-point-in-gadfly/52097 "2020-12-19T22:12:53Z")

</div>

In the gallery example here we have: using Gadfly, RDatasets set\_default\_plot\_size(21cm, 8cm) p1 = plot(dataset("MASS", "mammals"), x="Body", y="Brain", label=1, Scale.x\_log10, Scale.y\_log10, Geom.point, Geom.label…

---

## [WGLMakie animations?](https://discourse.julialang.org/t/wglmakie-animations/52084)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 5\
**Last updated:** [December 19, 2020, 4:55pm UTC](https://discourse.julialang.org/t/wglmakie-animations/52084 "2020-12-19T16:55:00Z")

</div>

Hi, I use (GL)Makie for animations. When I replace using GLMakie with using WGLMakie its fails: ERROR: type GenericIOBuffer has no field io Is it possible to display animations via WGLMakie ? Is there an example avai…

---

## [Preventing abuse with interactive Pluto notebooks](https://discourse.julialang.org/t/preventing-abuse-with-interactive-pluto-notebooks/45588)

<div class="topic-metadata">

**Author:** [@stroebel](https://discourse.julialang.org/u/stroebel)\
**Replies:** 5\
**Last updated:** [December 17, 2020, 1:14pm UTC](https://discourse.julialang.org/t/preventing-abuse-with-interactive-pluto-notebooks/45588 "2020-12-17T13:14:15Z")

</div>

I’ve never been a fan of notebooks but Pluto has converted me, I think. And this has led me to think about ways to share notebooks, especially with interactive elements (my first thought was about using it in a teaching …

---

## [Compose GraphPlot LightGraphs Position](https://discourse.julialang.org/t/compose-graphplot-lightgraphs-position/33177)

<div class="topic-metadata">

**Author:** [@Simplex](https://discourse.julialang.org/u/Simplex)\
**Replies:** 8\
**Last updated:** [December 16, 2020, 10:41am UTC](https://discourse.julialang.org/t/compose-graphplot-lightgraphs-position/33177 "2020-12-16T10:41:50Z")

</div>

I do a project about infection spreading. I want to have my network immovable but I don’t find a solution. I also tried to have no superposition but I find nothing Thanks a lot for your help ! My code won’t work with …

---

## [Help to plot in Julia](https://discourse.julialang.org/t/help-to-plot-in-julia/51910)

<div class="topic-metadata">

**Author:** [@Enrique](https://discourse.julialang.org/u/Enrique)\
**Replies:** 6\
**Last updated:** [December 16, 2020, 8:47am UTC](https://discourse.julialang.org/t/help-to-plot-in-julia/51910 "2020-12-16T08:47:58Z")

</div>

I love Julia, but I still do not figure out how to make pretty plots. The figure size is in pixels rather than inches, which complicates things when you want to set font sizes (in points). LaTeXStrings does not work in W…

---

## [3d plot plotly vs plotlyjs](https://discourse.julialang.org/t/3d-plot-plotly-vs-plotlyjs/51907)

<div class="topic-metadata">

**Author:** [@espin](https://discourse.julialang.org/u/espin)\
**Replies:** 1\
**Last updated:** [December 16, 2020, 6:17am UTC](https://discourse.julialang.org/t/3d-plot-plotly-vs-plotlyjs/51907 "2020-12-16T06:17:08Z")

</div>

So I have a 2 dimensional array I want to plot as a 3d surface in plotlyjs, the problem is that is not working on plotlyjs even though it works ok on plotly. Here is an example: using Plots plotly() A=reshape(repeat(si…

---

## [Image rotation](https://discourse.julialang.org/t/image-rotation/2637)

<div class="topic-metadata">

**Author:** [@yalexand](https://discourse.julialang.org/u/yalexand)\
**Replies:** 10\
**Last updated:** [December 15, 2020, 10:17am UTC](https://discourse.julialang.org/t/image-rotation/2637 "2020-12-15T10:17:14Z")

</div>

Hi All, I can’t find an analog for Matlab “imrotate” function. Maybe I overlooked it, or really there isn’t such thing? Here it is in Matlab, to save you clicking: imrotate Rotate image. B = imrotate(A,ANGLE) rot…

---

## [Again, another simple 2D plotting tool](https://discourse.julialang.org/t/again-another-simple-2d-plotting-tool/51837)

<div class="topic-metadata">

**Author:** [@ig-or](https://discourse.julialang.org/u/ig-or)\
**Replies:** 0\
**Last updated:** [December 15, 2020, 12:09am UTC](https://discourse.julialang.org/t/again-another-simple-2d-plotting-tool/51837 "2020-12-15T00:09:49Z")

</div>

Hello, made another 2D plotting tool for Julia… QWTWPlot.jl maybe it could be useful for quick data analysis. It does not have many features but allows to quickly create a number of “connected” plots, like when you mov…

---

## [Several contour plots in one 3d plot](https://discourse.julialang.org/t/several-contour-plots-in-one-3d-plot/50986)

<div class="topic-metadata">

**Author:** [@Flausi](https://discourse.julialang.org/u/Flausi)\
**Replies:** 5\
**Last updated:** [December 11, 2020, 2:35pm UTC](https://discourse.julialang.org/t/several-contour-plots-in-one-3d-plot/50986 "2020-12-11T14:35:14Z")

</div>

Hello, is there a possibility in Julia to combine several contour plots into one 3D plot like in the picture? I have tried a little bit with GLMike, but did not get it. I would be very happy if there is a solution.

---

## [How to make a custom (/manual) legend with Plots.jl?](https://discourse.julialang.org/t/how-to-make-a-custom-manual-legend-with-plots-jl/51579)

<div class="topic-metadata">

**Author:** [@bvilmann](https://discourse.julialang.org/u/bvilmann)\
**Replies:** 0\
**Last updated:** [December 10, 2020, 2:45am UTC](https://discourse.julialang.org/t/how-to-make-a-custom-manual-legend-with-plots-jl/51579 "2020-12-10T02:45:30Z")

</div>

Dear community! I want to make a common (/manual) legend for my plot for the various “types” of production units. How do I do that with Plots? My code is something similar to: groupedbar( hcat(C'-P', P',zeros(N…

---

## [Plots: reducing subplot size](https://discourse.julialang.org/t/plots-reducing-subplot-size/51407)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 0\
**Last updated:** [December 7, 2020, 3:49pm UTC](https://discourse.julialang.org/t/plots-reducing-subplot-size/51407 "2020-12-07T15:49:45Z")

</div>

Hi, I’m making composed plots where the legend would be the same for each subplot. As such, I want only one legend for all plots and it would have to be next to the grid layout. At the moment I can only set label = "" f…

---

## [Plots and Makie comingling packages](https://discourse.julialang.org/t/plots-and-makie-comingling-packages/51345)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 0\
**Last updated:** [December 6, 2020, 3:31pm UTC](https://discourse.julialang.org/t/plots-and-makie-comingling-packages/51345 "2020-12-06T15:31:45Z")

</div>

As I’ve learned julia and written my own composite types, I started creating recipes for Plots.jl. Then I discovered that Makie.jl was better for 3D and interacting so more recent packages I developed used Makie.jl to p…

---

## [Plots, animation, problem with indendent layout](https://discourse.julialang.org/t/plots-animation-problem-with-indendent-layout/51302)

<div class="topic-metadata">

**Author:** [@DIzer](https://discourse.julialang.org/u/DIzer)\
**Replies:** 2\
**Last updated:** [December 5, 2020, 3:52pm UTC](https://discourse.julialang.org/t/plots-animation-problem-with-indendent-layout/51302 "2020-12-05T15:52:21Z")

</div>

Hello everybody, I need to animate a peace of experimental data. The outline of calculation is below. … #some calculations anim = Animation() l = @layout \[a; c{0.2h}\] for (n\_, line) in enumerate(lines1) … #some ca…

---

## [How to prevent plot! from over-writing earlier saved plot](https://discourse.julialang.org/t/how-to-prevent-plot-from-over-writing-earlier-saved-plot/51072)

<div class="topic-metadata">

**Author:** [@CosmoProf](https://discourse.julialang.org/u/CosmoProf)\
**Replies:** 2\
**Last updated:** [December 2, 2020, 3:40am UTC](https://discourse.julialang.org/t/how-to-prevent-plot-from-over-writing-earlier-saved-plot/51072 "2020-12-02T03:40:14Z")

</div>

Hi, I’ve asked this as part of an earlier question, but no resolution yet. In my program, I have this contour plot extracted from data after many hours of execution, and I have to add new data on top of the contour plo…

---

## [Plotting differential equations solutions with varying color](https://discourse.julialang.org/t/plotting-differential-equations-solutions-with-varying-color/50884)

<div class="topic-metadata">

**Author:** [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Replies:** 1\
**Last updated:** [November 28, 2020, 4:00am UTC](https://discourse.julialang.org/t/plotting-differential-equations-solutions-with-varying-color/50884 "2020-11-28T04:00:41Z")

</div>

When plotting DifferentialEquations solutions, the plotdensity keyword does not seem to work together with line\_z. See code below where data interpolation within Plots does not take place, when we color the solution by t…

---

## [Convert Array{UInt32, 2} to ARGB image with Images.jl](https://discourse.julialang.org/t/convert-array-uint32-2-to-argb-image-with-images-jl/50822)

<div class="topic-metadata">

**Author:** [@wrgr](https://discourse.julialang.org/u/wrgr)\
**Replies:** 2\
**Last updated:** [November 27, 2020, 7:53am UTC](https://discourse.julialang.org/t/convert-array-uint32-2-to-argb-image-with-images-jl/50822 "2020-11-27T07:53:05Z")

</div>

How to convert Array{UInt32, 2} to ARGB image with Images.jl?

---

## [How to set x-axis positions in StatPlots' violin plot?](https://discourse.julialang.org/t/how-to-set-x-axis-positions-in-statplots-violin-plot/15421)

<div class="topic-metadata">

**Author:** [@rickhg12hs](https://discourse.julialang.org/u/rickhg12hs)\
**Replies:** 4\
**Last updated:** [September 24, 2018, 1:00pm UTC](https://discourse.julialang.org/t/how-to-set-x-axis-positions-in-statplots-violin-plot/15421 "2018-09-24T13:00:53Z")

</div>

I’d like to create a violin plot of a DataFrame and set each “violin” at its linear respective position. For example, this plot: # some data to play with n = 10000 f(k) = randn(k) df2 = DataFrame(hcat(f(n).+1, f(n).-1, …

---

## [Blank GLMakie.jl window make system unusable while open](https://discourse.julialang.org/t/blank-glmakie-jl-window-make-system-unusable-while-open/50763)

<div class="topic-metadata">

**Author:** [@ndinsmore](https://discourse.julialang.org/u/ndinsmore)\
**Replies:** 3\
**Last updated:** [November 25, 2020, 8:51pm UTC](https://discourse.julialang.org/t/blank-glmakie-jl-window-make-system-unusable-while-open/50763 "2020-11-25T20:51:38Z")

</div>

Whenever I make something simple as even a large blank Makie window my system becomes unusable. For example, if I switch back to vs code it takes a good 3-4 seconds for the text to show up in the editor window, and the…

---

## [Fun Animations](https://discourse.julialang.org/t/fun-animations/45542)

<div class="topic-metadata">

**Author:** [@anon92994695](https://discourse.julialang.org/u/anon92994695)\
**Replies:** 8\
**Last updated:** [November 24, 2020, 2:34pm UTC](https://discourse.julialang.org/t/fun-animations/45542 "2020-11-24T14:34:20Z")

</div>

Figured I’d try out another weird thread idea. The idea is: if you have a fun animation share it below. Discussions about animations welcome, but being a jerk is not. Doesn’t need to be cream of the crop highly polished,…

---

## [A question about scatter plot in Plots.jl](https://discourse.julialang.org/t/a-question-about-scatter-plot-in-plots-jl/50638)

<div class="topic-metadata">

**Author:** [@O\_Julia](https://discourse.julialang.org/u/O_Julia)\
**Replies:** 2\
**Last updated:** [November 24, 2020, 11:02am UTC](https://discourse.julialang.org/t/a-question-about-scatter-plot-in-plots-jl/50638 "2020-11-24T11:02:37Z")

</div>

I have three variables as coordinates in space and a fourth variable being color. I want to assign each color to each point in space. In python this can be done as follows: from mpl\_toolkits.mplot3d import Axes3D import…

---

## [Support for CategoricalValue in StatsPlots](https://discourse.julialang.org/t/support-for-categoricalvalue-in-statsplots/47523)

<div class="topic-metadata">

**Author:** [@skorpio11](https://discourse.julialang.org/u/skorpio11)\
**Replies:** 3\
**Last updated:** [November 23, 2020, 4:25am UTC](https://discourse.julialang.org/t/support-for-categoricalvalue-in-statsplots/47523 "2020-11-23T04:25:00Z")

</div>

Hi I am following the walkthrough for StatsPlots at: https://github.com/JuliaPlots/StatsPlots.jl Using Julia Version 1.4.1 Got into problems when trying the violin plot: singers = RDatasets.dataset("lattice", "singer…

---

## [How do I install backends for Plots.jl](https://discourse.julialang.org/t/how-do-i-install-backends-for-plots-jl/50592)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 4\
**Last updated:** [November 22, 2020, 7:50pm UTC](https://discourse.julialang.org/t/how-do-i-install-backends-for-plots-jl/50592 "2020-11-22T19:50:17Z")

</div>

How do I install a backend for Plots.jl? I wanted to try PGFPlotsX, to see if it would allow easier editing in LaTeX

---

## [Sliders and plot together in one windows](https://discourse.julialang.org/t/sliders-and-plot-together-in-one-windows/50538)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 2\
**Last updated:** [November 22, 2020, 1:16pm UTC](https://discourse.julialang.org/t/sliders-and-plot-together-in-one-windows/50538 "2020-11-22T13:16:01Z")

</div>

Hi, I am preparing a lecture on Hypothesis testing for students and plan to go from the very basic, hopefully helping them understand the problems. Last year, my notebook was in Jupyter with Interact package, which was…

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

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