# Visualization

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

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

**Page:** 50

---

## [Makie | First item in GridLayout not displayed](https://discourse.julialang.org/t/makie-first-item-in-gridlayout-not-displayed/81353)

<div class="topic-metadata">

**Author:** [@Audrius-St](https://discourse.julialang.org/u/Audrius-St)\
**Replies:** 2\
**Last updated:** [May 20, 2022, 8:25pm UTC](https://discourse.julialang.org/t/makie-first-item-in-gridlayout-not-displayed/81353 "2022-05-20T20:25:26Z")

</div>

Hello, OS: Windows 11 Julia: 1.7.2 Makie: 0.17.2 The first item “Patient” in the following nested GridLayout is not being displayed: Code fragment: # Figure for GLMakie display noto\_sans = assetpath("NotoSans-Re…

---

## [Examples of MVC or other UI pattern for Makie](https://discourse.julialang.org/t/examples-of-mvc-or-other-ui-pattern-for-makie/53489)

<div class="topic-metadata">

**Author:** [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Replies:** 1\
**Last updated:** [May 20, 2022, 7:02pm UTC](https://discourse.julialang.org/t/examples-of-mvc-or-other-ui-pattern-for-makie/53489 "2022-05-20T19:02:03Z")

</div>

I’m trying to put together a simple GUI using Makie and the latest layout awesomeness and realizing that most of the challenge is figuring out how best to implement something like MVC (Model-View-Controller) or whatever …

---

## [Using streamplot with PyPlot backend in Plots](https://discourse.julialang.org/t/using-streamplot-with-pyplot-backend-in-plots/81278)

<div class="topic-metadata">

**Author:** [@cmdenis](https://discourse.julialang.org/u/cmdenis)\
**Replies:** 5\
**Last updated:** [May 20, 2022, 4:02pm UTC](https://discourse.julialang.org/t/using-streamplot-with-pyplot-backend-in-plots/81278 "2022-05-20T16:02:05Z")

</div>

Hello, I don’t have a strong understanding of how Plots work, but as far as I know, it serves as an API that uses backend plotting systems, like matplotlib or gr. This allows the user to use similar (if not identical) s…

---

## [How to set different linestyles in Makie Series plot](https://discourse.julialang.org/t/how-to-set-different-linestyles-in-makie-series-plot/75818)

<div class="topic-metadata">

**Author:** [@bgctw](https://discourse.julialang.org/u/bgctw)\
**Replies:** 1\
**Last updated:** [May 18, 2022, 6:04am UTC](https://discourse.julialang.org/t/how-to-set-different-linestyles-in-makie-series-plot/75818 "2022-05-18T06:04:11Z")

</div>

The Makie series command can be used to plot several lines of a matrix. I found an documentation example that shows how to set different labels and colors for the different lines. Could someone hint me to documentatio…

---

## [How to add significance stars to a Plotly boxplot](https://discourse.julialang.org/t/how-to-add-significance-stars-to-a-plotly-boxplot/81170)

<div class="topic-metadata">

**Author:** [@Juan\_Mac\_Donagh](https://discourse.julialang.org/u/Juan_Mac_Donagh)\
**Replies:** 3\
**Last updated:** [May 17, 2022, 3:30pm UTC](https://discourse.julialang.org/t/how-to-add-significance-stars-to-a-plotly-boxplot/81170 "2022-05-17T15:30:15Z")

</div>

Hi all, I have the following boxplot that I made with Plotly, and I was wondering if there was a general way of adding the significance asterisks above them? I have already done the statistic test, so I only have to add …

---

## [Makie: text coordinates relative to the edges of the Axis](https://discourse.julialang.org/t/makie-text-coordinates-relative-to-the-edges-of-the-axis/81102)

<div class="topic-metadata">

**Author:** [@RayleighLord](https://discourse.julialang.org/u/RayleighLord)\
**Replies:** 3\
**Last updated:** [May 17, 2022, 10:25am UTC](https://discourse.julialang.org/t/makie-text-coordinates-relative-to-the-edges-of-the-axis/81102 "2022-05-17T10:25:41Z")

</div>

Hello, In Matplotlib, it is possible to introduce text in the figures relative to the edges of the axis and not depending on the size of the particular plot you have. For example, you could place a text at (0.1, 0.1), w…

---

## [How to minimize space between colorbar and Axis, with aspect=DataAspect()](https://discourse.julialang.org/t/how-to-minimize-space-between-colorbar-and-axis-with-aspect-dataaspect/81167)

<div class="topic-metadata">

**Author:** [@ederag](https://discourse.julialang.org/u/ederag)\
**Replies:** 4\
**Last updated:** [May 17, 2022, 8:31am UTC](https://discourse.julialang.org/t/how-to-minimize-space-between-colorbar-and-axis-with-aspect-dataaspect/81167 "2022-05-17T08:31:33Z")

</div>

let fig = Figure(resolution=(700,300)) ax = Axis(fig\[1, 1\]; aspect=DataAspect()) lines!(ax, Circle(Point2f(0, 0), 1)) lines!(ax, Circle(Point2f(0, 1), 1)) Colorbar(fig\[1, 2\]) resize\_to\_layout!(fig) fig end result…

---

## [Slightly weird LaTeX characters in Makie plots](https://discourse.julialang.org/t/slightly-weird-latex-characters-in-makie-plots/81181)

<div class="topic-metadata">

**Author:** [@RayleighLord](https://discourse.julialang.org/u/RayleighLord)\
**Replies:** 0\
**Last updated:** [May 17, 2022, 7:57am UTC](https://discourse.julialang.org/t/slightly-weird-latex-characters-in-makie-plots/81181 "2022-05-17T07:57:27Z")

</div>

Hello, I would like to point out a strange behaviour I started to notice when using LaTeX strings in Makie plots. This issue might seem subtle, and I do not know how easy a solution could be, but I think raising it is w…

---

## [Any way to plot non-orthogonal axis in Julia?](https://discourse.julialang.org/t/any-way-to-plot-non-orthogonal-axis-in-julia/81161)

<div class="topic-metadata">

**Author:** [@chunjiw](https://discourse.julialang.org/u/chunjiw)\
**Replies:** 2\
**Last updated:** [May 16, 2022, 6:42pm UTC](https://discourse.julialang.org/t/any-way-to-plot-non-orthogonal-axis-in-julia/81161 "2022-05-16T18:42:32Z")

</div>

Something like this

---

## [Makie.jl: colormap without coarse graining](https://discourse.julialang.org/t/makie-jl-colormap-without-coarse-graining/81130)

<div class="topic-metadata">

**Author:** [@Kevin\_Kleinbeck](https://discourse.julialang.org/u/Kevin_Kleinbeck)\
**Replies:** 4\
**Last updated:** [May 16, 2022, 3:48pm UTC](https://discourse.julialang.org/t/makie-jl-colormap-without-coarse-graining/81130 "2022-05-16T15:48:51Z")

</div>

Motivation I have a function f on a 2d domain, which approximatively has a minimal negative value -1 and a maximal positive value of \\approx 1/4 (not really important), which I want to visualise in a way, such that f \\ap…

---

## [Overlapping 3d lines in glmakie not drawing as expected](https://discourse.julialang.org/t/overlapping-3d-lines-in-glmakie-not-drawing-as-expected/81031)

<div class="topic-metadata">

**Author:** [@brianguenter](https://discourse.julialang.org/u/brianguenter)\
**Replies:** 2\
**Last updated:** [May 14, 2022, 11:45pm UTC](https://discourse.julialang.org/t/overlapping-3d-lines-in-glmakie-not-drawing-as-expected/81031 "2022-05-14T23:45:40Z")

</div>

using GLMakie GLMakie.activate!() function mwe\_segments(step\_size) fig = Figure() ax = Axis3(fig\[1,1\],viewmode = :fit, aspect = (1.0,1.0,1.0)) for y in -10:step\_size:10 lines!(ax,\[SVector(0.0,y,…

---

## [What do other plotting libraries do well?](https://discourse.julialang.org/t/what-do-other-plotting-libraries-do-well/81061)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 0\
**Last updated:** [May 14, 2022, 1:55pm UTC](https://discourse.julialang.org/t/what-do-other-plotting-libraries-do-well/81061 "2022-05-14T13:55:32Z")

</div>

Dear significant contributors to any plotting package: Which aspect of some other plotting package do you like? What do you think they do particularly well?

---

## [Makie scatter image marker no longer work](https://discourse.julialang.org/t/makie-scatter-image-marker-no-longer-work/80727)

<div class="topic-metadata">

**Author:** [@babaq](https://discourse.julialang.org/u/babaq)\
**Replies:** 4\
**Last updated:** [May 13, 2022, 8:05am UTC](https://discourse.julialang.org/t/makie-scatter-image-marker-no-longer-work/80727 "2022-05-13T08:05:40Z")

</div>

I just found my old code not working any more: Makie.scatter(1:2, 1:2,marker = \[rand(Gray,3,3),rand(Gray,3,3)\], markersize=30) my julia version is 1.7.2 on win10, GLMakie is 0.5.5. list of buildin marker works, for ex…

---

## [Gadfly - subplot\_grid is not readjusting the x axis width for free\_x\_axis = true, if xlabels are different in subplots](https://discourse.julialang.org/t/gadfly-subplot-grid-is-not-readjusting-the-x-axis-width-for-free-x-axis-true-if-xlabels-are-different-in-subplots/80950)

<div class="topic-metadata">

**Author:** [@rkmalaiya](https://discourse.julialang.org/u/rkmalaiya)\
**Replies:** 0\
**Last updated:** [May 12, 2022, 11:03am UTC](https://discourse.julialang.org/t/gadfly-subplot-grid-is-not-readjusting-the-x-axis-width-for-free-x-axis-true-if-xlabels-are-different-in-subplots/80950 "2022-05-12T11:03:04Z")

</div>

Hello, This issue is related to using subplot\_grid in Gadfly. The issue is, given the xlabels in the two subplots are different due to my data points, even when I do free\_x\_axis = true, the plot retains the locations of…

---

## [Makie aspect ratio 3D plot](https://discourse.julialang.org/t/makie-aspect-ratio-3d-plot/57705)

<div class="topic-metadata">

**Author:** [@lazarusA](https://discourse.julialang.org/u/lazarusA)\
**Replies:** 8\
**Last updated:** [May 12, 2022, 5:34am UTC](https://discourse.julialang.org/t/makie-aspect-ratio-3d-plot/57705 "2022-05-12T05:34:01Z")

</div>

When plotting into an LScene and by using an Axis, the output figure is always rescaled into the data limits, making sometimes hard to see things, if one of the variables is too large or to low. MWE using GLMakie fig =…

---

## [Weave hangs when trying to generate a plot](https://discourse.julialang.org/t/weave-hangs-when-trying-to-generate-a-plot/80617)

<div class="topic-metadata">

**Author:** [@pauldg](https://discourse.julialang.org/u/pauldg)\
**Replies:** 2\
**Last updated:** [May 11, 2022, 11:40am UTC](https://discourse.julialang.org/t/weave-hangs-when-trying-to-generate-a-plot/80617 "2022-05-11T11:40:56Z")

</div>

I have a histogram inside a jmd file that I want to plot: \`\`\`julia; echo = false using Plots gr() h = histogram(WEAVE\_ARGS.dict\["p\_reads"\], label="", xlabel="Number of reads", …

---

## [Plot frequencies instead of counts in AoG](https://discourse.julialang.org/t/plot-frequencies-instead-of-counts-in-aog/80873)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 0\
**Last updated:** [May 11, 2022, 10:02am UTC](https://discourse.julialang.org/t/plot-frequencies-instead-of-counts-in-aog/80873 "2022-05-11T10:02:07Z")

</div>

I’m doing something similar to this example: http://juliaplots.org/AlgebraOfGraphics.jl/stable/generated/analyses/#Frequency But I would like to plot frequencies instead of counts. How can I do that?

---

## [Zooming and date axes in Makie](https://discourse.julialang.org/t/zooming-and-date-axes-in-makie/80790)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 14\
**Last updated:** [May 10, 2022, 1:47pm UTC](https://discourse.julialang.org/t/zooming-and-date-axes-in-makie/80790 "2022-05-10T13:47:39Z")

</div>

Hi there! I recently got acquainted with Makie and I absolutely love it! Here are 2 small questions related to zooming (in GLMakie): Is it possible to update the ticks dynamically when zooming? For instance I would l…

---

## [How to make Stat.x\_jitter work with Geom.subplot\_grid](https://discourse.julialang.org/t/how-to-make-stat-x-jitter-work-with-geom-subplot-grid/80152)

<div class="topic-metadata">

**Author:** [@rkmalaiya](https://discourse.julialang.org/u/rkmalaiya)\
**Replies:** 1\
**Last updated:** [May 10, 2022, 11:01am UTC](https://discourse.julialang.org/t/how-to-make-stat-x-jitter-work-with-geom-subplot-grid/80152 "2022-05-10T11:01:32Z")

</div>

Hello Everyone, The plot, using Gadfly.jl, that I am trying to make requires me to jitter the points in a grid plot. But I cannot figure out how? The code example below replicates my situation. Please suggest what may I…

---

## [Latex Strings in Makie Axis Ticks](https://discourse.julialang.org/t/latex-strings-in-makie-axis-ticks/80729)

<div class="topic-metadata">

**Author:** [@Whyborn](https://discourse.julialang.org/u/Whyborn)\
**Replies:** 2\
**Last updated:** [May 9, 2022, 3:20pm UTC](https://discourse.julialang.org/t/latex-strings-in-makie-axis-ticks/80729 "2022-05-09T15:20:55Z")

</div>

Hi, I have been having some issues with generating my desired tick labels in Makie. I would like to use LaTeX style formatting (for example \\rho\_{B}). Unfortunately, Makie does not seem to accept LatexStrings for the ax…

---

## [Add reference lines to plot in VegaLite.jl](https://discourse.julialang.org/t/add-reference-lines-to-plot-in-vegalite-jl/80515)

<div class="topic-metadata">

**Author:** [@amrods](https://discourse.julialang.org/u/amrods)\
**Replies:** 2\
**Last updated:** [May 9, 2022, 12:02am UTC](https://discourse.julialang.org/t/add-reference-lines-to-plot-in-vegalite-jl/80515 "2022-05-09T00:02:49Z")

</div>

I’m trying to add 2 reference horizontal lines to this plot, but my attempt doesn’t extend the lines to the y-axis, which is what I want. Any suggestions? using DataFrames using VegaLite df = DataFrame(m = 1:5, ll=21:2…

---

## [How do I make an histogram with no vertical edges between bars in Plots.jl?](https://discourse.julialang.org/t/how-do-i-make-an-histogram-with-no-vertical-edges-between-bars-in-plots-jl/80671)

<div class="topic-metadata">

**Author:** [@ultrapoci](https://discourse.julialang.org/u/ultrapoci)\
**Replies:** 2\
**Last updated:** [May 7, 2022, 9:12pm UTC](https://discourse.julialang.org/t/how-do-i-make-an-histogram-with-no-vertical-edges-between-bars-in-plots-jl/80671 "2022-05-07T21:12:49Z")

</div>

I would like to make an histogram like this one: but I don’t know how to do it. I can set the fillalpha option to zero to have empty bars, but the vertical edges remain: And if I set linecolor to :transparent, the…

---

## [Need help in formatting bar plot in Makie](https://discourse.julialang.org/t/need-help-in-formatting-bar-plot-in-makie/80496)

<div class="topic-metadata">

**Author:** [@EricChameroy](https://discourse.julialang.org/u/EricChameroy)\
**Replies:** 2\
**Last updated:** [May 6, 2022, 10:17pm UTC](https://discourse.julialang.org/t/need-help-in-formatting-bar-plot-in-makie/80496 "2022-05-06T22:17:18Z")

</div>

I’m trying to recreate the following image using Makie and I’m having issues with some of the final formatting: So far, I managed to come up with the following: using CairoMakie age\_groups = \["0-12", "13-24", "25-3…

---

## [\[Makie\] Help with plotting just the boundary of a polygon](https://discourse.julialang.org/t/makie-help-with-plotting-just-the-boundary-of-a-polygon/80556)

<div class="topic-metadata">

**Author:** [@Pappy](https://discourse.julialang.org/u/Pappy)\
**Replies:** 6\
**Last updated:** [May 6, 2022, 11:39am UTC](https://discourse.julialang.org/t/makie-help-with-plotting-just-the-boundary-of-a-polygon/80556 "2022-05-06T11:39:25Z")

</div>

Hi, I am using makie to plot some shapes. Is there any way to plot just the boundary? The poly function works the exact way I want, but it doesn’t appear to have an arguement that allows you to just plot the boundary of …

---

## [Luxor.jl - resize canvas?](https://discourse.julialang.org/t/luxor-jl-resize-canvas/80603)

<div class="topic-metadata">

**Author:** [@MLackner](https://discourse.julialang.org/u/MLackner)\
**Replies:** 1\
**Last updated:** [May 6, 2022, 11:22am UTC](https://discourse.julialang.org/t/luxor-jl-resize-canvas/80603 "2022-05-06T11:22:43Z")

</div>

Is there a way to resize a canvas in Luxor.jl so it includes the bounding boxes of all elements? Suppose I have the following code generating a drawing: @png begin circle(Point(200, 200), 150, :fill) end Now the cir…

---

## [Gadfly and custom group colors](https://discourse.julialang.org/t/gadfly-and-custom-group-colors/80566)

<div class="topic-metadata">

**Author:** [@gjh](https://discourse.julialang.org/u/gjh)\
**Replies:** 1\
**Last updated:** [May 6, 2022, 12:04am UTC](https://discourse.julialang.org/t/gadfly-and-custom-group-colors/80566 "2022-05-06T00:04:12Z")

</div>

using Gadfly, DataFrames x=\[1,2,3,4,5,6\] y=\[6,5,4,3,2,1\] group=\[“a”, “b”, “a”, “b”,“a”, “b”\] df=DataFrame(x=x, y=y, group=group) Gadfly.plot(df, x=:x, y=:y, color=:group, Geom.point, Theme(background\_color=“ghos…

---

## [Help with range plot with VegaLite.jl](https://discourse.julialang.org/t/help-with-range-plot-with-vegalite-jl/80462)

<div class="topic-metadata">

**Author:** [@amrods](https://discourse.julialang.org/u/amrods)\
**Replies:** 2\
**Last updated:** [May 4, 2022, 8:20am UTC](https://discourse.julialang.org/t/help-with-range-plot-with-vegalite-jl/80462 "2022-05-04T08:20:24Z")

</div>

I’m having trouble creating a range plot with VegaLite.jl (similar to this How to create a range plot - Datawrapper Academy, but with the ranges orientated vertically). I just need a simple line connecting ul to ll for e…

---

## [Contour\_labels absent when scale=:log10 in GR](https://discourse.julialang.org/t/contour-labels-absent-when-scale-log10-in-gr/80458)

<div class="topic-metadata">

**Author:** [@bcon](https://discourse.julialang.org/u/bcon)\
**Replies:** 2\
**Last updated:** [May 4, 2022, 10:09am UTC](https://discourse.julialang.org/t/contour-labels-absent-when-scale-log10-in-gr/80458 "2022-05-04T10:09:48Z")

</div>

I can’t get GR to draw contour\_labels when axes are log-scaled: using Plots using FileIO x = 1:0.5:20 y = 1:0.5:10 f(x, y) = (3x + y ^ 2) \* abs(sin(x) + cos(y)) pyplot() p1 = contour(x, y, f, fill=false, scale=:…

---

## [Changing size of markers in legend with Plots](https://discourse.julialang.org/t/changing-size-of-markers-in-legend-with-plots/15520)

<div class="topic-metadata">

**Author:** [@akazachk](https://discourse.julialang.org/u/akazachk)\
**Replies:** 1\
**Last updated:** [May 4, 2022, 9:35am UTC](https://discourse.julialang.org/t/changing-size-of-markers-in-legend-with-plots/15520 "2022-05-04T09:35:57Z")

</div>

Hi everyone, I am on v1, plotting with Plots (and the GR backed). I know that I can change the size of markers with markersize in my plot, but I can’t seem to find a way to change the size within the legend. The markers …

---

## [How does the \`camera\` attribute of \`plot\` work?](https://discourse.julialang.org/t/how-does-the-camera-attribute-of-plot-work/22139)

<div class="topic-metadata">

**Author:** [@adityam](https://discourse.julialang.org/u/adityam)\
**Replies:** 1\
**Last updated:** [May 4, 2022, 9:13am UTC](https://discourse.julialang.org/t/how-does-the-camera-attribute-of-plot-work/22139 "2022-05-04T09:13:42Z")

</div>

I am trying to understand how the camera attribute of plots works? The documentation says Sets the view angle (azimuthal, elevation) for 3D plots but I fail to visualize how I can set the view angle by specifying two…

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

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