# Visualization

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

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

**Page:** 41

---

## [How could I draw a force field (arrows) using AlgebraOfGraphics?](https://discourse.julialang.org/t/how-could-i-draw-a-force-field-arrows-using-algebraofgraphics/90301)

<div class="topic-metadata">

**Author:** [@martinmestre](https://discourse.julialang.org/u/martinmestre)\
**Replies:** 2\
**Last updated:** [November 16, 2022, 4:17pm UTC](https://discourse.julialang.org/t/how-could-i-draw-a-force-field-arrows-using-algebraofgraphics/90301 "2022-11-16T16:17:43Z")

</div>

Hello, I have a dataframe where two columns give the position and two columns give the arrow, I would like to use AoG to plot it. Thanks

---

## [Why are the return-values of fft and fftfreq so terrible?](https://discourse.julialang.org/t/why-are-the-return-values-of-fft-and-fftfreq-so-terrible/87510)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 16\
**Last updated:** [November 12, 2022, 10:48pm UTC](https://discourse.julialang.org/t/why-are-the-return-values-of-fft-and-fftfreq-so-terrible/87510 "2022-11-12T22:48:46Z")

</div>

The situation When I calculate the fft of a signal, I want to plot it almost every time. However, there is a number of operations that I want to do each time, as the output from fft and fftfreq is honestly terrible. So …

---

## [Bar Chart with error bars plots](https://discourse.julialang.org/t/bar-chart-with-error-bars-plots/90155)

<div class="topic-metadata">

**Author:** [@indymnv](https://discourse.julialang.org/u/indymnv)\
**Replies:** 2\
**Last updated:** [November 12, 2022, 10:24am UTC](https://discourse.julialang.org/t/bar-chart-with-error-bars-plots/90155 "2022-11-12T10:24:10Z")

</div>

If i have a dataset as follow: df = DataFrame( group = \["A", "B", "C"\], total = \[7.7, 4.6, 5.1\], std\_error = \[0.04, 0.05, 0.06\] ) How can I create a Barplot with error bars, using plots and statplots? Simil…

---

## [Makie - How to set custom x and y tick values in a Makie heatmap](https://discourse.julialang.org/t/makie-how-to-set-custom-x-and-y-tick-values-in-a-makie-heatmap/81397)

<div class="topic-metadata">

**Author:** [@Brinkhuis](https://discourse.julialang.org/u/Brinkhuis)\
**Replies:** 2\
**Last updated:** [May 21, 2022, 7:06am UTC](https://discourse.julialang.org/t/makie-how-to-set-custom-x-and-y-tick-values-in-a-makie-heatmap/81397 "2022-05-21T07:06:30Z")

</div>

I want to make a heatmap in Julia using Makie (CairoMakie) with custom x and y tick values on the axes, like this one from Seaborn. Any suggestions on how to modify the figure to het the months January to December on th…

---

## [How to draw multiple graphs in one big graph using vegalite package?](https://discourse.julialang.org/t/how-to-draw-multiple-graphs-in-one-big-graph-using-vegalite-package/90128)

<div class="topic-metadata">

**Author:** [@akshdfyehd](https://discourse.julialang.org/u/akshdfyehd)\
**Replies:** 0\
**Last updated:** [November 11, 2022, 4:18pm UTC](https://discourse.julialang.org/t/how-to-draw-multiple-graphs-in-one-big-graph-using-vegalite-package/90128 "2022-11-11T16:18:27Z")

</div>

Hi, I got the following datasets: Im trying to produce a graph with x axis be job title, y be salary\_in\_usd and color in different experience level, something like this: I need to do it in vegalite but I didn’t fi…

---

## [How to draw three box plot for each job title in each year from 2020,2021,2022(using vegalite)?](https://discourse.julialang.org/t/how-to-draw-three-box-plot-for-each-job-title-in-each-year-from-2020-2021-2022-using-vegalite/90125)

<div class="topic-metadata">

**Author:** [@akshdfyehd](https://discourse.julialang.org/u/akshdfyehd)\
**Replies:** 0\
**Last updated:** [November 11, 2022, 3:42pm UTC](https://discourse.julialang.org/t/how-to-draw-three-box-plot-for-each-job-title-in-each-year-from-2020-2021-2022-using-vegalite/90125 "2022-11-11T15:42:32Z")

</div>

Hi, I have got this dataset: and so far I have draw this: I need to draw three box plot for each job title to represent the different work year from 2020,2021,2022(use vegalite package), can someone please give …

---

## [How to make the jitter by using vegalite package](https://discourse.julialang.org/t/how-to-make-the-jitter-by-using-vegalite-package/90123)

<div class="topic-metadata">

**Author:** [@akshdfyehd](https://discourse.julialang.org/u/akshdfyehd)\
**Replies:** 0\
**Last updated:** [November 11, 2022, 2:47pm UTC](https://discourse.julialang.org/t/how-to-make-the-jitter-by-using-vegalite-package/90123 "2022-11-11T14:47:21Z")

</div>

Hi, I got the following graph for each job title with salary in box plot: so there are some outliers here, presented as dot, I want to make some jitters like this for each job title have outliers: Is there any w…

---

## [What is the standard font used by Vegalite.jl?](https://discourse.julialang.org/t/what-is-the-standard-font-used-by-vegalite-jl/31595)

<div class="topic-metadata">

**Author:** [@Usor](https://discourse.julialang.org/u/Usor)\
**Replies:** 13\
**Last updated:** [November 11, 2022, 2:23pm UTC](https://discourse.julialang.org/t/what-is-the-standard-font-used-by-vegalite-jl/31595 "2022-11-11T14:23:14Z")

</div>

What is the standard font used for text in Vegalite.jl? This seemed like the right forum to ask. If wrong, can a moderator move it to the right one? Thanks.

---

## [Longer dashes in dashed lines](https://discourse.julialang.org/t/longer-dashes-in-dashed-lines/90104)

<div class="topic-metadata">

**Author:** [@pascal](https://discourse.julialang.org/u/pascal)\
**Replies:** 2\
**Last updated:** [November 11, 2022, 12:55pm UTC](https://discourse.julialang.org/t/longer-dashes-in-dashed-lines/90104 "2022-11-11T12:55:53Z")

</div>

When plotting dashed lines I can use linestyle=:dash. To my taste the individual dashed are a bit short. Is there something like :longdash in CairoMakie? Or how can I increase the dash length?

---

## [Plots: absolute position of axis endpoints?](https://discourse.julialang.org/t/plots-absolute-position-of-axis-endpoints/90055)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 3\
**Last updated:** [November 11, 2022, 12:28pm UTC](https://discourse.julialang.org/t/plots-absolute-position-of-axis-endpoints/90055 "2022-11-11T12:28:11Z")

</div>

As I understand, the size attribute fixes the physical size of the canvas. (Sorry I don’t know the proper terminology.) But, I wonder how to fix the physical positions of the endpoints of the axes. I’m producing a set …

---

## [Plot: uniform tic marks, numeric labels at every other tic mark](https://discourse.julialang.org/t/plot-uniform-tic-marks-numeric-labels-at-every-other-tic-mark/90052)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 4\
**Last updated:** [November 11, 2022, 10:11am UTC](https://discourse.julialang.org/t/plot-uniform-tic-marks-numeric-labels-at-every-other-tic-mark/90052 "2022-11-11T10:11:45Z")

</div>

As I understand, minor tic marks are shorter than major ones, and major ones have associated numeric labels. Now, what I want to achieve is to have tic marks with an equal length but the numeric labels are placed at eve…

---

## [Makie - Observables and removing widgets](https://discourse.julialang.org/t/makie-observables-and-removing-widgets/88485)

<div class="topic-metadata">

**Author:** [@lmshk](https://discourse.julialang.org/u/lmshk)\
**Replies:** 2\
**Last updated:** [November 10, 2022, 4:14pm UTC](https://discourse.julialang.org/t/makie-observables-and-removing-widgets/88485 "2022-11-10T16:14:47Z")

</div>

I am trying to build an interactive figure (GLMakie v0.6.13, Makie v0.17.13) where the specific layout, including the existence of various subplots, depends on the data. I would like to use Makie’s predefined widgets to …

---

## [Shapes from geojson on geo map with Plotly](https://discourse.julialang.org/t/shapes-from-geojson-on-geo-map-with-plotly/89777)

<div class="topic-metadata">

**Author:** [@lgo](https://discourse.julialang.org/u/lgo)\
**Replies:** 5\
**Last updated:** [November 10, 2022, 12:10pm UTC](https://discourse.julialang.org/t/shapes-from-geojson-on-geo-map-with-plotly/89777 "2022-11-10T12:10:55Z")

</div>

I want to plot a geojson with multiple geojsons as a geo map with Plotly. I tried to convert an existing Python example to Julia but without success. The code below is just one example and I’ve also tested the same struc…

---

## [No console window with Gtk](https://discourse.julialang.org/t/no-console-window-with-gtk/89979)

<div class="topic-metadata">

**Author:** [@tresgrospipo](https://discourse.julialang.org/u/tresgrospipo)\
**Replies:** 0\
**Last updated:** [November 9, 2022, 12:15pm UTC](https://discourse.julialang.org/t/no-console-window-with-gtk/89979 "2022-11-09T12:15:17Z")

</div>

Hi everyone, new in Julia, I need to have a GUI on Julia in WIN11 (can’t choose OS), I choose Gtk.jl and test a simple script using Gtk win = GtkWindow(“My First Gtk.jl Program”, 400, 200) b = GtkButton(“Click Me”) p…

---

## [Mesh Parametric Surface](https://discourse.julialang.org/t/mesh-parametric-surface/84579)

<div class="topic-metadata">

**Author:** [@Veenty](https://discourse.julialang.org/u/Veenty)\
**Replies:** 4\
**Last updated:** [November 9, 2022, 12:04pm UTC](https://discourse.julialang.org/t/mesh-parametric-surface/84579 "2022-11-09T12:04:46Z")

</div>

I have a surface that can be described by f(u,v), and I would like to generate a mesh of this object (so that I can later put it in Blender/Paraview). Any guidelines on how to do it in Julia?

---

## [Speeding up plotting inside of a loop?](https://discourse.julialang.org/t/speeding-up-plotting-inside-of-a-loop/89942)

<div class="topic-metadata">

**Author:** [@jlchan](https://discourse.julialang.org/u/jlchan)\
**Replies:** 3\
**Last updated:** [November 9, 2022, 10:15am UTC](https://discourse.julialang.org/t/speeding-up-plotting-inside-of-a-loop/89942 "2022-11-09T10:15:52Z")

</div>

I am creating a custom surface plot piece-by-piece inside of a for loop. Here’s a very simplified example: mutable struct MyPlotType{T} x::T end @recipe function f(::Type{MyPlotType{T}}, my\_plot\_type::MyPlotType{T}…

---

## [How to change the display size of an image in IJulia (Jupyter)?](https://discourse.julialang.org/t/how-to-change-the-display-size-of-an-image-in-ijulia-jupyter/70675)

<div class="topic-metadata">

**Author:** [@Shuhua](https://discourse.julialang.org/u/Shuhua)\
**Replies:** 2\
**Last updated:** [November 8, 2022, 8:58am UTC](https://discourse.julialang.org/t/how-to-change-the-display-size-of-an-image-in-ijulia-jupyter/70675 "2022-11-08T08:58:12Z")

</div>

We can generate a random image with a rand array. However, regardless of the size of the array, the image is always displayed in Jupyter IJulia (in VS code) with a fixed size. Is there any way to adjust the display size? …

---

## [Plots: subplot size changes when nesting plots with subplots & layout](https://discourse.julialang.org/t/plots-subplot-size-changes-when-nesting-plots-with-subplots-layout/61287)

<div class="topic-metadata">

**Author:** [@vandenman](https://discourse.julialang.org/u/vandenman)\
**Replies:** 0\
**Last updated:** [May 17, 2021, 9:14am UTC](https://discourse.julialang.org/t/plots-subplot-size-changes-when-nesting-plots-with-subplots-layout/61287 "2021-05-17T09:14:32Z")

</div>

So I’m having an issue when I put a plot with a layout into another plot. Consider the following example, my actual code is different (e.g., more pretty plotting and meaningful content), but this shows the problem alrea…

---

## [Layout with several grids](https://discourse.julialang.org/t/layout-with-several-grids/87474)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 2\
**Last updated:** [November 7, 2022, 7:23pm UTC](https://discourse.julialang.org/t/layout-with-several-grids/87474 "2022-11-07T19:23:12Z")

</div>

I am using Plots with GR backend and trying to create a 2x2 grid of plots with a common legend in the bottom. As it happens, there is no support for horizontal legends with gr, so I am trying to add plots without a fram…

---

## [Julia plots are very slow in every run](https://discourse.julialang.org/t/julia-plots-are-very-slow-in-every-run/89863)

<div class="topic-metadata">

**Author:** [@Fuad\_Hasibul\_Hasan](https://discourse.julialang.org/u/Fuad_Hasibul_Hasan)\
**Replies:** 5\
**Last updated:** [November 7, 2022, 2:24pm UTC](https://discourse.julialang.org/t/julia-plots-are-very-slow-in-every-run/89863 "2022-11-07T14:24:54Z")

</div>

I am relatively new to Julia. I find plotting very slow; though I found some questions and responses about slow plotting for the first time due to compilation, in my case it is slow every time. Here is what I am doing: @…

---

## [Axis jitter when using slider and axis autolimits in GLMakie](https://discourse.julialang.org/t/axis-jitter-when-using-slider-and-axis-autolimits-in-glmakie/89687)

<div class="topic-metadata">

**Author:** [@garrek](https://discourse.julialang.org/u/garrek)\
**Replies:** 2\
**Last updated:** [November 6, 2022, 6:26am UTC](https://discourse.julialang.org/t/axis-jitter-when-using-slider-and-axis-autolimits-in-glmakie/89687 "2022-11-06T06:26:31Z")

</div>

When using a Slider that changes a variable in a function, sometimes the amplitude can change quite a lot. In some cases, it makes sense to resize the axes to see what’s going on in a plot. This can easily be done in GLM…

---

## [Drawing an outline around one data point in heatmap](https://discourse.julialang.org/t/drawing-an-outline-around-one-data-point-in-heatmap/89820)

<div class="topic-metadata">

**Author:** [@yhchang96](https://discourse.julialang.org/u/yhchang96)\
**Replies:** 2\
**Last updated:** [November 5, 2022, 8:46pm UTC](https://discourse.julialang.org/t/drawing-an-outline-around-one-data-point-in-heatmap/89820 "2022-11-05T20:46:53Z")

</div>

Suppose I have a heatmap created using Makie.jl: data = rand(10,10) fig = Figure() ax = Axis(fig\[1,1\], aspect=1) hm = heatmap!(ax, data) fig The heatmap is essentially 10x10 rectangles with different colors. How do I…

---

## [Makie - control whether Colorbar for heatmap shows extended range](https://discourse.julialang.org/t/makie-control-whether-colorbar-for-heatmap-shows-extended-range/89772)

<div class="topic-metadata">

**Author:** [@alex-robinson](https://discourse.julialang.org/u/alex-robinson)\
**Replies:** 3\
**Last updated:** [November 5, 2022, 8:45pm UTC](https://discourse.julialang.org/t/makie-control-whether-colorbar-for-heatmap-shows-extended-range/89772 "2022-11-05T20:45:46Z")

</div>

Hi, When using heatmap together with Colorbar, I am having trouble understanding how to use the arguments colorrange and lowclip, highclip. I want to plot an array with values ranging from 0 to 1. If I try to make a fi…

---

## [Trouble getting Weave to output plotly() based plots on HTML document](https://discourse.julialang.org/t/trouble-getting-weave-to-output-plotly-based-plots-on-html-document/34244)

<div class="topic-metadata">

**Author:** [@ElectronicTeaCup](https://discourse.julialang.org/u/ElectronicTeaCup)\
**Replies:** 4\
**Last updated:** [November 4, 2022, 11:15pm UTC](https://discourse.julialang.org/t/trouble-getting-weave-to-output-plotly-based-plots-on-html-document/34244 "2022-11-04T23:15:00Z")

</div>

Hello everyone. When I put in the following: using Plots plotly() plot(rand(10)) And then output via weave using: weave((“doctest.jmd”), out\_path=:pwd,doctype=“md2html”) I get this: Error: \[ Info: Weaving chunk …

---

## [Plotlyjs x values display](https://discourse.julialang.org/t/plotlyjs-x-values-display/89688)

<div class="topic-metadata">

**Author:** [@Stephen](https://discourse.julialang.org/u/Stephen)\
**Replies:** 5\
**Last updated:** [November 4, 2022, 12:02pm UTC](https://discourse.julialang.org/t/plotlyjs-x-values-display/89688 "2022-11-04T12:02:45Z")

</div>

here is the code: DateTick = x\[1\]:Dates.Month(6):x\[end\] DateTick2 = Dates.format.(DateTick,"Y-m") p1 = scatter(x, y1, xticks = (DateTick, DateTick2), title = "Money supply", xrotation=-45, legend = :topleft) …

---

## [Resize legend box in subplots for Plots.jl?](https://discourse.julialang.org/t/resize-legend-box-in-subplots-for-plots-jl/36141)

<div class="topic-metadata">

**Author:** [@floswald](https://discourse.julialang.org/u/floswald)\
**Replies:** 11\
**Last updated:** [November 4, 2022, 11:47am UTC](https://discourse.julialang.org/t/resize-legend-box-in-subplots-for-plots-jl/36141 "2022-11-04T11:47:49Z")

</div>

I have a series of subplots each with their own legend. however, the boxes around the legends are too big. how could I make them smaller? like, why is the red line in avg N so long? asked differently: what determines…

---

## [Add points to scatter plot by Mouse.down click using GLMakie](https://discourse.julialang.org/t/add-points-to-scatter-plot-by-mouse-down-click-using-glmakie/89740)

<div class="topic-metadata">

**Author:** [@mgalenb](https://discourse.julialang.org/u/mgalenb)\
**Replies:** 4\
**Last updated:** [November 4, 2022, 8:51am UTC](https://discourse.julialang.org/t/add-points-to-scatter-plot-by-mouse-down-click-using-glmakie/89740 "2022-11-04T08:51:21Z")

</div>

Id like to add points to a GLMakie plot when holding down the keyboard letter “a” and then holding down the left mouse button. The docs have a good demo on how to do this with a click (Point Picking). However when I chan…

---

## [Heatmap plots with X and Y matrix instead of vectors](https://discourse.julialang.org/t/heatmap-plots-with-x-and-y-matrix-instead-of-vectors/89665)

<div class="topic-metadata">

**Author:** [@fontainee](https://discourse.julialang.org/u/fontainee)\
**Replies:** 22\
**Last updated:** [November 3, 2022, 3:57pm UTC](https://discourse.julialang.org/t/heatmap-plots-with-x-and-y-matrix-instead-of-vectors/89665 "2022-11-03T15:57:07Z")

</div>

Hi all, I want to know if it is possible to make heatmap plots type with X and Y matrix instead of using X and Y vectors. In fact my X and Y matrix are longitude and latitude and the Z matrix are geostationnary satellit…

---

## [How to draw the grouped bar plot in julia(best using Vegalite)](https://discourse.julialang.org/t/how-to-draw-the-grouped-bar-plot-in-julia-best-using-vegalite/89659)

<div class="topic-metadata">

**Author:** [@akshdfyehd](https://discourse.julialang.org/u/akshdfyehd)\
**Replies:** 7\
**Last updated:** [November 2, 2022, 6:20pm UTC](https://discourse.julialang.org/t/how-to-draw-the-grouped-bar-plot-in-julia-best-using-vegalite/89659 "2022-11-02T18:20:01Z")

</div>

Hi, I need to draw a graph which is grouped bar chart, y axis will be salary, x axis will be job title, and I want to present each job title with employment type in different colors(this contains part time, full time, fr…

---

## [Iterate an observable](https://discourse.julialang.org/t/iterate-an-observable/89619)

<div class="topic-metadata">

**Author:** [@mgp](https://discourse.julialang.org/u/mgp)\
**Replies:** 2\
**Last updated:** [November 2, 2022, 4:47pm UTC](https://discourse.julialang.org/t/iterate-an-observable/89619 "2022-11-02T16:47:52Z")

</div>

I have an undirected simple graph and a vector of nodes that I want to colour red. The function plotg below allows this using CairoMakie, Graphs, GraphMakie function plotg(g, y) fig = Figure(); ax = Axis(fig\[1, 1\])…

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

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