# Visualization

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

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

**Page:** 65

---

## [Alpha vs color](https://discourse.julialang.org/t/alpha-vs-color/59445)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 5\
**Last updated:** [June 18, 2021, 11:07am UTC](https://discourse.julialang.org/t/alpha-vs-color/59445 "2021-06-18T11:07:19Z")

</div>

In this answer there is band!(x\_plot, mea .- st3, mea .+ st3, color = (:blue, 0.2)) which makes a transparent band but using alpha explicitly doesn’t band!(x\_plot, mea .- st3, mea .+ st3, color = :blue, alpha=0.2)…

---

## [Makie display error when used with VideoIO](https://discourse.julialang.org/t/makie-display-error-when-used-with-videoio/62968)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 2\
**Last updated:** [June 17, 2021, 12:36pm UTC](https://discourse.julialang.org/t/makie-display-error-when-used-with-videoio/62968 "2021-06-17T12:36:28Z")

</div>

I am trying to view some video images recorded as mp4 on a cell phone. I have loaded VideoIO and Makie along with the backend GLMakie. I am using Windows 10, Julia 1.6.1 and have tried restarting Julia a few times and …

---

## [How to plot mean +/- deviation in Plots.jl?](https://discourse.julialang.org/t/how-to-plot-mean-deviation-in-plots-jl/1975)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 22\
**Last updated:** [June 15, 2021, 6:07pm UTC](https://discourse.julialang.org/t/how-to-plot-mean-deviation-in-plots-jl/1975 "2021-06-15T18:07:05Z")

</div>

Consider the example below: using Plots xs = linspace(1,100) μs = log.(xs) σs = rand(length(xs)) plot(xs,μs,grid=false,yerror=σs) Is there any way to replace the error bars by a shaded transparent area with the sam…

---

## [PGFPlotsX remove legend box (border)](https://discourse.julialang.org/t/pgfplotsx-remove-legend-box-border/44992)

<div class="topic-metadata">

**Author:** [@AAL](https://discourse.julialang.org/u/AAL)\
**Replies:** 8\
**Last updated:** [June 15, 2021, 2:12pm UTC](https://discourse.julialang.org/t/pgfplotsx-remove-legend-box-border/44992 "2021-06-15T14:12:44Z")

</div>

Hi, I am trying to remove the legend box in a plot with the pgfplotsx backend and I cannot find the right attribute. I know I can easily remove the box in the generated tex file (see here) but I would like to be able to…

---

## [MakieGallery's fate](https://discourse.julialang.org/t/makiegallerys-fate/58131)

<div class="topic-metadata">

**Author:** [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Replies:** 12\
**Last updated:** [June 15, 2021, 2:10pm UTC](https://discourse.julialang.org/t/makiegallerys-fate/58131 "2021-06-15T14:10:01Z")

</div>

According to its README, “MakieGallery is deprecated. Testing got moved to AbstractPlotting, and the Makie documentation contains now important examples.” The Makie docs are OK for learning the basics but MakieGallery w…

---

## [Exporting Cairo Makie to tikz](https://discourse.julialang.org/t/exporting-cairo-makie-to-tikz/62895)

<div class="topic-metadata">

**Author:** [@EvoArt](https://discourse.julialang.org/u/EvoArt)\
**Replies:** 3\
**Last updated:** [June 15, 2021, 11:32am UTC](https://discourse.julialang.org/t/exporting-cairo-makie-to-tikz/62895 "2021-06-15T11:32:27Z")

</div>

I am trying to pycall svg2tikz so that I can build functions to plot CairoMakie to tikz, for seamless integration with LaTeX docs. I’ve edited the post title, as it’s specifically about CairoMakie output now. The follow…

---

## [Makie - Quadrilater-based mesh visualization](https://discourse.julialang.org/t/makie-quadrilater-based-mesh-visualization/62876)

<div class="topic-metadata">

**Author:** [@paurierap](https://discourse.julialang.org/u/paurierap)\
**Replies:** 6\
**Last updated:** [June 14, 2021, 4:55pm UTC](https://discourse.julialang.org/t/makie-quadrilater-based-mesh-visualization/62876 "2021-06-14T16:55:19Z")

</div>

Hi all, Is there any way of plotting a mesh of quadrilaterals using mesh or, alternatively, some way around using other functions?

---

## [Plotting a gantt-chart like plot](https://discourse.julialang.org/t/plotting-a-gantt-chart-like-plot/2087)

<div class="topic-metadata">

**Author:** [@bbrunaud](https://discourse.julialang.org/u/bbrunaud)\
**Replies:** 3\
**Last updated:** [June 14, 2021, 12:11pm UTC](https://discourse.julialang.org/t/plotting-a-gantt-chart-like-plot/2087 "2021-06-14T12:11:01Z")

</div>

Hello, I would lie to plot a Gantt chart like the following starting from a dataframe, where each row containts (Task,Unit,InitialTime,Duration,Size) How would you approach this? thanks!

---

## [Cannot show plot with pgfplots backend](https://discourse.julialang.org/t/cannot-show-plot-with-pgfplots-backend/19170)

<div class="topic-metadata">

**Author:** [@vietspaceanh](https://discourse.julialang.org/u/vietspaceanh)\
**Replies:** 0\
**Last updated:** [January 1, 2019, 7:54pm UTC](https://discourse.julialang.org/t/cannot-show-plot-with-pgfplots-backend/19170 "2019-01-01T19:54:46Z")

</div>

When I try a simple plot with pgfplots backend with the following code: using Plots pgfplots() plot(rand(10)) I got the following error: Error showing value of type Plots.Plot{Plots.PGFPlotsBackend}: ERROR: SystemEr…

---

## [Updating Julia has broken scatter plots](https://discourse.julialang.org/t/updating-julia-has-broken-scatter-plots/62712)

<div class="topic-metadata">

**Author:** [@scotts](https://discourse.julialang.org/u/scotts)\
**Replies:** 6\
**Last updated:** [June 12, 2021, 4:13pm UTC](https://discourse.julialang.org/t/updating-julia-has-broken-scatter-plots/62712 "2021-06-12T16:13:56Z")

</div>

After recently updating Julia from 1.4 to 1.6 I’ve found I can’t display data in scatter plots. Plots works fine for standard line charts, but using scatter(x,y) or plot(x,y,seriestype=:scatter) both just display axes w…

---

## [The plot command moves the graph](https://discourse.julialang.org/t/the-plot-command-moves-the-graph/62161)

<div class="topic-metadata">

**Author:** [@Paolo\_Jara](https://discourse.julialang.org/u/Paolo_Jara)\
**Replies:** 11\
**Last updated:** [June 12, 2021, 3:32am UTC](https://discourse.julialang.org/t/the-plot-command-moves-the-graph/62161 "2021-06-12T03:32:45Z")

</div>

Hello, I’m new programming in Julia. I have two queries regarding the Plots package. (i) Is there a way to integrate the colors generated by “distinguishable\_colors (10)” into the scatter below? (ii) Do you know why the …

---

## [Interact.jl, WebIO.jl not working in jupyterlab \>=3](https://discourse.julialang.org/t/interact-jl-webio-jl-not-working-in-jupyterlab-3/62626)

<div class="topic-metadata">

**Author:** [@PaulN](https://discourse.julialang.org/u/PaulN)\
**Replies:** 0\
**Last updated:** [June 9, 2021, 2:21pm UTC](https://discourse.julialang.org/t/interact-jl-webio-jl-not-working-in-jupyterlab-3/62626 "2021-06-09T14:21:48Z")

</div>

Although Interact works great for Jupyterlab \<3, I cannot install it for jupyterlab 3.10a11. Here is my current config: from conda: $ jupyter --version jupyter core : 4.6.3 jupyter-notebook : 6.1.4 qtconsole : 4.7.…

---

## [Axes breaks in Gadfly or VegaLite](https://discourse.julialang.org/t/axes-breaks-in-gadfly-or-vegalite/62599)

<div class="topic-metadata">

**Author:** [@fnbillimoria](https://discourse.julialang.org/u/fnbillimoria)\
**Replies:** 0\
**Last updated:** [June 9, 2021, 2:05am UTC](https://discourse.julialang.org/t/axes-breaks-in-gadfly-or-vegalite/62599 "2021-06-09T02:05:30Z")

</div>

Are there ways to create a break in axes in the Gadfly or VegaLite packages?

---

## [Oddly rotated labels using GLMakie](https://discourse.julialang.org/t/oddly-rotated-labels-using-glmakie/62394)

<div class="topic-metadata">

**Author:** [@danielmatz](https://discourse.julialang.org/u/danielmatz)\
**Replies:** 9\
**Last updated:** [June 8, 2021, 9:16pm UTC](https://discourse.julialang.org/t/oddly-rotated-labels-using-glmakie/62394 "2021-06-08T21:16:14Z")

</div>

When I create a plot with GLMakie, the labels are all rotated in an odd way. Here’s the legend of a plot I tried to make recently: It’s the same for all of the axis labels, too. What’s weird is that this plot was wor…

---

## [Control over sampling when plotting functions](https://discourse.julialang.org/t/control-over-sampling-when-plotting-functions/62565)

<div class="topic-metadata">

**Author:** [@owiecc](https://discourse.julialang.org/u/owiecc)\
**Replies:** 2\
**Last updated:** [June 8, 2021, 10:15am UTC](https://discourse.julialang.org/t/control-over-sampling-when-plotting-functions/62565 "2021-06-08T10:15:26Z")

</div>

Plotting functions in Julia is quite easy and works super nice for smooth functions. However, for more complex functions (switched), some points get lost. f(x) = 0.6 \> mod(x,1) \> 0.5 ? 1 : 0 plot(f, xlims=(0,10)) Is…

---

## [Contour plots with varying locations for x-axis?](https://discourse.julialang.org/t/contour-plots-with-varying-locations-for-x-axis/61686)

<div class="topic-metadata">

**Author:** [@CosmoProf](https://discourse.julialang.org/u/CosmoProf)\
**Replies:** 13\
**Last updated:** [June 8, 2021, 7:45am UTC](https://discourse.julialang.org/t/contour-plots-with-varying-locations-for-x-axis/61686 "2021-06-08T07:45:18Z")

</div>

Hi, I have a set of 2-dimensional data, defined over an array of timesteps, but at each timestep the position x-values are different. I’m trying to get contour plots, but the plots come up blank, and each time I get the …

---

## [How to "center" the color gradient in a heatmap/contour plot](https://discourse.julialang.org/t/how-to-center-the-color-gradient-in-a-heatmap-contour-plot/62382)

<div class="topic-metadata">

**Author:** [@CosmoProf](https://discourse.julialang.org/u/CosmoProf)\
**Replies:** 7\
**Last updated:** [June 8, 2021, 5:05am UTC](https://discourse.julialang.org/t/how-to-center-the-color-gradient-in-a-heatmap-contour-plot/62382 "2021-06-08T05:05:08Z")

</div>

Hi again all, a question about visualization: I’m using heatmaps (and sometimes contour plots) to visualize an oscillating function, using commands similar to: heatmap(xArray, yArray, MatrixOfValues, color=cgrad(\[:red,…

---

## [Coloring boxplot groups in Makie](https://discourse.julialang.org/t/coloring-boxplot-groups-in-makie/62505)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 6\
**Last updated:** [June 7, 2021, 1:34pm UTC](https://discourse.julialang.org/t/coloring-boxplot-groups-in-makie/62505 "2021-06-07T13:34:31Z")

</div>

Hi, I’m discovering Makie and after reading the documentation, I don’t understand how to produce boxplots that have different colors. Here’s a MWE: group = repeat(\[1,2\],inner=500) boxplot(rand(1:3,1000), randn(1000), d…

---

## [Possible to combine a PyObject plot and Plots plot for customed layout?](https://discourse.julialang.org/t/possible-to-combine-a-pyobject-plot-and-plots-plot-for-customed-layout/62463)

<div class="topic-metadata">

**Author:** [@EuRoXy](https://discourse.julialang.org/u/EuRoXy)\
**Replies:** 1\
**Last updated:** [June 6, 2021, 12:08pm UTC](https://discourse.julialang.org/t/possible-to-combine-a-pyobject-plot-and-plots-plot-for-customed-layout/62463 "2021-06-06T12:08:17Z")

</div>

I have a PyObject plot (geo-map involving projections and features from Cartopy via PyCall), and intend to combine it with violin plots from StatsPlots for a specific layout. Trying and searching around find no success. …

---

## [Extending AD to JuliaImages](https://discourse.julialang.org/t/extending-ad-to-juliaimages/62460)

<div class="topic-metadata">

**Author:** [@SomTambe](https://discourse.julialang.org/u/SomTambe)\
**Replies:** 0\
**Last updated:** [June 6, 2021, 4:31am UTC](https://discourse.julialang.org/t/extending-ad-to-juliaimages/62460 "2021-06-06T04:31:51Z")

</div>

Hi I’m Som! I’m working on extending AD support to the Images.jl ecosystem this summer as a part of SoC. I am building the code here at DiffImages.jl. We have our discussions public at the #discussions tab of the repo. …

---

## [2D plot flush with 3D axis?](https://discourse.julialang.org/t/2d-plot-flush-with-3d-axis/62289)

<div class="topic-metadata">

**Author:** [@jlchan](https://discourse.julialang.org/u/jlchan)\
**Replies:** 6\
**Last updated:** [June 6, 2021, 3:43am UTC](https://discourse.julialang.org/t/2d-plot-flush-with-3d-axis/62289 "2021-06-06T03:43:07Z")

</div>

I’m trying to plot a 2D graph underneath a 3D plot. The following is my hacky approach, using GLMakie fig = Figure() menu = Menu(fig, options = \[1,2\]) fig\[1, 1\] = vgrid!( Label(fig, "Index a", width = nothing),menu…

---

## [Ternary axis with PGFplotsX?](https://discourse.julialang.org/t/ternary-axis-with-pgfplotsx/62442)

<div class="topic-metadata">

**Author:** [@EvoArt](https://discourse.julialang.org/u/EvoArt)\
**Replies:** 2\
**Last updated:** [June 5, 2021, 6:14pm UTC](https://discourse.julialang.org/t/ternary-axis-with-pgfplotsx/62442 "2021-06-05T18:14:23Z")

</div>

Is there any way to use ternary axes in PGFplotsX.i had a stab at passing in raw latex arguments. But I guess it probably won’t be possible, since the choice of axis type is specified by choice of function eg Axis(args) …

---

## [Tufte/Offset/Despine Axes in Makie or other plot libraries](https://discourse.julialang.org/t/tufte-offset-despine-axes-in-makie-or-other-plot-libraries/62364)

<div class="topic-metadata">

**Author:** [@nero57](https://discourse.julialang.org/u/nero57)\
**Replies:** 2\
**Last updated:** [June 5, 2021, 3:26pm UTC](https://discourse.julialang.org/t/tufte-offset-despine-axes-in-makie-or-other-plot-libraries/62364 "2021-06-05T15:26:07Z")

</div>

Hello, I’m wondering if it is possible to make Tufted/Offset/Despined axes in pure Julia. This is a basic example (this was generated in python using seaborn.despine. You can do the same in R and pgfplots): I looked…

---

## [Makie @lift for a function with multiple outputs?](https://discourse.julialang.org/t/makie-lift-for-a-function-with-multiple-outputs/62236)

<div class="topic-metadata">

**Author:** [@jlchan](https://discourse.julialang.org/u/jlchan)\
**Replies:** 3\
**Last updated:** [June 2, 2021, 1:54pm UTC](https://discourse.julialang.org/t/makie-lift-for-a-function-with-multiple-outputs/62236 "2021-06-02T13:54:25Z")

</div>

I’m trying to make a menu in Makie which changes the plot. Basically this: using GLMakie fig = Figure() menu = Menu(fig, options = \[1,2\]) fig\[1, 1\] = vgrid!( Label(fig, "Index a", width = nothing),menu; tellhei…

---

## [Lines vs line](https://discourse.julialang.org/t/lines-vs-line/62235)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 1\
**Last updated:** [June 2, 2021, 2:12am UTC](https://discourse.julialang.org/t/lines-vs-line/62235 "2021-06-02T02:12:46Z")

</div>

Afaict, this function makes one curve, not multiple. Why is it named “lines” plural? I always forget how to use it and have to check the docs. I think it will be easier to remember if it uses the name line! curve!. http…

---

## [What is the difference between fontsize and textsize?](https://discourse.julialang.org/t/what-is-the-difference-between-fontsize-and-textsize/62228)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 1\
**Last updated:** [June 1, 2021, 9:19pm UTC](https://discourse.julialang.org/t/what-is-the-difference-between-fontsize-and-textsize/62228 "2021-06-01T21:19:53Z")

</div>

textsize is in Label, fontsize is in Theme. Why are there two? https://makie.juliaplots.org/stable/makielayout/label.html https://makie.juliaplots.org/stable/theming.html

---

## [Plot 3D triangle mesh with different colours on front and back side](https://discourse.julialang.org/t/plot-3d-triangle-mesh-with-different-colours-on-front-and-back-side/61997)

<div class="topic-metadata">

**Author:** [@hacklint](https://discourse.julialang.org/u/hacklint)\
**Replies:** 12\
**Last updated:** [June 1, 2021, 3:45pm UTC](https://discourse.julialang.org/t/plot-3d-triangle-mesh-with-different-colours-on-front-and-back-side/61997 "2021-06-01T15:45:57Z")

</div>

Hi, Guess this is so trivial no one bothered to ask… :wink: I need to check orientation of triangles in received geometry (triangle mesh). Seems the easiest way would be to set different colours for front and back sid…

---

## [How to scale vector filed plots by the norm?](https://discourse.julialang.org/t/how-to-scale-vector-filed-plots-by-the-norm/62186)

<div class="topic-metadata">

**Author:** [@SebastianM-C](https://discourse.julialang.org/u/SebastianM-C)\
**Replies:** 1\
**Last updated:** [June 1, 2021, 2:05pm UTC](https://discourse.julialang.org/t/how-to-scale-vector-filed-plots-by-the-norm/62186 "2021-06-01T14:05:17Z")

</div>

I am writing a plot recipe for plotting vector fields in a package. I would like to have an arrow plot where the maximum arrow length and arrow size are fixed in Pixel units and all the arrows have their tail length and …

---

## [Fade to transparent](https://discourse.julialang.org/t/fade-to-transparent/62173)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 1\
**Last updated:** [June 1, 2021, 7:30am UTC](https://discourse.julialang.org/t/fade-to-transparent/62173 "2021-06-01T07:30:20Z")

</div>

I have this plot. I want it to fade from opaque to transparent from x=0 to x=100. Is that possible? fig = Figure() Axis(fig\[1,1\]) let xs = 0:.1:100 ys1 = randn(length(xs)) ys2 = randn(length(xs)) yups = m…

---

## [How to create a node graph editor?](https://discourse.julialang.org/t/how-to-create-a-node-graph-editor/62122)

<div class="topic-metadata">

**Author:** [@JosePereiraUA](https://discourse.julialang.org/u/JosePereiraUA)\
**Replies:** 0\
**Last updated:** [May 31, 2021, 9:47am UTC](https://discourse.julialang.org/t/how-to-create-a-node-graph-editor/62122 "2021-05-31T09:47:46Z")

</div>

Hi, I’m looking for a package (or set of packages) that allow me to create a node graph editor, something like this: So far, the closest package I found was the ClmGui.jl package, a wrapper around Dear ImGui. This C+…

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

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