# Visualization

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

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

**Page:** 9

---

## [Font family 'Computer Modern' not found](https://discourse.julialang.org/t/font-family-computer-modern-not-found/93355)

<div class="topic-metadata">

**Author:** [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Replies:** 5\
**Last updated:** [April 13, 2025, 3:25am UTC](https://discourse.julialang.org/t/font-family-computer-modern-not-found/93355 "2025-04-13T03:25:40Z")

</div>

Defining “Computer Modern” as default font familly is very convenient when using Plots.jl default gr() backend, as per this other post. However, using the pyplot or pythonplot backends issues the warning message: find…

---

## [PlotlyKaleido cannot save PlotlyLight drawings created from templates](https://discourse.julialang.org/t/plotlykaleido-cannot-save-plotlylight-drawings-created-from-templates/127779)

<div class="topic-metadata">

**Author:** [@karei](https://discourse.julialang.org/u/karei)\
**Replies:** 1\
**Last updated:** [April 12, 2025, 10:32am UTC](https://discourse.julialang.org/t/plotlykaleido-cannot-save-plotlylight-drawings-created-from-templates/127779 "2025-04-12T10:32:01Z")

</div>

I first created a template for my drawing and then applied the template using PlotlyLight.settings.layout.template = a\_template. But the saved image is still the unapplied template version. Is there any solution for this…

---

## [Change state of a GLMakie toggle programmatically](https://discourse.julialang.org/t/change-state-of-a-glmakie-toggle-programmatically/127860)

<div class="topic-metadata">

**Author:** [@lgmendes](https://discourse.julialang.org/u/lgmendes)\
**Replies:** 0\
**Last updated:** [April 8, 2025, 5:22pm UTC](https://discourse.julialang.org/t/change-state-of-a-glmakie-toggle-programmatically/127860 "2025-04-08T17:22:27Z")

</div>

How can I change the state of a GLMakie toggle programmatically and ensure it is reflected in the figure? I have access to the state of the toggle vector and want to restore the toggles programmatically with proper refl…

---

## [Shift label coordinates in GMT](https://discourse.julialang.org/t/shift-label-coordinates-in-gmt/127818)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 1\
**Last updated:** [April 7, 2025, 9:26pm UTC](https://discourse.julialang.org/t/shift-label-coordinates-in-gmt/127818 "2025-04-07T21:26:39Z")

</div>

Dear all, I have the code in GMT: using GMT pts\_europa =\[ 3.1420 48.9447 2.3522 48.8566 -0.1278 51.5074 -3.7038 40.4168 4.8357 45.7640 4.3517 50.8503 19.0402 47.4979 12.4964 41.8719 18.0683 59.…

---

## [Connecting points in VegaDatasets](https://discourse.julialang.org/t/connecting-points-in-vegadatasets/127773)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 1\
**Last updated:** [April 6, 2025, 11:20pm UTC](https://discourse.julialang.org/t/connecting-points-in-vegadatasets/127773 "2025-04-06T23:20:29Z")

</div>

Hello users, I have the following code, works perfectly: \*\* world110m = dataset("world-110m") # canvas canvas = @vlplot( width = 640, height = 360, title = "Big cities in the world", projection = {typ…

---

## [Data from Brazil states (and generic region) using VegaDatasets](https://discourse.julialang.org/t/data-from-brazil-states-and-generic-region-using-vegadatasets/127761)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 3\
**Last updated:** [April 6, 2025, 3:19pm UTC](https://discourse.julialang.org/t/data-from-brazil-states-and-generic-region-using-vegadatasets/127761 "2025-04-06T15:19:13Z")

</div>

Dear all, I have the following code that draws the US map with its states: using VegaLite, VegaDatasets # load JSON file containing map of US us10m = dataset("us-10m") # 1. US Map by State # how to generate plot p …

---

## [How do I color the plotting plan above/under a line in different colors?](https://discourse.julialang.org/t/how-do-i-color-the-plotting-plan-above-under-a-line-in-different-colors/127751)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 1\
**Last updated:** [April 5, 2025, 9:08pm UTC](https://discourse.julialang.org/t/how-do-i-color-the-plotting-plan-above-under-a-line-in-different-colors/127751 "2025-04-05T21:08:06Z")

</div>

Say that I have defined a line: using Plots x\_vals = 1:10 y\_vals = sqrt.(x\_vals) plot(x\_vals, y\_vals) Is there a way that I can color the plot plane, so that the area below the line have one color and the are below …

---

## [Drawing points in a map with GMT](https://discourse.julialang.org/t/drawing-points-in-a-map-with-gmt/127744)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 5\
**Last updated:** [April 5, 2025, 4:53pm UTC](https://discourse.julialang.org/t/drawing-points-in-a-map-with-gmt/127744 "2025-04-05T16:53:38Z")

</div>

Dear all, I have the code below where I plot south america with GMT: using GMT # Desenhe o mapa coast(region=(-90, -30, -60, 15), proj=:Mercator, xaxis=(annot=10,ticks=5), yaxis=(annot=10,ticks=5), area=:10, land=:brow…

---

## [Makie record\_states and export\_static results in NO interactivity](https://discourse.julialang.org/t/makie-record-states-and-export-static-results-in-no-interactivity/127712)

<div class="topic-metadata">

**Author:** [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Replies:** 2\
**Last updated:** [April 5, 2025, 1:57pm UTC](https://discourse.julialang.org/t/makie-record-states-and-export-static-results-in-no-interactivity/127712 "2025-04-05T13:57:41Z")

</div>

i’m trying to save an interactive Makie plot to share with a colleague who doesn’t use julia, but i can’t even get this example in the docs to work. specifically, at the REPL i enter: julia\> using Bonito, WGLMakie jul…

---

## [HDR and ColorTypes](https://discourse.julialang.org/t/hdr-and-colortypes/127648)

<div class="topic-metadata">

**Author:** [@rmfritz](https://discourse.julialang.org/u/rmfritz)\
**Replies:** 3\
**Last updated:** [April 4, 2025, 12:13am UTC](https://discourse.julialang.org/t/hdr-and-colortypes/127648 "2025-04-04T00:13:49Z")

</div>

I’ve been working with HDR data, the Radiance RGBE and XYZE types, and I’ve looked a little at LogLuv and OpenEXR, and I’ve run into a problem: the AbstractRGB ColorType doesn’t accommodate the RGB values that Radiance R…

---

## [How to label multiple histograms in AlgebraOfGraphics](https://discourse.julialang.org/t/how-to-label-multiple-histograms-in-algebraofgraphics/127429)

<div class="topic-metadata">

**Author:** [@Abhro](https://discourse.julialang.org/u/Abhro)\
**Replies:** 5\
**Last updated:** [April 3, 2025, 6:35am UTC](https://discourse.julialang.org/t/how-to-label-multiple-histograms-in-algebraofgraphics/127429 "2025-04-03T06:35:47Z")

</div>

I have a dataset where each column is a list of occurrences. I would like to plot three columns as three histograms within one figure, but I cannot wrap my head around the AlgebraOfGraphics idioms. Within Makie.jl, I wo…

---

## [Makie - Defining legend output for a makie recipe](https://discourse.julialang.org/t/makie-defining-legend-output-for-a-makie-recipe/121567)

<div class="topic-metadata">

**Author:** [@sc-dyer](https://discourse.julialang.org/u/sc-dyer)\
**Replies:** 4\
**Last updated:** [March 31, 2025, 10:28pm UTC](https://discourse.julialang.org/t/makie-defining-legend-output-for-a-makie-recipe/121567 "2025-03-31T22:28:53Z")

</div>

Hi, I have a makie recipe that essentially makes a stacked line graph using the band function. A very simplified example of what this looks like is this: function Makie.plot!(myplot::MyPlot) band!(myplot,myplot.x,0,…

---

## [Move colorbar to the center of figure using Makie](https://discourse.julialang.org/t/move-colorbar-to-the-center-of-figure-using-makie/127456)

<div class="topic-metadata">

**Author:** [@dk-zen](https://discourse.julialang.org/u/dk-zen)\
**Replies:** 5\
**Last updated:** [March 31, 2025, 12:39pm UTC](https://discourse.julialang.org/t/move-colorbar-to-the-center-of-figure-using-makie/127456 "2025-03-31T12:39:08Z")

</div>

Hello everyone! I want to put the colorbar at the center of figure using Makie. How can I get it? The result I want just likes this:

---

## [Julia image display on Mac goes dark](https://discourse.julialang.org/t/julia-image-display-on-mac-goes-dark/127436)

<div class="topic-metadata">

**Author:** [@rmfritz](https://discourse.julialang.org/u/rmfritz)\
**Replies:** 10\
**Last updated:** [March 30, 2025, 1:46am UTC](https://discourse.julialang.org/t/julia-image-display-on-mac-goes-dark/127436 "2025-03-30T01:46:59Z")

</div>

I’m working with some images in Julia, and I’m running into a problem; the images, when displayed from the Julia command line with ImageView, or within a Jupyter notebook, are much much darker than when they are display…

---

## [Plots.jl ylim and yflip don't work together as expected](https://discourse.julialang.org/t/plots-jl-ylim-and-yflip-dont-work-together-as-expected/127394)

<div class="topic-metadata">

**Author:** [@ayushinav](https://discourse.julialang.org/u/ayushinav)\
**Replies:** 0\
**Last updated:** [March 27, 2025, 12:03am UTC](https://discourse.julialang.org/t/plots-jl-ylim-and-yflip-dont-work-together-as-expected/127394 "2025-03-27T00:03:39Z")

</div>

On Julia 1.11.4, Plots v1.40.11 MWE : using Plots xs = Float64\[1,2,3,4\] ys = Float64\[1,2,3,4,5,6,7,8\] zs = xs'./10 .+ ys p1 = heatmap(xs, ys, zs, title = "original") p2 = heatmap(xs, ys, zs, ylims = (2,4), title = "yl…

---

## [Makie Visualization for Planetary Simulation for High School Students](https://discourse.julialang.org/t/makie-visualization-for-planetary-simulation-for-high-school-students/126811)

<div class="topic-metadata">

**Author:** [@roflmaostc](https://discourse.julialang.org/u/roflmaostc)\
**Replies:** 8\
**Last updated:** [March 26, 2025, 12:31pm UTC](https://discourse.julialang.org/t/makie-visualization-for-planetary-simulation-for-high-school-students/126811 "2025-03-26T12:31:58Z")

</div>

Hi, I am going to teach some simple orbital dynamics to high school students in summer. The students are going to implement the gravitational forces and some sort of time integration (simple explicit or implicit euler)…

---

## [How to link color axes of heatmaps?](https://discourse.julialang.org/t/how-to-link-color-axes-of-heatmaps/62511)

<div class="topic-metadata">

**Author:** [@ericphanson](https://discourse.julialang.org/u/ericphanson)\
**Replies:** 5\
**Last updated:** [March 25, 2025, 12:37pm UTC](https://discourse.julialang.org/t/how-to-link-color-axes-of-heatmaps/62511 "2025-03-25T12:37:46Z")

</div>

For example, using CairoMakie function testfig() fig = Figure() heatmaps = \[\] for i = 1:4 h = heatmap!(Axis(fig\[i, 1\]), i .+ rand(200, 200)) push!(heatmaps, h) end Colorbar(fig\[:, 2\],…

---

## [Making the clipping boundary invisible in a voronoiplot](https://discourse.julialang.org/t/making-the-clipping-boundary-invisible-in-a-voronoiplot/127233)

<div class="topic-metadata">

**Author:** [@IvanSpirandelli](https://discourse.julialang.org/u/IvanSpirandelli)\
**Replies:** 0\
**Last updated:** [March 21, 2025, 4:13pm UTC](https://discourse.julialang.org/t/making-the-clipping-boundary-invisible-in-a-voronoiplot/127233 "2025-03-21T16:13:13Z")

</div>

Is it possible to not draw the outlines of the circles and just the voronoiplots within the circle? I want to create a figure of an alpha complex and wanted to layer several clipped Voronoi plots to do this. Unfortun…

---

## [PrettyTables.jl + Makie.jl](https://discourse.julialang.org/t/prettytables-jl-makie-jl/66707)

<div class="topic-metadata">

**Author:** [@bicepjai](https://discourse.julialang.org/u/bicepjai)\
**Replies:** 7\
**Last updated:** [March 19, 2025, 5:13pm UTC](https://discourse.julialang.org/t/prettytables-jl-makie-jl/66707 "2025-03-19T17:13:18Z")

</div>

Will it be possible to insert https://github.com/ronisbr/PrettyTables.jl on an axis ?

---

## [Makie: Linking cameras in multiple 3d plots](https://discourse.julialang.org/t/makie-linking-cameras-in-multiple-3d-plots/83309)

<div class="topic-metadata">

**Author:** [@Thomberger](https://discourse.julialang.org/u/Thomberger)\
**Replies:** 8\
**Last updated:** [March 17, 2025, 9:25pm UTC](https://discourse.julialang.org/t/makie-linking-cameras-in-multiple-3d-plots/83309 "2025-03-17T21:25:37Z")

</div>

Is there a way to link cameras in multiple 3d plot. For now I use my first axis as the main one, and update the azimuth and elevation all all the other axis based on this one. However, with this solution i can change the…

---

## [Import external PDF or SVG to Makie figure](https://discourse.julialang.org/t/import-external-pdf-or-svg-to-makie-figure/126891)

<div class="topic-metadata">

**Author:** [@albertomercurio](https://discourse.julialang.org/u/albertomercurio)\
**Replies:** 8\
**Last updated:** [March 15, 2025, 6:11pm UTC](https://discourse.julialang.org/t/import-external-pdf-or-svg-to-makie-figure/126891 "2025-03-15T18:11:59Z")

</div>

Hello, I would like to create a simple figure with Makie.jl, where on the left I have an Axis, and on the right an external PDF. I haven’t found anything around, except the MakieTeX.jl package, where I can import a PDF …

---

## [Makie plot specification?](https://discourse.julialang.org/t/makie-plot-specification/116979)

<div class="topic-metadata">

**Author:** [@tuckermcclure](https://discourse.julialang.org/u/tuckermcclure)\
**Replies:** 5\
**Last updated:** [March 14, 2025, 4:10am UTC](https://discourse.julialang.org/t/makie-plot-specification/116979 "2025-03-14T04:10:03Z")

</div>

I have a package, call it MyModels.jl, that needs to be light and fast, used mostly in backend tools that don’t want any visualization stuff in their dependencies. The package implements some mathematical models. In some …

---

## [Makie show image on surface](https://discourse.julialang.org/t/makie-show-image-on-surface/126893)

<div class="topic-metadata">

**Author:** [@grero](https://discourse.julialang.org/u/grero)\
**Replies:** 5\
**Last updated:** [March 14, 2025, 12:33am UTC](https://discourse.julialang.org/t/makie-show-image-on-surface/126893 "2025-03-14T00:33:59Z")

</div>

I’m trying to display images as posters around a 3D environment using GLMakie. For that purpose, I wrote the following code using Makie using GeometryBasics using FileIO struct Sprite{T\<:RGB,T2\<:Integer,T3\<:Point3, T4\<:…

---

## [Most efficient way to render large number of 2D objects in GLMakie in real-time?](https://discourse.julialang.org/t/most-efficient-way-to-render-large-number-of-2d-objects-in-glmakie-in-real-time/126924)

<div class="topic-metadata">

**Author:** [@mhinsch](https://discourse.julialang.org/u/mhinsch)\
**Replies:** 3\
**Last updated:** [March 13, 2025, 5:06pm UTC](https://discourse.julialang.org/t/most-efficient-way-to-render-large-number-of-2d-objects-in-glmakie-in-real-time/126924 "2025-03-13T17:06:27Z")

</div>

I’m implementing a real-time visualisation of a simulation that consists of drawing up to tens of thousands of objects on the screen where objects are represented by simple geometric shapes (or combinations thereof). Pos…

---

## [CairoMakie Horizontal Colorbar](https://discourse.julialang.org/t/cairomakie-horizontal-colorbar/126919)

<div class="topic-metadata">

**Author:** [@andrew-saydjari](https://discourse.julialang.org/u/andrew-saydjari)\
**Replies:** 3\
**Last updated:** [March 13, 2025, 3:43pm UTC](https://discourse.julialang.org/t/cairomakie-horizontal-colorbar/126919 "2025-03-13T15:43:34Z")

</div>

I cannot seem to find good documentation for how to make a horizontal color bar in CairoMakie. I found the vertical=false option, but I cannot seem to create a gap between the color bar and the plot (see example below) a…

---

## [In plots, how do I add error bars in both x and y direction](https://discourse.julialang.org/t/in-plots-how-do-i-add-error-bars-in-both-x-and-y-direction/126886)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 1\
**Last updated:** [March 12, 2025, 6:50pm UTC](https://discourse.julialang.org/t/in-plots-how-do-i-add-error-bars-in-both-x-and-y-direction/126886 "2025-03-12T18:50:25Z")

</div>

I can plot error bars in y axis, but if I want in x axis as well. I.e. something like this: Very much ideally I would be interested in how to do this in Plots.jl.

---

## [How to use LaTeX Computer Modern font for all text in all plots?](https://discourse.julialang.org/t/how-to-use-latex-computer-modern-font-for-all-text-in-all-plots/126791)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 0\
**Last updated:** [March 10, 2025, 8:17pm UTC](https://discourse.julialang.org/t/how-to-use-latex-computer-modern-font-for-all-text-in-all-plots/126791 "2025-03-10T20:17:46Z")

</div>

How can I set up Plots.jl to use Computer modern for all labels in all plots (on macos)? With the config using LaTeXStrings using Plots gr() DPI = 150 default( size=(70 \* sqrt(2) \* DPI / 25.4, 70 \* DPI / 25.4), …

---

## [Draw circuit schematic in pure Julia](https://discourse.julialang.org/t/draw-circuit-schematic-in-pure-julia/126592)

<div class="topic-metadata">

**Author:** [@albertomercurio](https://discourse.julialang.org/u/albertomercurio)\
**Replies:** 6\
**Last updated:** [March 10, 2025, 3:16pm UTC](https://discourse.julialang.org/t/draw-circuit-schematic-in-pure-julia/126592 "2025-03-10T15:16:36Z")

</div>

Hello, I need to draw some circuit schematic like the following And then embedding this schematic in my plots made with Makie.jl The current approaches I have investigated so far are circuitkz and schemdraw. The fi…

---

## [Dynamic plotting of NonlinearSolve controlled by sliders in Makie](https://discourse.julialang.org/t/dynamic-plotting-of-nonlinearsolve-controlled-by-sliders-in-makie/126737)

<div class="topic-metadata">

**Author:** [@Mehdi\_MABED](https://discourse.julialang.org/u/Mehdi_MABED)\
**Replies:** 1\
**Last updated:** [March 10, 2025, 12:12am UTC](https://discourse.julialang.org/t/dynamic-plotting-of-nonlinearsolve-controlled-by-sliders-in-makie/126737 "2025-03-10T00:12:07Z")

</div>

I want to solve a non linear problem which depend on 3 variables, each one of them being controlled by a slider in Makie and I struggle with that. My non linear function takes an input number (the x coordinate) with 3 p…

---

## [How to fix "! Dimension too large." when using pgfplotsx?](https://discourse.julialang.org/t/how-to-fix-dimension-too-large-when-using-pgfplotsx/126730)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 1\
**Last updated:** [March 9, 2025, 1:08pm UTC](https://discourse.julialang.org/t/how-to-fix-dimension-too-large-when-using-pgfplotsx/126730 "2025-03-09T13:08:19Z")

</div>

When trying to plot the following data VectorOfArray{Float64,2}: 2-element Vector{Vector{Float64}}: \[0.00969160836699929, 516.6666666666663\] \[0.00974104323961814, 900.0\] VectorOfArray{Float64,2}: 2-element Vector{Vect…

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

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