# Visualization

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

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

**Page:** 48

---

## [I want a minimal example of plotting data using pure Julia code](https://discourse.julialang.org/t/i-want-a-minimal-example-of-plotting-data-using-pure-julia-code/83435)

<div class="topic-metadata">

**Author:** [@Reza-Reza](https://discourse.julialang.org/u/Reza-Reza)\
**Replies:** 13\
**Last updated:** [June 28, 2022, 10:25pm UTC](https://discourse.julialang.org/t/i-want-a-minimal-example-of-plotting-data-using-pure-julia-code/83435 "2022-06-28T22:25:31Z")

</div>

The library Gadfly is written purely in Julia. I would like to know how using pure Julia someone can plot graphics such as a line or a point. The source code is extensive and I could not find the source code for the pl…

---

## [GeoMakie.jl: Stereographic projection at pole did not work](https://discourse.julialang.org/t/geomakie-jl-stereographic-projection-at-pole-did-not-work/83258)

<div class="topic-metadata">

**Author:** [@JanJereczek](https://discourse.julialang.org/u/JanJereczek)\
**Replies:** 16\
**Last updated:** [June 28, 2022, 6:07pm UTC](https://discourse.julialang.org/t/geomakie-jl-stereographic-projection-at-pole-did-not-work/83258 "2022-06-28T18:07:32Z")

</div>

Hi all, I started to code in Julia half a year ago and I am quite excited about using GeoMakie. I work on ice sheet dynamics so I mostly want to visualize the poles. Therefore I want to use a stereographic projection an…

---

## [Plots.jl not showing negative values in 3D](https://discourse.julialang.org/t/plots-jl-not-showing-negative-values-in-3d/83407)

<div class="topic-metadata">

**Author:** [@Siempie](https://discourse.julialang.org/u/Siempie)\
**Replies:** 1\
**Last updated:** [June 28, 2022, 12:14pm UTC](https://discourse.julialang.org/t/plots-jl-not-showing-negative-values-in-3d/83407 "2022-06-28T12:14:12Z")

</div>

I am solving a 3D differential equation. My output data is in the form of a NxNxN dense Matrix for each timestep. With values ranging from -1 to 1. I plan on animating the plot trough time so that leaves 3 dimensions. T…

---

## [Plots plotlyjs subplots: linking x axis across columns of subplots](https://discourse.julialang.org/t/plots-plotlyjs-subplots-linking-x-axis-across-columns-of-subplots/79122)

<div class="topic-metadata">

**Author:** [@rjgill](https://discourse.julialang.org/u/rjgill)\
**Replies:** 2\
**Last updated:** [June 27, 2022, 8:07am UTC](https://discourse.julialang.org/t/plots-plotlyjs-subplots-linking-x-axis-across-columns-of-subplots/79122 "2022-06-27T08:07:52Z")

</div>

Is it possible to link x-axis across columns of subplots with Julia plots (without linking their y-axis)? using Plots plotlyjs() # or pyplot() plot(rand(100, 2), layout = (1,2), link = :x) If I zoom or pan on one of th…

---

## [Opacity in violinplot with AlgebraOfGraphics](https://discourse.julialang.org/t/opacity-in-violinplot-with-algebraofgraphics/83254)

<div class="topic-metadata">

**Author:** [@lauswullum](https://discourse.julialang.org/u/lauswullum)\
**Replies:** 2\
**Last updated:** [June 24, 2022, 5:06pm UTC](https://discourse.julialang.org/t/opacity-in-violinplot-with-algebraofgraphics/83254 "2022-06-24T17:06:36Z")

</div>

Hi, I want to combine box plots and violin plots in Algebra of Graphics. But I cannot set an alpha value in the visual function, when using a violin plot. MWE: using CairoMakie using AlgebraOfGraphics using DataFrames …

---

## [Problem with DataInspector](https://discourse.julialang.org/t/problem-with-datainspector/82958)

<div class="topic-metadata">

**Author:** [@tt1234567](https://discourse.julialang.org/u/tt1234567)\
**Replies:** 4\
**Last updated:** [June 24, 2022, 12:04pm UTC](https://discourse.julialang.org/t/problem-with-datainspector/82958 "2022-06-24T12:04:03Z")

</div>

DataInspector no longer works for me after the recent Makie update: heatmap(rand(100,100)) DataInspector() gives ERROR: type Array has no field extents Stacktrace: \[1\] getproperty @ .\\Base.jl:42 \[inlined\] \[2\] Bbo…

---

## [Edit: Just a typo - ignore. How to specify GLMakie to display window in full screen mode?](https://discourse.julialang.org/t/edit-just-a-typo-ignore-how-to-specify-glmakie-to-display-window-in-full-screen-mode/83203)

<div class="topic-metadata">

**Author:** [@Audrius-St](https://discourse.julialang.org/u/Audrius-St)\
**Replies:** 3\
**Last updated:** [June 22, 2022, 8:44pm UTC](https://discourse.julialang.org/t/edit-just-a-typo-ignore-how-to-specify-glmakie-to-display-window-in-full-screen-mode/83203 "2022-06-22T20:44:22Z")

</div>

Hello, I would like to specify GLMakie to display the window in full screen mode. A search of Makie Issues gave the following accepted solution: However, when I implement this proposed solution in a MWE as below th…

---

## [Plot different length data together in Gadfly](https://discourse.julialang.org/t/plot-different-length-data-together-in-gadfly/77036)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 8\
**Last updated:** [June 22, 2022, 12:33pm UTC](https://discourse.julialang.org/t/plot-different-length-data-together-in-gadfly/77036 "2022-06-22T12:33:00Z")

</div>

I am struggling to plot two different (x,y) lines together with a single plot command and the default color palette, since apparently I can’t give the layers label = "Data Label" like in Plots.jl. What is the best way to…

---

## [How to turn off minor tick labels in PlotlyJS.jl](https://discourse.julialang.org/t/how-to-turn-off-minor-tick-labels-in-plotlyjs-jl/69301)

<div class="topic-metadata">

**Author:** [@deepakvinod](https://discourse.julialang.org/u/deepakvinod)\
**Replies:** 3\
**Last updated:** [June 21, 2022, 4:13pm UTC](https://discourse.julialang.org/t/how-to-turn-off-minor-tick-labels-in-plotlyjs-jl/69301 "2022-06-21T16:13:39Z")

</div>

Hi, I am trying to figure out how to turn off the minor tick labels in PlotlJS as they are too crowded and overlapping for log scale axes. I could not find anything here: Layout.xaxis in Julia Example: Any help/sug…

---

## [How to use Interact.jl to make sliders for reaction network parameters](https://discourse.julialang.org/t/how-to-use-interact-jl-to-make-sliders-for-reaction-network-parameters/83051)

<div class="topic-metadata">

**Author:** [@Dragolonth](https://discourse.julialang.org/u/Dragolonth)\
**Replies:** 3\
**Last updated:** [June 21, 2022, 12:18am UTC](https://discourse.julialang.org/t/how-to-use-interact-jl-to-make-sliders-for-reaction-network-parameters/83051 "2022-06-21T00:18:37Z")

</div>

Hi everyone. I’m learning Julia currently and have stumbled into a roadblock. I have a reaction network which I’ve defined in Catalyst. I’d like to use Interact to create sliders for the parameters to see how the traject…

---

## [Gadfly boxplot is getting plotted like a vertical straight line (missing the box part)](https://discourse.julialang.org/t/gadfly-boxplot-is-getting-plotted-like-a-vertical-straight-line-missing-the-box-part/80946)

<div class="topic-metadata">

**Author:** [@rkmalaiya](https://discourse.julialang.org/u/rkmalaiya)\
**Replies:** 4\
**Last updated:** [June 20, 2022, 6:26pm UTC](https://discourse.julialang.org/t/gadfly-boxplot-is-getting-plotted-like-a-vertical-straight-line-missing-the-box-part/80946 "2022-06-20T18:26:24Z")

</div>

Hello, I am trying to make a boxplot using Gadfly but all I see are straight vertical lines. Also, this seems to be a very tricky issue. It only happens for a specific combination of data points, and I am not able to fi…

---

## [How to simulate \`for\_each\_yaxis\` (from Python) in Julia?](https://discourse.julialang.org/t/how-to-simulate-for-each-yaxis-from-python-in-julia/75539)

<div class="topic-metadata">

**Author:** [@Mo-Gul](https://discourse.julialang.org/u/Mo-Gul)\
**Replies:** 1\
**Last updated:** [June 20, 2022, 9:41am UTC](https://discourse.julialang.org/t/how-to-simulate-for-each-yaxis-from-python-in-julia/75539 "2022-06-20T09:41:53Z")

</div>

The title says it all (again). Currently I state all the axes manually to change their styles like in p = make\_subplots( rows=2, cols=1, shared\_xaxes=true, ); add\_trace!(p, scatter(y=1:2), row=1, col=1…

---

## [How to make colors faint/transparent when plotting a color plane using Plots?](https://discourse.julialang.org/t/how-to-make-colors-faint-transparent-when-plotting-a-color-plane-using-plots/83017)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 2\
**Last updated:** [June 20, 2022, 8:08am UTC](https://discourse.julialang.org/t/how-to-make-colors-faint-transparent-when-plotting-a-color-plane-using-plots/83017 "2022-06-20T08:08:25Z")

</div>

Hello, I want to plot a colour plane using plots, e.g. using Plots plot(\[RGB{Float64}(0.0,0.0,1.0) RGB{Float64}(1.0,0.0,0.0); RGB{Float64}(1.0,0.0,0.0) RGB{Float64}(1.0,0.0,0.0)\]) Is there a way to make this faint/t…

---

## [GLMakie Menu() maximum number of items?](https://discourse.julialang.org/t/glmakie-menu-maximum-number-of-items/82948)

<div class="topic-metadata">

**Author:** [@garrek](https://discourse.julialang.org/u/garrek)\
**Replies:** 6\
**Last updated:** [June 20, 2022, 12:18am UTC](https://discourse.julialang.org/t/glmakie-menu-maximum-number-of-items/82948 "2022-06-20T00:18:01Z")

</div>

Is there a maximum number of items that can be added to a Menu? I’m experimenting with GLMakie and Observables. My program watches a folder for new files. Both the data and Menu options are Observables, so when a new fil…

---

## [PGFPlots or PGFPlotsX with Docker](https://discourse.julialang.org/t/pgfplots-or-pgfplotsx-with-docker/82363)

<div class="topic-metadata">

**Author:** [@Iagoba\_Apellaniz](https://discourse.julialang.org/u/Iagoba_Apellaniz)\
**Replies:** 3\
**Last updated:** [June 19, 2022, 8:45pm UTC](https://discourse.julialang.org/t/pgfplots-or-pgfplotsx-with-docker/82363 "2022-06-19T20:45:03Z")

</div>

Dear @kristoffer.carlsson I’m currently used to compile latex code within a docker container. The question is, how difficult would it be to have an option for producing the figures with a Docker image instead of using a…

---

## [Makie - how to get mesh coordinates after transformation of the parent scene](https://discourse.julialang.org/t/makie-how-to-get-mesh-coordinates-after-transformation-of-the-parent-scene/82987)

<div class="topic-metadata">

**Author:** [@danbulnet](https://discourse.julialang.org/u/danbulnet)\
**Replies:** 0\
**Last updated:** [June 18, 2022, 11:54pm UTC](https://discourse.julialang.org/t/makie-how-to-get-mesh-coordinates-after-transformation-of-the-parent-scene/82987 "2022-06-18T23:54:51Z")

</div>

Hello, I’ve got stuck with this: I don’t know how to find the actual mesh coordinates (mesh created using mesh!(scene, ...) function) after rotation and translation have been applied on the parent scene. I tried with m…

---

## [Background image with specific coordinates in Plots.jl](https://discourse.julialang.org/t/background-image-with-specific-coordinates-in-plots-jl/82905)

<div class="topic-metadata">

**Author:** [@unis](https://discourse.julialang.org/u/unis)\
**Replies:** 1\
**Last updated:** [June 17, 2022, 12:08pm UTC](https://discourse.julialang.org/t/background-image-with-specific-coordinates-in-plots-jl/82905 "2022-06-17T12:08:03Z")

</div>

How can a background image be added at specific coordinates (and with a specific scale) on a Plots.jl plot? Assume you have an image of a floor plan whose corner points are associated with specific coordinates, and you’…

---

## [How to plot a 2D rotated array](https://discourse.julialang.org/t/how-to-plot-a-2d-rotated-array/47603)

<div class="topic-metadata">

**Author:** [@luraess](https://discourse.julialang.org/u/luraess)\
**Replies:** 17\
**Last updated:** [June 17, 2022, 8:58am UTC](https://discourse.julialang.org/t/how-to-plot-a-2d-rotated-array/47603 "2022-06-17T08:58:01Z")

</div>

I am trying to plot a heatmap (or contourf, or similar) of a 2D array as function of rotated x and y coordinates. Here a code snippet of what I am trying to achieve: using Plots α = 10.0 lx, ly = 300.0, 100.0 nx, n…

---

## [Watch folder and plot new data in Makie](https://discourse.julialang.org/t/watch-folder-and-plot-new-data-in-makie/82796)

<div class="topic-metadata">

**Author:** [@garrek](https://discourse.julialang.org/u/garrek)\
**Replies:** 1\
**Last updated:** [June 17, 2022, 4:30am UTC](https://discourse.julialang.org/t/watch-folder-and-plot-new-data-in-makie/82796 "2022-06-17T04:30:54Z")

</div>

I have an experiment where a detector collects data and then writes a file. I want to watch a folder and when a new file appears, I want to load the data and plot it using GLMakie. I am almost there but I’m hitting one …

---

## [Computing Concave hull/alpha shape for a point cloud](https://discourse.julialang.org/t/computing-concave-hull-alpha-shape-for-a-point-cloud/82746)

<div class="topic-metadata">

**Author:** [@arsh](https://discourse.julialang.org/u/arsh)\
**Replies:** 14\
**Last updated:** [June 16, 2022, 2:56pm UTC](https://discourse.julialang.org/t/computing-concave-hull-alpha-shape-for-a-point-cloud/82746 "2022-06-16T14:56:14Z")

</div>

I have a point cloud and I want to find it’s outline(also includes holes). Eg: A delaunay triangulation of such point cloud might look like I have tried to use existing tools in the ecosystem but most of them don’t s…

---

## [Inserting margins above plot title](https://discourse.julialang.org/t/inserting-margins-above-plot-title/82801)

<div class="topic-metadata">

**Author:** [@neuro\_enthusiast](https://discourse.julialang.org/u/neuro_enthusiast)\
**Replies:** 2\
**Last updated:** [June 16, 2022, 3:54am UTC](https://discourse.julialang.org/t/inserting-margins-above-plot-title/82801 "2022-06-16T03:54:19Z")

</div>

Hi all! I’m trying to insert margin above the plot title but am unsure how. Any help would be great! For context, I have been using Plots.jl and Measures.jl to insert margins but top\_margin only inserted space between t…

---

## [Is it optimal this way of doing a panel of plots with PlotlyJS.jl?](https://discourse.julialang.org/t/is-it-optimal-this-way-of-doing-a-panel-of-plots-with-plotlyjs-jl/82051)

<div class="topic-metadata">

**Author:** [@rgouveiamendes](https://discourse.julialang.org/u/rgouveiamendes)\
**Replies:** 1\
**Last updated:** [June 14, 2022, 11:39pm UTC](https://discourse.julialang.org/t/is-it-optimal-this-way-of-doing-a-panel-of-plots-with-plotlyjs-jl/82051 "2022-06-14T23:39:02Z")

</div>

I am new in Julia and coming from R. In R I somehow master plotting with {ggplot2} and I am very used to work with tidy data frames. Now that I am starting the PhD thesis I am considering moving to Julia. I must say I …

---

## [Makie contourf behaviour depends on levels type](https://discourse.julialang.org/t/makie-contourf-behaviour-depends-on-levels-type/82769)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 2\
**Last updated:** [June 14, 2022, 7:10pm UTC](https://discourse.julialang.org/t/makie-contourf-behaviour-depends-on-levels-type/82769 "2022-06-14T19:10:02Z")

</div>

Hi, The look of Makie contourf changes when I pass an Int level (levels=10) or a range (levels= levels = -0.75:0.25:0.5) as one can see on the documentation. https://makie.juliaplots.org/stable/examples/plotting\_funct…

---

## [Annotate Points in Plot](https://discourse.julialang.org/t/annotate-points-in-plot/82764)

<div class="topic-metadata">

**Author:** [@gjh](https://discourse.julialang.org/u/gjh)\
**Replies:** 2\
**Last updated:** [June 14, 2022, 5:56pm UTC](https://discourse.julialang.org/t/annotate-points-in-plot/82764 "2022-06-14T17:56:45Z")

</div>

Is there a way to annotate each point with its id number? I know it seems odd, but that is what we are hoping to display. Thank you using DataFrames, Gadfly df = DataFrame((id = 1:20), value\_x=rand(20)\*100, value\_y = r…

---

## [Non-affine transformations in Makie](https://discourse.julialang.org/t/non-affine-transformations-in-makie/81951)

<div class="topic-metadata">

**Author:** [@adigitoleo](https://discourse.julialang.org/u/adigitoleo)\
**Replies:** 8\
**Last updated:** [June 14, 2022, 1:10pm UTC](https://discourse.julialang.org/t/non-affine-transformations-in-makie/81951 "2022-06-14T13:10:25Z")

</div>

I would like to help with adding non-affine transformations to Makie. However, I haven’t used Makie very much yet and also I am aware that this is a fairly ambitious thing to do. I’m also not a graphics expert, just some…

---

## [PlotlyJS: customizing subplot figure titles from facet categories](https://discourse.julialang.org/t/plotlyjs-customizing-subplot-figure-titles-from-facet-categories/82713)

<div class="topic-metadata">

**Author:** [@VivMendes](https://discourse.julialang.org/u/VivMendes)\
**Replies:** 10\
**Last updated:** [June 14, 2022, 11:53am UTC](https://discourse.julialang.org/t/plotlyjs-customizing-subplot-figure-titles-from-facet-categories/82713 "2022-06-14T11:53:55Z")

</div>

Hi everyone, I am trying to adapt a piece of code from Plotly into PlotlyJS. This code allows editing the titles of individual subplots produced with facet\_row and facet\_col by changing the default format. I have tried …

---

## [Discrete colorbar with PlotlyJS](https://discourse.julialang.org/t/discrete-colorbar-with-plotlyjs/80773)

<div class="topic-metadata">

**Author:** [@Line](https://discourse.julialang.org/u/Line)\
**Replies:** 4\
**Last updated:** [June 13, 2022, 4:29pm UTC](https://discourse.julialang.org/t/discrete-colorbar-with-plotlyjs/80773 "2022-06-13T16:29:10Z")

</div>

Hi, wonder if there is any good way to make a discrete colour bar when making a heatmap plot with PlotlyJS? It would also be nice to be able to label these.

---

## [Does not plot if change array](https://discourse.julialang.org/t/does-not-plot-if-change-array/82650)

<div class="topic-metadata">

**Author:** [@leonandonayre](https://discourse.julialang.org/u/leonandonayre)\
**Replies:** 5\
**Last updated:** [June 13, 2022, 7:31am UTC](https://discourse.julialang.org/t/does-not-plot-if-change-array/82650 "2022-06-13T07:31:03Z")

</div>

This program is very simple, but I do not understand why it works when I use ξ\_ar = 0.00001:0.01:10 but it does not when ξ\_ar = 0.00001:0.000001:10 . using ModelingToolkit; using LaTeXStrings; using Plots; @variables…

---

## [Quick way to make axis invisible (Makiei)?](https://discourse.julialang.org/t/quick-way-to-make-axis-invisible-makiei/82478)

<div class="topic-metadata">

**Author:** [@marcpabst](https://discourse.julialang.org/u/marcpabst)\
**Replies:** 2\
**Last updated:** [June 12, 2022, 7:34am UTC](https://discourse.julialang.org/t/quick-way-to-make-axis-invisible-makiei/82478 "2022-06-12T07:34:31Z")

</div>

Hi! I’m preparing some quite complex figures for a presentation and I would like to produce multiple versions of that figure with different parts of the layout shown/hidden. Is there any simple way to make an axis invis…

---

## [Add Dollar Signs to Axis](https://discourse.julialang.org/t/add-dollar-signs-to-axis/82524)

<div class="topic-metadata">

**Author:** [@gjh](https://discourse.julialang.org/u/gjh)\
**Replies:** 1\
**Last updated:** [June 9, 2022, 8:14pm UTC](https://discourse.julialang.org/t/add-dollar-signs-to-axis/82524 "2022-06-09T20:14:59Z")

</div>

I want to add dollar signs to the x and y-axis (e.g., $10K). I’m sure I am missing something simple. Thank you for any help!!! using Gadfly, Printf plot(x=rand(10)\*10\_000, y=rand(10)\*10\_000, Scale.x\_continuous(labels…

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

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