# Visualization

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

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

**Page:** 81

---

## [Plotting with PGFPlots not able to superimpose graphs in a for loop](https://discourse.julialang.org/t/plotting-with-pgfplots-not-able-to-superimpose-graphs-in-a-for-loop/35782)

<div class="topic-metadata">

**Author:** [@JosephPollacco](https://discourse.julialang.org/u/JosephPollacco)\
**Replies:** 7\
**Last updated:** [March 12, 2020, 7:37am UTC](https://discourse.julialang.org/t/plotting-with-pgfplots-not-able-to-superimpose-graphs-in-a-for-loop/35782 "2020-03-12T07:37:01Z")

</div>

I am plotting with PGFPlots JULIA, and I would like to superimpose graphs in the loop such as in Plots by using Plot!. But I was only successful to produce separate graphs: X = ∑T\[1:θcalibr.Nt\] Plot\_θcalibr = Gro…

---

## [Discrete heatmap in Plots.jl](https://discourse.julialang.org/t/discrete-heatmap-in-plots-jl/35708)

<div class="topic-metadata">

**Author:** [@c1991](https://discourse.julialang.org/u/c1991)\
**Replies:** 1\
**Last updated:** [March 8, 2020, 6:12am UTC](https://discourse.julialang.org/t/discrete-heatmap-in-plots-jl/35708 "2020-03-08T06:12:34Z")

</div>

The following code gives me exactly what I need except that I do not want a continuous colorbar. How do I get a discrete color bar (i.e. 1 = “red”, 2 = “blue”, and 3 = “green”, etc.)? timePeriods = 12 nodes = 15 ys =…

---

## [Visualizing a 3D volume in Makie: Lighting, smoothness](https://discourse.julialang.org/t/visualizing-a-3d-volume-in-makie-lighting-smoothness/35263)

<div class="topic-metadata">

**Author:** [@dalarev](https://discourse.julialang.org/u/dalarev)\
**Replies:** 7\
**Last updated:** [March 8, 2020, 3:38am UTC](https://discourse.julialang.org/t/visualizing-a-3d-volume-in-makie-lighting-smoothness/35263 "2020-03-08T03:38:43Z")

</div>

In plotting discrete 3D arrays using Makie, how can one modify the lighting and smoothness properties? Here is an example of a thick, extruded cross geometry constructed as a binary 3D array. (Figure on left) The lighti…

---

## [Vegalite.jl: levels and DataFrames](https://discourse.julialang.org/t/vegalite-jl-levels-and-dataframes/35638)

<div class="topic-metadata">

**Author:** [@Usor](https://discourse.julialang.org/u/Usor)\
**Replies:** 10\
**Last updated:** [March 6, 2020, 4:15pm UTC](https://discourse.julialang.org/t/vegalite-jl-levels-and-dataframes/35638 "2020-03-06T16:15:18Z")

</div>

I was reading about levels for DataFrames. How exactly can they be useful with Vegalite.jl? I read about for example display purposes: when I tried to plot some data with this in mind (already some months ago), there wa…

---

## [Vegalite.jl: use dots for separation sign](https://discourse.julialang.org/t/vegalite-jl-use-dots-for-separation-sign/35569)

<div class="topic-metadata">

**Author:** [@Usor](https://discourse.julialang.org/u/Usor)\
**Replies:** 4\
**Last updated:** [March 5, 2020, 3:07pm UTC](https://discourse.julialang.org/t/vegalite-jl-use-dots-for-separation-sign/35569 "2020-03-05T15:07:36Z")

</div>

Is there a setting to use . instead of , for digit separation in the resulting plot itself? (E.g., 1.000 instead of 1,000 for a thousand.) Alternatively, is there a setting to use a space character?

---

## [VegaLite: facet plot with running average layer](https://discourse.julialang.org/t/vegalite-facet-plot-with-running-average-layer/35463)

<div class="topic-metadata">

**Author:** [@jtackm](https://discourse.julialang.org/u/jtackm)\
**Replies:** 3\
**Last updated:** [March 4, 2020, 12:19pm UTC](https://discourse.julialang.org/t/vegalite-facet-plot-with-running-average-layer/35463 "2020-03-04T12:19:05Z")

</div>

I have a dataset with continuous values and would like to plot those values together with their running averages in a layered plot. Works well in this simple case: using Random, DataFrames, Queryverse Random.seed!(1234)…

---

## [GraphPlot: calling gplot() inside function does often not work (in Atom)](https://discourse.julialang.org/t/graphplot-calling-gplot-inside-function-does-often-not-work-in-atom/35086)

<div class="topic-metadata">

**Author:** [@mike\_k](https://discourse.julialang.org/u/mike_k)\
**Replies:** 2\
**Last updated:** [March 3, 2020, 8:01am UTC](https://discourse.julialang.org/t/graphplot-calling-gplot-inside-function-does-often-not-work-in-atom/35086 "2020-03-03T08:01:55Z")

</div>

Dear community, I observe a strange behavior when plotting graphs with GraphPlot. In most cases it refuses to plot the input graph if I call gplot() via a function. However, sometimes (in rare cases) it works. Calling g…

---

## [How to set labels for eached coloured bar in Plots.jl's bar()?](https://discourse.julialang.org/t/how-to-set-labels-for-eached-coloured-bar-in-plots-jls-bar/9312)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 11\
**Last updated:** [March 2, 2020, 11:00am UTC](https://discourse.julialang.org/t/how-to-set-labels-for-eached-coloured-bar-in-plots-jls-bar/9312 "2020-03-02T11:00:28Z")

</div>

bar( \["a","b","c"\], \[1,2,3\], fillcolor = categorical(\["a","b","c"\]).refs, labels = \["a","b","c"\] ) I can make the plot with the above code, but I can’t seem to work out how to make the labels follow the …

---

## [How do i show plots in a PDF generated through Weave?](https://discourse.julialang.org/t/how-do-i-show-plots-in-a-pdf-generated-through-weave/35346)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 2\
**Last updated:** [March 1, 2020, 1:45am UTC](https://discourse.julialang.org/t/how-do-i-show-plots-in-a-pdf-generated-through-weave/35346 "2020-03-01T01:45:16Z")

</div>

Using this code, I’m able to turn my .jl file into a pdf, including calculations weave("Soc323.jl", out\_path = "C:/Users/brett/OneDrive/Documents", doctype = "md2pdf") but none of my plots are included, is there a comm…

---

## [Polar heatmap with PyPlot works in REPL but not in IJulia](https://discourse.julialang.org/t/polar-heatmap-with-pyplot-works-in-repl-but-not-in-ijulia/35328)

<div class="topic-metadata">

**Author:** [@KajWiik](https://discourse.julialang.org/u/KajWiik)\
**Replies:** 1\
**Last updated:** [February 29, 2020, 6:21pm UTC](https://discourse.julialang.org/t/polar-heatmap-with-pyplot-works-in-repl-but-not-in-ijulia/35328 "2020-02-29T18:21:36Z")

</div>

Plotting polar heatmap works in REPL but not in IJulia, here’s the MWE: using PyPlot r = \[rd for rd = range(0.0, 10, length = 100), theta = range(0, 2π, length = 100)\] th = \[theta for rd = range(0.0, 10, length = 100), …

---

## [Axis label skewed and wrongly positioned when setting guidefont](https://discourse.julialang.org/t/axis-label-skewed-and-wrongly-positioned-when-setting-guidefont/35116)

<div class="topic-metadata">

**Author:** [@mlanghinrichs](https://discourse.julialang.org/u/mlanghinrichs)\
**Replies:** 0\
**Last updated:** [February 25, 2020, 2:24pm UTC](https://discourse.julialang.org/t/axis-label-skewed-and-wrongly-positioned-when-setting-guidefont/35116 "2020-02-25T14:24:58Z")

</div>

Hi all, I noticed that my x axis label is somehow weirdly positioned and rotated when setting a particular font as guidefont (plot p2). I’m using the Plots.jl package with the GR backend. In case I don’t set the guidefo…

---

## [3D Mandelbrot Set visualization](https://discourse.julialang.org/t/3d-mandelbrot-set-visualization/34148)

<div class="topic-metadata">

**Author:** [@Skoffer](https://discourse.julialang.org/u/Skoffer)\
**Replies:** 5\
**Last updated:** [February 20, 2020, 7:22am UTC](https://discourse.julialang.org/t/3d-mandelbrot-set-visualization/34148 "2020-02-20T07:22:07Z")

</div>

May be a little off topic, but I saw this beautiful video This equation will change how you see the world (the logistic map) - YouTube and was wondering, is it possible to draw something like this in Julia? May be in Mak…

---

## [Congratulations to VideoIO and Makie maintainers](https://discourse.julialang.org/t/congratulations-to-videoio-and-makie-maintainers/34844)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 0\
**Last updated:** [February 19, 2020, 11:55am UTC](https://discourse.julialang.org/t/congratulations-to-videoio-and-makie-maintainers/34844 "2020-02-19T11:55:30Z")

</div>

Quite often in the past I have moaned on here about VideoIO not working to read data from a webcam. I have filed several issues on the VideoIO repository. I am very pleased to say that I loaded VideoIO and Makie on a De…

---

## [When plotting, option "showaxis" does not accept "Symbol" or "String" type](https://discourse.julialang.org/t/when-plotting-option-showaxis-does-not-accept-symbol-or-string-type/34782)

<div class="topic-metadata">

**Author:** [@tferic](https://discourse.julialang.org/u/tferic)\
**Replies:** 2\
**Last updated:** [February 18, 2020, 11:00pm UTC](https://discourse.julialang.org/t/when-plotting-option-showaxis-does-not-accept-symbol-or-string-type/34782 "2020-02-18T23:00:52Z")

</div>

Hi, I am using Julia 1.0.3 in JuliaBox. I am facing an error when trying to use the “showaxis” option in plotting. I am trying to hide the labels of the x-axis, and display the labels of the y-axis. According to the d…

---

## [Can Makie render a scene at resolutions larger than the display?](https://discourse.julialang.org/t/can-makie-render-a-scene-at-resolutions-larger-than-the-display/34772)

<div class="topic-metadata">

**Author:** [@NiclasMattsson](https://discourse.julialang.org/u/NiclasMattsson)\
**Replies:** 0\
**Last updated:** [February 17, 2020, 8:13pm UTC](https://discourse.julialang.org/t/can-makie-render-a-scene-at-resolutions-larger-than-the-display/34772 "2020-02-17T20:13:58Z")

</div>

For example, suppose I want the simple line demo in the Makie docs rendered into a 5000x3000 PNG: using Makie x = range(0, stop = 2pi, length = 40) f(x) = sin.(x) y = f(x) scene = lines(x, y, color = :blue; resolution=…

---

## [Pie charts](https://discourse.julialang.org/t/pie-charts/34707)

<div class="topic-metadata">

**Author:** [@Michaela\_Maskova](https://discourse.julialang.org/u/Michaela_Maskova)\
**Replies:** 11\
**Last updated:** [February 17, 2020, 8:07pm UTC](https://discourse.julialang.org/t/pie-charts/34707 "2020-02-17T20:07:07Z")

</div>

Hello everyone, I am trying to plot a pie chart, unfortunately the only thing I could plot was the simplest version of it. I was unable to find any documentation and would love some help. I did find some examples using …

---

## [Vegalite.jl Linear Fitting & Question of Controlling Interface](https://discourse.julialang.org/t/vegalite-jl-linear-fitting-question-of-controlling-interface/34681)

<div class="topic-metadata">

**Author:** [@Usor](https://discourse.julialang.org/u/Usor)\
**Replies:** 3\
**Last updated:** [February 16, 2020, 2:55pm UTC](https://discourse.julialang.org/t/vegalite-jl-linear-fitting-question-of-controlling-interface/34681 "2020-02-16T14:55:14Z")

</div>

What is the easiest most basic example of quickly fitting to a simple scatterplot using Vegalite.jl? (Say, with two columns of some numbers.) My other question is whether there are any plans to again have that higher ge…

---

## [PlotlyJS: How to add another set of data to an existing plot?](https://discourse.julialang.org/t/plotlyjs-how-to-add-another-set-of-data-to-an-existing-plot/15914)

<div class="topic-metadata">

**Author:** [@Moses](https://discourse.julialang.org/u/Moses)\
**Replies:** 6\
**Last updated:** [February 15, 2020, 10:06am UTC](https://discourse.julialang.org/t/plotlyjs-how-to-add-another-set-of-data-to-an-existing-plot/15914 "2020-02-15T10:06:35Z")

</div>

I am trying to update an existing plot with a second trace using PlotlyJS with Julia 1.0 and Atom on Windows 8.1. using Plots using PlotlyJS plotlyjs() # intended to switch to the according backend x = \[range(0, lengt…

---

## [Plotting a series of discontinuous lines with PyPlot](https://discourse.julialang.org/t/plotting-a-series-of-discontinuous-lines-with-pyplot/34659)

<div class="topic-metadata">

**Author:** [@totorotoby](https://discourse.julialang.org/u/totorotoby)\
**Replies:** 0\
**Last updated:** [February 14, 2020, 10:50pm UTC](https://discourse.julialang.org/t/plotting-a-series-of-discontinuous-lines-with-pyplot/34659 "2020-02-14T22:50:14Z")

</div>

I am attempting to use matplotlib’s LineCollection in PyPlot to multiple sets of discontinuous lines in a loop. I started writing my code after reading this: http://julia-programming-language.2336112.n4.nabble.com/PyPlot…

---

## [Plotting markdown in the legend](https://discourse.julialang.org/t/plotting-markdown-in-the-legend/34637)

<div class="topic-metadata">

**Author:** [@crinders](https://discourse.julialang.org/u/crinders)\
**Replies:** 2\
**Last updated:** [February 14, 2020, 6:55pm UTC](https://discourse.julialang.org/t/plotting-markdown-in-the-legend/34637 "2020-02-14T18:55:09Z")

</div>

I am trying to plot Markdown in the legend of a plot. According to this blog post by @Tamas\_Papp LaTeXStrings.jl can be used to display latex math and that works, but when I want to typeset other LaTeX commands it doesn…

---

## [\[ANN\] New package GRUtils](https://discourse.julialang.org/t/ann-new-package-grutils/29019)

<div class="topic-metadata">

**Author:** [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Replies:** 15\
**Last updated:** [February 14, 2020, 10:30am UTC](https://discourse.julialang.org/t/ann-new-package-grutils/29019 "2020-02-14T10:30:08Z")

</div>

Hi, I would like to announce the release of version 0.1.0 of GRUtils, an experimental package that provides yet another interface to plot with GR in Julia. Why on earth would anyone need it? - you may ask. Plots is alre…

---

## [Why Atom try to reinstall Matplotlib using Conda so frequently?](https://discourse.julialang.org/t/why-atom-try-to-reinstall-matplotlib-using-conda-so-frequently/34576)

<div class="topic-metadata">

**Author:** [@josimar](https://discourse.julialang.org/u/josimar)\
**Replies:** 0\
**Last updated:** [February 13, 2020, 2:33pm UTC](https://discourse.julialang.org/t/why-atom-try-to-reinstall-matplotlib-using-conda-so-frequently/34576 "2020-02-13T14:33:17Z")

</div>

It often happens that Atom tries to reinstall matplotlib using Conda. However, this is already installed and I don’t understand why it gets stuck on this. Below I copy the exact code and message that I get. Note: this …

---

## [Making a surface from scattered data](https://discourse.julialang.org/t/making-a-surface-from-scattered-data/27622)

<div class="topic-metadata">

**Author:** [@Noel\_Araujo](https://discourse.julialang.org/u/Noel_Araujo)\
**Replies:** 4\
**Last updated:** [February 13, 2020, 2:29pm UTC](https://discourse.julialang.org/t/making-a-surface-from-scattered-data/27622 "2020-02-13T14:29:12Z")

</div>

I would to transform scattered data into a surface. Google told me that is I could do it in Matlab\[1,2\] or Python \[3\] using Delaunay triangulation. But I cannot find a similar example in Julia with VoronoiDelaunay.jl an…

---

## [Julia plots error with errorbars in v0.29.0](https://discourse.julialang.org/t/julia-plots-error-with-errorbars-in-v0-29-0/34404)

<div class="topic-metadata">

**Author:** [@transarcus](https://discourse.julialang.org/u/transarcus)\
**Replies:** 2\
**Last updated:** [February 10, 2020, 10:51am UTC](https://discourse.julialang.org/t/julia-plots-error-with-errorbars-in-v0-29-0/34404 "2020-02-10T10:51:42Z")

</div>

I have been quite happily plotting graphs with errorbars in julia, but today it started to give me an error. I have tried searching for this issue but haven’t been able to find anything. using Plots plot(\[1,2,3,4\],\[1,2,…

---

## [How to set the zoomspeed for Camera3D in Makie.jl](https://discourse.julialang.org/t/how-to-set-the-zoomspeed-for-camera3d-in-makie-jl/34205)

<div class="topic-metadata">

**Author:** [@JesperMartinsson](https://discourse.julialang.org/u/JesperMartinsson)\
**Replies:** 0\
**Last updated:** [February 5, 2020, 11:58am UTC](https://discourse.julialang.org/t/how-to-set-the-zoomspeed-for-camera3d-in-makie-jl/34205 "2020-02-05T11:58:11Z")

</div>

Is there a way to adjust the zoom speed (when scrolling the mouse) in Makie.jl and using a 3D camera? I can set the rotationspeed in 3D and zoomspeed in 2D but not zoomspeed in 3D. Thanks for a great package by the way!

---

## [How to plot next to each other and in rows small matrices as images (greyscale)](https://discourse.julialang.org/t/how-to-plot-next-to-each-other-and-in-rows-small-matrices-as-images-greyscale/34149)

<div class="topic-metadata">

**Author:** [@Ujku\_KU](https://discourse.julialang.org/u/Ujku_KU)\
**Replies:** 4\
**Last updated:** [February 4, 2020, 8:21am UTC](https://discourse.julialang.org/t/how-to-plot-next-to-each-other-and-in-rows-small-matrices-as-images-greyscale/34149 "2020-02-04T08:21:49Z")

</div>

Hi guys, my question is: how to plot next to each other and in rows small matrices as images (greyscale)? Thank you very much in advance for your support. Cheers. Ergnoor

---

## [Julia alternative for turtle graphics](https://discourse.julialang.org/t/julia-alternative-for-turtle-graphics/31683)

<div class="topic-metadata">

**Author:** [@chakravala](https://discourse.julialang.org/u/chakravala)\
**Replies:** 8\
**Last updated:** [January 31, 2020, 10:56pm UTC](https://discourse.julialang.org/t/julia-alternative-for-turtle-graphics/31683 "2020-01-31T22:56:12Z")

</div>

A while back I made a nice visualization of the Ramanujan tau function using python turtle graphics, which I made for the 100th anniversary of this function. The turtle interface was very nice for making the graphics, wh…

---

## [Wrapping Python PyViz Graphics Libraries](https://discourse.julialang.org/t/wrapping-python-pyviz-graphics-libraries/33997)

<div class="topic-metadata">

**Author:** [@ea42gh](https://discourse.julialang.org/u/ea42gh)\
**Replies:** 0\
**Last updated:** [January 30, 2020, 8:15pm UTC](https://discourse.julialang.org/t/wrapping-python-pyviz-graphics-libraries/33997 "2020-01-30T20:15:07Z")

</div>

What would be a good starting point to read to figure out how to wrap python graph libraries http://holoviews.org/ and Panel Documentation — Panel v0.13.1 ? Has somebody already attempted it?

---

## [How do you create a transparent .png using Images.jl?](https://discourse.julialang.org/t/how-do-you-create-a-transparent-png-using-images-jl/33981)

<div class="topic-metadata">

**Author:** [@NiclasMattsson](https://discourse.julialang.org/u/NiclasMattsson)\
**Replies:** 3\
**Last updated:** [January 30, 2020, 6:51pm UTC](https://discourse.julialang.org/t/how-do-you-create-a-transparent-png-using-images-jl/33981 "2020-01-30T18:51:15Z")

</div>

The following does not work. In Photoshop terms, it creates a .png with a (solid black) background layer instead of an ordinary layer, and background layers cannot have transparent pixels. julia\> using Images julia\> im…

---

## [Fix contour colors scale](https://discourse.julialang.org/t/fix-contour-colors-scale/33767)

<div class="topic-metadata">

**Author:** [@pedrohnv](https://discourse.julialang.org/u/pedrohnv)\
**Replies:** 2\
**Last updated:** [January 27, 2020, 5:38pm UTC](https://discourse.julialang.org/t/fix-contour-colors-scale/33767 "2020-01-27T17:38:52Z")

</div>

Hello, I would like to show an animation of a contour plot. For better visualization, it would be ideal if I could fix the colorbar in addition to the levels. Example: using Plots anim = @animate for i=0:10 …

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

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