# Visualization

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

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

**Page:** 69

---

## [Plotting difference from mean](https://discourse.julialang.org/t/plotting-difference-from-mean/58496)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 8\
**Last updated:** [April 3, 2021, 4:27pm UTC](https://discourse.julialang.org/t/plotting-difference-from-mean/58496 "2021-04-03T16:27:06Z")

</div>

If I have a CSV file with name and value pairs such as node01, 127097.3 node02, 127263.5 node03, 127132.3 … How would I make a plot of each values difference from the mean of the whole column? These are stream tria…

---

## [How to make the legend fontsize larger in Makie.jl?](https://discourse.julialang.org/t/how-to-make-the-legend-fontsize-larger-in-makie-jl/58451)

<div class="topic-metadata">

**Author:** [@ericphanson](https://discourse.julialang.org/u/ericphanson)\
**Replies:** 1\
**Last updated:** [April 2, 2021, 3:51pm UTC](https://discourse.julialang.org/t/how-to-make-the-legend-fontsize-larger-in-makie-jl/58451 "2021-04-02T15:51:25Z")

</div>

Example: julia\> fig = Figure() Scene (512px, 320px): 0 Plots 0 Child Scenes julia\> ax = Axis(fig\[1,1\]) Axis with 0 plots: julia\> lines!(ax, sort(rand(10)), rand(10), label="Plot") Lines{Tuple{Vector{Point{2, Floa…

---

## [Rotate camera about point in Makie 3D scene](https://discourse.julialang.org/t/rotate-camera-about-point-in-makie-3d-scene/58337)

<div class="topic-metadata">

**Author:** [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Replies:** 4\
**Last updated:** [April 1, 2021, 8:34pm UTC](https://discourse.julialang.org/t/rotate-camera-about-point-in-makie-3d-scene/58337 "2021-04-01T20:34:02Z")

</div>

This is what I’ve got for keeping my 3D scene pointed at the origin. It seems a bit janky, is there a better way? function lookcenter(scene, stopper) @async begin while !stopper\[\] && isopen(scene) sleep(0.25…

---

## [Scientific Notation in Plots.jl colorbar](https://discourse.julialang.org/t/scientific-notation-in-plots-jl-colorbar/57793)

<div class="topic-metadata">

**Author:** [@lsterzinger](https://discourse.julialang.org/u/lsterzinger)\
**Replies:** 8\
**Last updated:** [April 1, 2021, 9:31pm UTC](https://discourse.julialang.org/t/scientific-notation-in-plots-jl-colorbar/57793 "2021-04-01T21:31:30Z")

</div>

Hello, edit: working example using Plots x = rand(10,10) / 1e6 contourf(x) I don’t like how the colorbar’s labels are cut off by the plot edge. Is there a way to tell the plotting package to use scientific notation …

---

## [Plots.jl plot window launched from a signal within Gtk.jl does not open—how to fix?](https://discourse.julialang.org/t/plots-jl-plot-window-launched-from-a-signal-within-gtk-jl-does-not-open-how-to-fix/58384)

<div class="topic-metadata">

**Author:** [@cdknight](https://discourse.julialang.org/u/cdknight)\
**Replies:** 1\
**Last updated:** [April 1, 2021, 8:18pm UTC](https://discourse.julialang.org/t/plots-jl-plot-window-launched-from-a-signal-within-gtk-jl-does-not-open-how-to-fix/58384 "2021-04-01T20:18:29Z")

</div>

Hi, I’m new here (and to the Julia programming language in general), and hopefully this is the right category. Anyway, I’m attempting to make a GUI to facilitate some visualisation that I’m doing. What I want is to click…

---

## [Using Plots for the first time](https://discourse.julialang.org/t/using-plots-for-the-first-time/58289)

<div class="topic-metadata">

**Author:** [@erlebach1](https://discourse.julialang.org/u/erlebach1)\
**Replies:** 7\
**Last updated:** [March 31, 2021, 8:25pm UTC](https://discourse.julialang.org/t/using-plots-for-the-first-time/58289 "2021-03-31T20:25:14Z")

</div>

I just installed Julia 1.6 and noted the much faster compile times. Thanks! When executing using Plots for the first time, Julia when through a whole series of compiling steps. Here is a small piece of what scrolled by: …

---

## [Using same x- and y-axis scales in Makie plots](https://discourse.julialang.org/t/using-same-x-and-y-axis-scales-in-makie-plots/58173)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 3\
**Last updated:** [March 29, 2021, 7:02pm UTC](https://discourse.julialang.org/t/using-same-x-and-y-axis-scales-in-makie-plots/58173 "2021-03-29T19:02:12Z")

</div>

What is the simplest way to use the same scales in the x- and y-axis of the plots generated by Makie? For example, when visualizing a 5×3 array with heatmap() as using GLMakie heatmap(rand(5,3)) I want the individual …

---

## [Makie - Weird error with Observables](https://discourse.julialang.org/t/makie-weird-error-with-observables/57960)

<div class="topic-metadata">

**Author:** [@nandoconde](https://discourse.julialang.org/u/nandoconde)\
**Replies:** 11\
**Last updated:** [March 29, 2021, 11:17am UTC](https://discourse.julialang.org/t/makie-weird-error-with-observables/57960 "2021-03-29T11:17:03Z")

</div>

Intro Hello!! I am having trouble creating a complete Makie scene that does what I want, because it errors: ERROR: MethodError: no method matching gl\_convert(::String) I’ll explain what I want first, and then the piec…

---

## [Compose.jl has the radius of Forms tied to width](https://discourse.julialang.org/t/compose-jl-has-the-radius-of-forms-tied-to-width/58142)

<div class="topic-metadata">

**Author:** [@SL6Trip](https://discourse.julialang.org/u/SL6Trip)\
**Replies:** 2\
**Last updated:** [March 29, 2021, 9:21am UTC](https://discourse.julialang.org/t/compose-jl-has-the-radius-of-forms-tied-to-width/58142 "2021-03-29T09:21:54Z")

</div>

I was playing around with Compose.jl recently, when I realise that Forms that use a radius, such as circle have their radius tied to the width of the context window. See the two images and the code below for an example. …

---

## [Horizontal y label with Plots.jl](https://discourse.julialang.org/t/horizontal-y-label-with-plots-jl/9967)

<div class="topic-metadata">

**Author:** [@yha](https://discourse.julialang.org/u/yha)\
**Replies:** 4\
**Last updated:** [June 15, 2020, 3:36pm UTC](https://discourse.julialang.org/t/horizontal-y-label-with-plots-jl/9967 "2020-06-15T15:36:58Z")

</div>

Is there any way to make the y axis label horizontal in Plots.jl (with pyplot backend)? Thanks

---

## [Scatterplot with subplots for points](https://discourse.julialang.org/t/scatterplot-with-subplots-for-points/58097)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 3\
**Last updated:** [March 28, 2021, 2:47am UTC](https://discourse.julialang.org/t/scatterplot-with-subplots-for-points/58097 "2021-03-28T02:47:50Z")

</div>

I have several (x,y) locations, each of which has an array of values: n observations at each (x,y) location. I want to make a scatterplot of the (x,y) pairs, but instead of a circle at each location, I want a little den…

---

## [Plotting Function With if-else Using Gadfly.jl](https://discourse.julialang.org/t/plotting-function-with-if-else-using-gadfly-jl/58020)

<div class="topic-metadata">

**Author:** [@Adam\_Fleischhacker](https://discourse.julialang.org/u/Adam_Fleischhacker)\
**Replies:** 7\
**Last updated:** [March 26, 2021, 5:19pm UTC](https://discourse.julialang.org/t/plotting-function-with-if-else-using-gadfly-jl/58020 "2021-03-26T17:19:55Z")

</div>

I am trying to define and plot a density function. However, it seems the if-else logic of my function is not supported for this kind of plot. Am I doing something wrong? ## graph density of spinner using Gadfly funct…

---

## [Interact vbox/hbox size](https://discourse.julialang.org/t/interact-vbox-hbox-size/57947)

<div class="topic-metadata">

**Author:** [@saraflgarcia](https://discourse.julialang.org/u/saraflgarcia)\
**Replies:** 0\
**Last updated:** [March 25, 2021, 4:24pm UTC](https://discourse.julialang.org/t/interact-vbox-hbox-size/57947 "2021-03-25T16:24:48Z")

</div>

Hello everyone, I am using Interact with Blink and Web IO. How can I define a vbox or hbox size and position within the window? Thanks in advance

---

## [Meshcat - change scene properties](https://discourse.julialang.org/t/meshcat-change-scene-properties/57885)

<div class="topic-metadata">

**Author:** [@saraflgarcia](https://discourse.julialang.org/u/saraflgarcia)\
**Replies:** 2\
**Last updated:** [March 25, 2021, 4:21pm UTC](https://discourse.julialang.org/t/meshcat-change-scene-properties/57885 "2021-03-25T16:21:23Z")

</div>

Hi everyone, I’m using Meshcat with Blink and WebIO. How can I change its default properties concerning: Background color, Grid on/off, Visualizer size & position in Blink window Thanks in advance

---

## [Convert output of GR.tricont() (GR.SVG) to something Plots can interact with](https://discourse.julialang.org/t/convert-output-of-gr-tricont-gr-svg-to-something-plots-can-interact-with/57943)

<div class="topic-metadata">

**Author:** [@jacobusmmsmit](https://discourse.julialang.org/u/jacobusmmsmit)\
**Replies:** 0\
**Last updated:** [March 25, 2021, 4:13pm UTC](https://discourse.julialang.org/t/convert-output-of-gr-tricont-gr-svg-to-something-plots-can-interact-with/57943 "2021-03-25T16:13:55Z")

</div>

Hello all, I’m trying to use GR’s tricont function as I can’t find out how to do this using Plots alone, and then put the output of this onto an existing plot generated by Plots. However, I cannot figure out how to turn…

---

## [Plotting multiple figures using Plots.jl](https://discourse.julialang.org/t/plotting-multiple-figures-using-plots-jl/57859)

<div class="topic-metadata">

**Author:** [@Marca85](https://discourse.julialang.org/u/Marca85)\
**Replies:** 6\
**Last updated:** [March 24, 2021, 1:39pm UTC](https://discourse.julialang.org/t/plotting-multiple-figures-using-plots-jl/57859 "2021-03-24T13:39:46Z")

</div>

Hi, I would like to run a script in Visual Studio Code that plot different graphs in multiple figures (multiple windows, not multiple subplots). using Plots x = 1:10 plot(x,x, label="linear") plot(x,x.^2, label="quadr…

---

## [Rotate text such that it aligns with the gradient of a line](https://discourse.julialang.org/t/rotate-text-such-that-it-aligns-with-the-gradient-of-a-line/57799)

<div class="topic-metadata">

**Author:** [@jacobusmmsmit](https://discourse.julialang.org/u/jacobusmmsmit)\
**Replies:** 4\
**Last updated:** [March 23, 2021, 6:12pm UTC](https://discourse.julialang.org/t/rotate-text-such-that-it-aligns-with-the-gradient-of-a-line/57799 "2021-03-23T18:12:54Z")

</div>

Hello, I’m trying to make some text line up with a line from A to B, the problem is that the angle is fixed and not relative to the aspect ratio of the figure. I suppose a way to do it is to get the size of the figure a…

---

## [MakieLayout - Alignment of horizontal colorbar and legend](https://discourse.julialang.org/t/makielayout-alignment-of-horizontal-colorbar-and-legend/57804)

<div class="topic-metadata">

**Author:** [@fabgrei](https://discourse.julialang.org/u/fabgrei)\
**Replies:** 2\
**Last updated:** [March 23, 2021, 5:54pm UTC](https://discourse.julialang.org/t/makielayout-alignment-of-horizontal-colorbar-and-legend/57804 "2021-03-23T17:54:56Z")

</div>

I would like to have the colorbar and the legend nicely aligned. Is there a way to perfectly align the top row of the legend with tick labels of the colorbar, and also the titles of legend and colorbar? This is how it l…

---

## [Plots stroke and fill different alpha](https://discourse.julialang.org/t/plots-stroke-and-fill-different-alpha/57794)

<div class="topic-metadata">

**Author:** [@luboshanus](https://discourse.julialang.org/u/luboshanus)\
**Replies:** 0\
**Last updated:** [March 23, 2021, 3:34pm UTC](https://discourse.julialang.org/t/plots-stroke-and-fill-different-alpha/57794 "2021-03-23T15:34:35Z")

</div>

Hi, I would like to have different alphas for fill and stroke of markers. Using Plots.jl and gr(). Wishing this would work scatter(rand(10), marker=(20, 0.3, :green, Plots.stroke(5, :blue, :solid; alpha=0.9))) but th…

---

## [VegaLite vlplot basic usage, encoding](https://discourse.julialang.org/t/vegalite-vlplot-basic-usage-encoding/57700)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 1\
**Last updated:** [March 22, 2021, 7:01pm UTC](https://discourse.julialang.org/t/vegalite-vlplot-basic-usage-encoding/57700 "2021-03-22T19:01:27Z")

</div>

I’m new to both Vega Lite and VegaLite.jl, and I’m confused about exactly how is vlplot supposed to work. The VegaLite documentation seems to consist mostly of examples and lacks a more systematic approach to documentati…

---

## [PyCall / RCall in notebook showing graph displayed by the other language?](https://discourse.julialang.org/t/pycall-rcall-in-notebook-showing-graph-displayed-by-the-other-language/57624)

<div class="topic-metadata">

**Author:** [@StatisticalMouse](https://discourse.julialang.org/u/StatisticalMouse)\
**Replies:** 3\
**Last updated:** [March 21, 2021, 8:13pm UTC](https://discourse.julialang.org/t/pycall-rcall-in-notebook-showing-graph-displayed-by-the-other-language/57624 "2021-03-21T20:13:48Z")

</div>

Is it possible to call for instance ggplot2 in R, and have the graph be shown in a Julia Jupyter notebook? Any example code somewhere?

---

## [What is the best visualization for seeing changes in distribution over time in hierarchical data?](https://discourse.julialang.org/t/what-is-the-best-visualization-for-seeing-changes-in-distribution-over-time-in-hierarchical-data/57594)

<div class="topic-metadata">

**Author:** [@NightMachinary](https://discourse.julialang.org/u/NightMachinary)\
**Replies:** 9\
**Last updated:** [March 21, 2021, 6:02pm UTC](https://discourse.julialang.org/t/what-is-the-best-visualization-for-seeing-changes-in-distribution-over-time-in-hierarchical-data/57594 "2021-03-21T18:02:30Z")

</div>

I am trying to find a good visualization for how how I spent my time is changing over time. I can visualize this data for a single interval very well with a sunburst or treemap chart: But visualizing the changes in t…

---

## [Plots... with Dates along abscissa axis?](https://discourse.julialang.org/t/plots-with-dates-along-abscissa-axis/24454)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 7\
**Last updated:** [March 19, 2021, 8:52am UTC](https://discourse.julialang.org/t/plots-with-dates-along-abscissa-axis/24454 "2021-03-19T08:52:31Z")

</div>

I have some data where I want to plot some quantity (ordinate) against dates (abscissa). The abscissa data are in Dates.Date() format. When plotting (I tested Plots with unicodeplots back-end), the dates are given in sec…

---

## [Dash.jl - Plotly mapbox layer/trace support](https://discourse.julialang.org/t/dash-jl-plotly-mapbox-layer-trace-support/57438)

<div class="topic-metadata">

**Author:** [@spcogg](https://discourse.julialang.org/u/spcogg)\
**Replies:** 0\
**Last updated:** [March 18, 2021, 5:05am UTC](https://discourse.julialang.org/t/dash-jl-plotly-mapbox-layer-trace-support/57438 "2021-03-18T05:05:54Z")

</div>

Does anyone know if the julia Dash.jl interface currently supports mapbox layers , specifically, the scattermapbox trace I can see references to it in code, e.g. the docstrings for the dcc\_graph function, but i can’t s…

---

## [In Makie, when should a function accept \`fig\[1,1\]\` as input, vs an \`Axis\`?](https://discourse.julialang.org/t/in-makie-when-should-a-function-accept-fig-1-1-as-input-vs-an-axis/57399)

<div class="topic-metadata">

**Author:** [@ericphanson](https://discourse.julialang.org/u/ericphanson)\
**Replies:** 1\
**Last updated:** [March 17, 2021, 5:26pm UTC](https://discourse.julialang.org/t/in-makie-when-should-a-function-accept-fig-1-1-as-input-vs-an-axis/57399 "2021-03-17T17:26:28Z")

</div>

I don’t really when to use an Axis vs indexing like fig\[1,1\] . If I’m writing a function to make part of a plot, should I be passing it fig\[1,1\] or an axis? should the function be making the axis and returning it? From @…

---

## [Makie stopped working on my machine after update](https://discourse.julialang.org/t/makie-stopped-working-on-my-machine-after-update/57392)

<div class="topic-metadata">

**Author:** [@tt1234567](https://discourse.julialang.org/u/tt1234567)\
**Replies:** 11\
**Last updated:** [March 17, 2021, 4:56pm UTC](https://discourse.julialang.org/t/makie-stopped-working-on-my-machine-after-update/57392 "2021-03-17T16:56:15Z")

</div>

Hello I did a package update this morning and Makie seems to have stopped working. I tried deleting the .julia directory and instantiating again but the problem didn’t change. Is it just me? using Makie fig = Makie.Fig…

---

## [Plots.jl: arrows style in quiver()?](https://discourse.julialang.org/t/plots-jl-arrows-style-in-quiver/13659)

<div class="topic-metadata">

**Author:** [@wrgr](https://discourse.julialang.org/u/wrgr)\
**Replies:** 7\
**Last updated:** [March 17, 2021, 7:08am UTC](https://discourse.julialang.org/t/plots-jl-arrows-style-in-quiver/13659 "2021-03-17T07:08:08Z")

</div>

In Plots.jl, quiver(x, y, gradient=(u, v), ...) produces arrows with head sizes being independent of gradient magnitude, like this: The vector in the bottom-left corner has a small norm, and its head looks dispropor…

---

## [Help with using the Plots package](https://discourse.julialang.org/t/help-with-using-the-plots-package/57036)

<div class="topic-metadata">

**Author:** [@RaquelSantos](https://discourse.julialang.org/u/RaquelSantos)\
**Replies:** 22\
**Last updated:** [March 16, 2021, 6:55pm UTC](https://discourse.julialang.org/t/help-with-using-the-plots-package/57036 "2021-03-16T18:55:10Z")

</div>

Hello How to plot a two-dimensional graph? In this example I am trying to plot (x, y) and in response Julia returns a three-dimensional graph. using Plots x = 1:4 y = \[0.16, 12, 8, 0.13\] y1 = \[0.07, 13, 7\] y2 = y,y1 p…

---

## [Library for 3D model simulation visualization](https://discourse.julialang.org/t/library-for-3d-model-simulation-visualization/57237)

<div class="topic-metadata">

**Author:** [@AlexS12](https://discourse.julialang.org/u/AlexS12)\
**Replies:** 2\
**Last updated:** [March 15, 2021, 11:44pm UTC](https://discourse.julialang.org/t/library-for-3d-model-simulation-visualization/57237 "2021-03-15T23:44:33Z")

</div>

I have seen this post with a matlab example that I would like to emulate in Julia. As a summary I would like to plot a 3d model loaded from a mesh file (.stl or similar) and rotate it “real time” according to a time seri…

---

## [State of Signals](https://discourse.julialang.org/t/state-of-signals/9495)

<div class="topic-metadata">

**Author:** [@Raf](https://discourse.julialang.org/u/Raf)\
**Replies:** 7\
**Last updated:** [March 15, 2021, 4:19pm UTC](https://discourse.julialang.org/t/state-of-signals/9495 "2021-03-15T16:19:19Z")

</div>

There are a lot of packages for signals these days: https://github.com/JuliaGizmos/Reactive.jl https://github.com/JuliaGizmos/Observables.jl https://github.com/TsurHerman/Signals.jl https://github.com/tshort/Reactive…

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

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