# Visualization

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

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

**Page:** 42

---

## [Removing numeric labels from axis](https://discourse.julialang.org/t/removing-numeric-labels-from-axis/89237)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 12\
**Last updated:** [November 2, 2022, 11:04am UTC](https://discourse.julialang.org/t/removing-numeric-labels-from-axis/89237 "2022-11-02T11:04:52Z")

</div>

I fear this might be a stupid question . . . but, how does one remove the numeric labels from an axis in a plot? I searched the documentation https://docs.juliaplots.org/latest/attributes/ but didn’t find an option. (…

---

## [PlotlyJS users poll](https://discourse.julialang.org/t/plotlyjs-users-poll/89576)

<div class="topic-metadata">

**Author:** [@halleysfifthinc](https://discourse.julialang.org/u/halleysfifthinc)\
**Replies:** 6\
**Last updated:** [November 1, 2022, 12:43pm UTC](https://discourse.julialang.org/t/plotlyjs-users-poll/89576 "2022-11-01T12:43:34Z")

</div>

I just opened a PR to remove support/dependency on Blink that I expect will be controversial, check it out for more details. There are some good reasons to remove the dependency on Blink, but I recognize that my workflow…

---

## [LoadError: InitError: could not load library "avcodec-58.dll" (Windows 10)](https://discourse.julialang.org/t/loaderror-initerror-could-not-load-library-avcodec-58-dll-windows-10/48091)

<div class="topic-metadata">

**Author:** [@afishy](https://discourse.julialang.org/u/afishy)\
**Replies:** 14\
**Last updated:** [November 1, 2022, 8:39am UTC](https://discourse.julialang.org/t/loaderror-initerror-could-not-load-library-avcodec-58-dll-windows-10/48091 "2022-11-01T08:39:16Z")

</div>

As of today I haven’t been able to precompile any package that requires FFMPEG.jl, getting this error: ERROR: LoadError: InitError: could not load library "C:\\Users\\aresf\\.julia\\artifacts\\7350a6401f1c0d38cc3518193083bc4…

---

## [Makie - plot script returned without visualization window](https://discourse.julialang.org/t/makie-plot-script-returned-without-visualization-window/59828)

<div class="topic-metadata">

**Author:** [@jwu](https://discourse.julialang.org/u/jwu)\
**Replies:** 6\
**Last updated:** [October 31, 2022, 6:09pm UTC](https://discourse.julialang.org/t/makie-plot-script-returned-without-visualization-window/59828 "2022-10-31T18:09:18Z")

</div>

I see the documentation that it might be a problem of GLMakie building, but my build seems fine without any errors. I also tried build GLMakie, it looks fine. this is my code for test: using ModernGL #using Makie #usi…

---

## [A preview of \`StatisticalGraphics\` a new package for data visualisation in Julia](https://discourse.julialang.org/t/a-preview-of-statisticalgraphics-a-new-package-for-data-visualisation-in-julia/89547)

<div class="topic-metadata">

**Author:** [@sl-solution](https://discourse.julialang.org/u/sl-solution)\
**Replies:** 0\
**Last updated:** [October 31, 2022, 8:46am UTC](https://discourse.julialang.org/t/a-preview-of-statisticalgraphics-a-new-package-for-data-visualisation-in-julia/89547 "2022-10-31T08:46:26Z")

</div>

I am very excited to share a preview of StatisticalGraphics, a package that I have developed for statistical data visualisation in Julia. The idea of the package is to develop a simple to use and yet powerful tool for st…

---

## [Use mapbox to place images with PlotlyJS](https://discourse.julialang.org/t/use-mapbox-to-place-images-with-plotlyjs/86758)

<div class="topic-metadata">

**Author:** [@lgo](https://discourse.julialang.org/u/lgo)\
**Replies:** 6\
**Last updated:** [October 30, 2022, 8:23pm UTC](https://discourse.julialang.org/t/use-mapbox-to-place-images-with-plotlyjs/86758 "2022-10-30T20:23:59Z")

</div>

I want to create a map with PlotlyJS that includes lines and grouped/stacked bar charts. I’ve asked on stackoverflow how to achieve this in general and got a solution that deploys mapboxes. Now I’m trying to convert this…

---

## [How to make a plot with multiple titles and labels in Makie](https://discourse.julialang.org/t/how-to-make-a-plot-with-multiple-titles-and-labels-in-makie/89137)

<div class="topic-metadata">

**Author:** [@jules](https://discourse.julialang.org/u/jules)\
**Replies:** 2\
**Last updated:** [October 29, 2022, 12:58pm UTC](https://discourse.julialang.org/t/how-to-make-a-plot-with-multiple-titles-and-labels-in-makie/89137 "2022-10-29T12:58:05Z")

</div>

Question from Slack, posting here to keep the solution searchable in the future: This is a figure from IMF blog. Is it possible to create a plot like this: Have title and a write up in the top and caption at the bottom …

---

## [Makie: Colouring 3D Contours by another Array](https://discourse.julialang.org/t/makie-colouring-3d-contours-by-another-array/88829)

<div class="topic-metadata">

**Author:** [@Whyborn](https://discourse.julialang.org/u/Whyborn)\
**Replies:** 9\
**Last updated:** [October 28, 2022, 7:18am UTC](https://discourse.julialang.org/t/makie-colouring-3d-contours-by-another-array/88829 "2022-10-28T07:18:26Z")

</div>

I would like to build a 3D contour plot, with the contours constructed based on a given array and the colours on said contours defined by a second array. An example relevant to me is the Inviscid Taylor-Green Vortex: us…

---

## [Recording an 3d mesh animation, not updating between frames](https://discourse.julialang.org/t/recording-an-3d-mesh-animation-not-updating-between-frames/89428)

<div class="topic-metadata">

**Author:** [@m\_x155](https://discourse.julialang.org/u/m_x155)\
**Replies:** 1\
**Last updated:** [October 28, 2022, 6:19am UTC](https://discourse.julialang.org/t/recording-an-3d-mesh-animation-not-updating-between-frames/89428 "2022-10-28T06:19:01Z")

</div>

Hi, I have some results from a simulation that represent a 3d surface object moving in time. When I try to record the mesh much like the example in the documentation I don’t seem to get the plot actually updating. It dis…

---

## [Plots.Surface rescaling gives incorrect color legend](https://discourse.julialang.org/t/plots-surface-rescaling-gives-incorrect-color-legend/89381)

<div class="topic-metadata">

**Author:** [@Grace\_Chuan](https://discourse.julialang.org/u/Grace_Chuan)\
**Replies:** 1\
**Last updated:** [October 27, 2022, 5:42pm UTC](https://discourse.julialang.org/t/plots-surface-rescaling-gives-incorrect-color-legend/89381 "2022-10-27T17:42:47Z")

</div>

Hello, I am trying to plot a surface via Julia Plots. The maximum of the series I would like to plot along the z axis is 10. But I want the z axis to rescale to (0,20). When I add in the argument: zlim = (0,20), I get wh…

---

## [Drawing arrows on axes](https://discourse.julialang.org/t/drawing-arrows-on-axes/30341)

<div class="topic-metadata">

**Author:** [@squirrel](https://discourse.julialang.org/u/squirrel)\
**Replies:** 9\
**Last updated:** [October 27, 2022, 12:35pm UTC](https://discourse.julialang.org/t/drawing-arrows-on-axes/30341 "2022-10-27T12:35:26Z")

</div>

I’m trying to add arrows to my axes, but it isn’t working. I have using Plots x(u) = u y(u) = sqrt(u) y2(u) = -sqrt(u) plot(x, \[y, y2\], 0, 5, framestyle = :origin, legend = :none, linecolor = :blue, dr…

---

## [Change default resolution in Theme() and Mac retina displays](https://discourse.julialang.org/t/change-default-resolution-in-theme-and-mac-retina-displays/89345)

<div class="topic-metadata">

**Author:** [@garrek](https://discourse.julialang.org/u/garrek)\
**Replies:** 2\
**Last updated:** [October 27, 2022, 6:24am UTC](https://discourse.julialang.org/t/change-default-resolution-in-theme-and-mac-retina-displays/89345 "2022-10-27T06:24:22Z")

</div>

Is there a way to set the default resolution in a Theme() in Makie? I want to set a default theme for Retina displays on Mac, since everything is too small with the default. I can set font size, line width, etc., but can…

---

## [Arrows not working on log-log plot (GR)](https://discourse.julialang.org/t/arrows-not-working-on-log-log-plot-gr/61454)

<div class="topic-metadata">

**Author:** [@white-c](https://discourse.julialang.org/u/white-c)\
**Replies:** 5\
**Last updated:** [October 26, 2022, 6:10am UTC](https://discourse.julialang.org/t/arrows-not-working-on-log-log-plot-gr/61454 "2022-10-26T06:10:04Z")

</div>

If I run code like this, the plot doesn’t work correctly when I use the arrows. Any suggestions to fix this? using Plots gr() plot( \[0.1, 10\], \[0.1, 10\], xscale=:log10, yscale=:log10, xlims=(0.01, 100), …

---

## [Font for Plots: subscripts and special symbols in labels](https://discourse.julialang.org/t/font-for-plots-subscripts-and-special-symbols-in-labels/89185)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 6\
**Last updated:** [October 25, 2022, 1:12pm UTC](https://discourse.julialang.org/t/font-for-plots-subscripts-and-special-symbols-in-labels/89185 "2022-10-25T13:12:04Z")

</div>

When I searched this forum, I found a lot of posts about the problem, but I still don’t know answers to my simple question(s). I’m quite satisfied with Julia’s standard 1D graphing functions in the Plots package. Then, …

---

## [GLMakie running on WSLg](https://discourse.julialang.org/t/glmakie-running-on-wslg/89239)

<div class="topic-metadata">

**Author:** [@Audrius-St](https://discourse.julialang.org/u/Audrius-St)\
**Replies:** 1\
**Last updated:** [October 25, 2022, 8:55am UTC](https://discourse.julialang.org/t/glmakie-running-on-wslg/89239 "2022-10-25T08:55:57Z")

</div>

Hello, Tried the following on a whim, thought I’d mention it in passing. After the most recent WSLg \[Windows Subsystem for Linux\] release, GLMakie now compiles, runs, and displays images. Tested with some 2D plots and…

---

## [How to give names to the curves in 1D graph of 2D array?](https://discourse.julialang.org/t/how-to-give-names-to-the-curves-in-1d-graph-of-2d-array/89182)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 1\
**Last updated:** [October 24, 2022, 11:25am UTC](https://discourse.julialang.org/t/how-to-give-names-to-the-curves-in-1d-graph-of-2d-array/89182 "2022-10-24T11:25:33Z")

</div>

In my M x N array, the columns represent y values and so plot(arr) will produce N curves, which is what I need. But my question is, how can one give a name to each curve? My first intuition was to give a vector of the n…

---

## [ABLines in Algebraofgraphics (x=y line, identity line, 1-to-1 line)](https://discourse.julialang.org/t/ablines-in-algebraofgraphics-x-y-line-identity-line-1-to-1-line/89106)

<div class="topic-metadata">

**Author:** [@mreichMPI-BGC](https://discourse.julialang.org/u/mreichMPI-BGC)\
**Replies:** 2\
**Last updated:** [October 22, 2022, 7:39pm UTC](https://discourse.julialang.org/t/ablines-in-algebraofgraphics-x-y-line-identity-line-1-to-1-line/89106 "2022-10-22T19:39:28Z")

</div>

Dear all, I am new to Julia and AoG - coming from the Tidyverse and ggplot… - and don’t (even) manage to add an x=y line to a scatter plot: using AlgebraOfGraphics, CairoMakie, Statistics x=rand(4) y = x .+ 0.2 .+ 0.2…

---

## [Makie workflow to access and change attributes of objects](https://discourse.julialang.org/t/makie-workflow-to-access-and-change-attributes-of-objects/89058)

<div class="topic-metadata">

**Author:** [@weltenbummler](https://discourse.julialang.org/u/weltenbummler)\
**Replies:** 4\
**Last updated:** [October 21, 2022, 8:05pm UTC](https://discourse.julialang.org/t/makie-workflow-to-access-and-change-attributes-of-objects/89058 "2022-10-21T20:05:55Z")

</div>

Hi, This post is about plotting with Makie. I quite often set out making a figure and then later add further plots or labels. My workflow below works but seems a bit cumbersome to me and I would like to have your input …

---

## [Changing line color Theme in CairoMakie and GLMakie](https://discourse.julialang.org/t/changing-line-color-theme-in-cairomakie-and-glmakie/88990)

<div class="topic-metadata">

**Author:** [@garrek](https://discourse.julialang.org/u/garrek)\
**Replies:** 7\
**Last updated:** [October 21, 2022, 9:40am UTC](https://discourse.julialang.org/t/changing-line-color-theme-in-cairomakie-and-glmakie/88990 "2022-10-21T09:40:22Z")

</div>

I’m trying to define a custom plotting theme in Makie.jl. I want to remove the default color cycle for Lines and have black be the default color. I’m not sure if my syntax is correct, but it works in CairoMakie. But, whe…

---

## [Strategies to optimize expensive multi-heatmap animation](https://discourse.julialang.org/t/strategies-to-optimize-expensive-multi-heatmap-animation/89019)

<div class="topic-metadata">

**Author:** [@aramirezreyes](https://discourse.julialang.org/u/aramirezreyes)\
**Replies:** 0\
**Last updated:** [October 20, 2022, 4:06pm UTC](https://discourse.julialang.org/t/strategies-to-optimize-expensive-multi-heatmap-animation/89019 "2022-10-20T16:06:08Z")

</div>

crossposting from Makie discord Hi all! Warning, no MWE for the moment due to the nature of the problem. This is a question about strategy. How to animate this multi-heatmap figure? I am using CairoMakie as I do this …

---

## [Plots.jl annotation with group colours in grouped plot](https://discourse.julialang.org/t/plots-jl-annotation-with-group-colours-in-grouped-plot/88979)

<div class="topic-metadata">

**Author:** [@klwlevy](https://discourse.julialang.org/u/klwlevy)\
**Replies:** 5\
**Last updated:** [October 20, 2022, 3:56pm UTC](https://discourse.julialang.org/t/plots-jl-annotation-with-group-colours-in-grouped-plot/88979 "2022-10-20T15:56:25Z")

</div>

Dear Plots.jl wizards, could someone give me advice how to best get annotations in the same colour as the lines when using the group option? The following is a working example: using DataFrames, Plots gr(size=(1200, 8…

---

## [How to add a title to an existing plot?](https://discourse.julialang.org/t/how-to-add-a-title-to-an-existing-plot/88956)

<div class="topic-metadata">

**Author:** [@bertulli](https://discourse.julialang.org/u/bertulli)\
**Replies:** 5\
**Last updated:** [October 19, 2022, 4:58pm UTC](https://discourse.julialang.org/t/how-to-add-a-title-to-an-existing-plot/88956 "2022-10-19T16:58:07Z")

</div>

Hi all! I’m doing some plots for a series of data. Since I needed to multiply two columns, and plot the output in a box plot, I came up with this: adc\_I\_symbol = Symbol("Arc ADC Current (A)") adc\_V\_symbol = Symbol("Ar…

---

## [Export notebook to html, plots not rendered in html](https://discourse.julialang.org/t/export-notebook-to-html-plots-not-rendered-in-html/88953)

<div class="topic-metadata">

**Author:** [@luboshanus](https://discourse.julialang.org/u/luboshanus)\
**Replies:** 0\
**Last updated:** [October 19, 2022, 10:22am UTC](https://discourse.julialang.org/t/export-notebook-to-html-plots-not-rendered-in-html/88953 "2022-10-19T10:22:42Z")

</div>

Hi, when I export a julia notebook .ipynb to html it does not export images from Plots.jl well and they are depicted as a svg html code not rendered. With PyPlot.jl the figures show as expected. I don’t know if the pro…

---

## [Image Resolution using Algebra of Graphics \[Makie\]](https://discourse.julialang.org/t/image-resolution-using-algebra-of-graphics-makie/88934)

<div class="topic-metadata">

**Author:** [@lgmendes](https://discourse.julialang.org/u/lgmendes)\
**Replies:** 1\
**Last updated:** [October 19, 2022, 12:46am UTC](https://discourse.julialang.org/t/image-resolution-using-algebra-of-graphics-makie/88934 "2022-10-19T00:46:43Z")

</div>

Hi, How can I improve the quality of the figures of the Algebra of Graphics on Pluto? The quality of the output figures on my Laptop was very low (resolution problems ?; my laptop has a 4K display) when compared with th…

---

## [Preventing ticks from appearing outside of a plot](https://discourse.julialang.org/t/preventing-ticks-from-appearing-outside-of-a-plot/88907)

<div class="topic-metadata">

**Author:** [@Spynel](https://discourse.julialang.org/u/Spynel)\
**Replies:** 2\
**Last updated:** [October 18, 2022, 12:42pm UTC](https://discourse.julialang.org/t/preventing-ticks-from-appearing-outside-of-a-plot/88907 "2022-10-18T12:42:01Z")

</div>

Hello ! I am working on a code that’s supposed to display a plot with dates on the X axis. That part works, but when moving the plot left and right, the ticks on the x axis stay displayed even when they’re outside of th…

---

## [How to make this plot in Julia?](https://discourse.julialang.org/t/how-to-make-this-plot-in-julia/75065)

<div class="topic-metadata">

**Author:** [@tp2750](https://discourse.julialang.org/u/tp2750)\
**Replies:** 29\
**Last updated:** [October 17, 2022, 8:15pm UTC](https://discourse.julialang.org/t/how-to-make-this-plot-in-julia/75065 "2022-10-17T20:15:54Z")

</div>

How do I make something similar to the following plot in Julia? using RCall, DataFrames, Random Random.seed!(123) d = DataFrame(name = repeat(\["A","B","C","D","E","F"\], inner=4), time=repeat(\[0,1,3,6\], outer=6), …

---

## [Animating a bar representing fractions that change with time](https://discourse.julialang.org/t/animating-a-bar-representing-fractions-that-change-with-time/88806)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 8\
**Last updated:** [October 17, 2022, 5:15pm UTC](https://discourse.julialang.org/t/animating-a-bar-representing-fractions-that-change-with-time/88806 "2022-10-17T17:15:26Z")

</div>

I want to make a single stacked bar where the differerent colors will show the fraction of some quantity. I get errors when I try to animate it: MWE using GLMakie fig = Figure() COLORS = \[ "#7143E0", "#0A9A84",…

---

## [How to display "Angstrom" symbol as an axis label in Makie?](https://discourse.julialang.org/t/how-to-display-angstrom-symbol-as-an-axis-label-in-makie/88827)

<div class="topic-metadata">

**Author:** [@PuDu-Astro](https://discourse.julialang.org/u/PuDu-Astro)\
**Replies:** 5\
**Last updated:** [October 17, 2022, 12:18pm UTC](https://discourse.julialang.org/t/how-to-display-angstrom-symbol-as-an-axis-label-in-makie/88827 "2022-10-17T12:18:30Z")

</div>

Angstrom is commonly used as an unit in astronomy. In LaTeX, we can easily input it using “\\AA”. I tried to display it in Makie as an axis label, but failed. L"\\AA" doesn’t work. For example: using CairoMakie, LaTeXStr…

---

## [Makie - Optimal way of drawing milions of data points](https://discourse.julialang.org/t/makie-optimal-way-of-drawing-milions-of-data-points/78748)

<div class="topic-metadata">

**Author:** [@mkoculak](https://discourse.julialang.org/u/mkoculak)\
**Replies:** 13\
**Last updated:** [October 17, 2022, 1:42am UTC](https://discourse.julialang.org/t/makie-optimal-way-of-drawing-milions-of-data-points/78748 "2022-10-17T01:42:13Z")

</div>

Hi, first of all, big thanks to authors and contributors of Makie! This is the package that dragged me into Julia and it works so well for my use cases, that it feels illegal. :slight\_smile: I am working with long tim…

---

## [Plots saved to file loose colour](https://discourse.julialang.org/t/plots-saved-to-file-loose-colour/88612)

<div class="topic-metadata">

**Author:** [@evan-wehi](https://discourse.julialang.org/u/evan-wehi)\
**Replies:** 6\
**Last updated:** [October 16, 2022, 5:51pm UTC](https://discourse.julialang.org/t/plots-saved-to-file-loose-colour/88612 "2022-10-16T17:51:19Z")

</div>

I’m saving Gadfly plots as PNG but the colour is stripped from them, making them useless. The code looks like: using DataFrames, Gadfly, Cairo layers = Plot\[\] for protein in proteins l = plot(f4p, x=protein, color=:do…

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

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