# \#cairomakie-plotting

**URL:** https://discourse.julialang.org/tag/cairomakie-plotting/1252.md

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

---

## [Sequence motifs in pure Julia](https://discourse.julialang.org/t/sequence-motifs-in-pure-julia/128047)

<div class="topic-metadata">

**Author:** [@candidaorelmex](https://discourse.julialang.org/u/candidaorelmex)\
**Replies:** 4\
**Last updated:** [April 15, 2025, 8:46pm UTC](https://discourse.julialang.org/t/sequence-motifs-in-pure-julia/128047 "2025-04-15T20:46:42Z")

</div>

Hi everyone, I’m writing for a little package for myself and to maybe share with the community one day, if it’s mature enough. I want to plot sequence motifs of letters (or peptides for those who are curious about the c…

---

## [Viewer for PDF images](https://discourse.julialang.org/t/viewer-for-pdf-images/95668)

<div class="topic-metadata">

**Author:** [@hendri54](https://discourse.julialang.org/u/hendri54)\
**Replies:** 34\
**Last updated:** [March 12, 2023, 4:47pm UTC](https://discourse.julialang.org/t/viewer-for-pdf-images/95668 "2023-03-12T16:47:32Z")

</div>

How can I display two PDF images side-by-side for a visual comparison? Background: I run different versions of a model and wish to compare their outputs (Makie plots saved in PDF format). Effectively, I have two direct…

---

## [Alpha keyword ignored in scatterlines](https://discourse.julialang.org/t/alpha-keyword-ignored-in-scatterlines/116954)

<div class="topic-metadata">

**Author:** [@AtomsForHire](https://discourse.julialang.org/u/AtomsForHire)\
**Replies:** 4\
**Last updated:** [July 15, 2024, 2:52am UTC](https://discourse.julialang.org/t/alpha-keyword-ignored-in-scatterlines/116954 "2024-07-15T02:52:11Z")

</div>

MWE: using CairoMakie set\_theme!(theme\_latexfonts()) update\_theme!( palette=(color=ColorSchemes.glasbey\_category10\_n256.colors,), ScatterLines=(cycle=Cycle(:color),) ) function main() f = Figure() ax =…

---

## [Legend with many labels can't fit in output](https://discourse.julialang.org/t/legend-with-many-labels-cant-fit-in-output/116947)

<div class="topic-metadata">

**Author:** [@AtomsForHire](https://discourse.julialang.org/u/AtomsForHire)\
**Replies:** 2\
**Last updated:** [July 12, 2024, 8:09am UTC](https://discourse.julialang.org/t/legend-with-many-labels-cant-fit-in-output/116947 "2024-07-12T08:09:49Z")

</div>

Hello, I have a plot with many lines, and a legend with labels for all those lines. Here is an example output. using CairoMakie set\_theme!(theme\_latexfonts()) update\_theme!( palette=(color=ColorSchemes.glasbey\_cat…

---

## [Contourf vs contour plotting time in CairoMakie](https://discourse.julialang.org/t/contourf-vs-contour-plotting-time-in-cairomakie/109074)

<div class="topic-metadata">

**Author:** [@andrew\_burger4](https://discourse.julialang.org/u/andrew_burger4)\
**Replies:** 3\
**Last updated:** [January 21, 2024, 9:53pm UTC](https://discourse.julialang.org/t/contourf-vs-contour-plotting-time-in-cairomakie/109074 "2024-01-21T21:53:26Z")

</div>

Hello, if I run the code below with contourf and contour, I see two different times: 4.5 seconds and 1.5 seconds, respectively. Is this performance hit expected just filling in the contours? plotting() begin using …

---

## [Problem in plotting with cairomakie for rectangular mesh](https://discourse.julialang.org/t/problem-in-plotting-with-cairomakie-for-rectangular-mesh/101907)

<div class="topic-metadata">

**Author:** [@mary](https://discourse.julialang.org/u/mary)\
**Replies:** 3\
**Last updated:** [July 22, 2023, 4:34pm UTC](https://discourse.julialang.org/t/problem-in-plotting-with-cairomakie-for-rectangular-mesh/101907 "2023-07-22T16:34:40Z")

</div>

hi every one. I want to plot the out put in cairomakie and gridap. I use the code triangular mesh easily but when i have changed the mesh to rectangular one it gives me error. can anyone help me? using CairoMakie, Grida…

---

## [\[CairoMakie\] Mirrored axis sharing](https://discourse.julialang.org/t/cairomakie-mirrored-axis-sharing/99939)

<div class="topic-metadata">

**Author:** [@fdekerme](https://discourse.julialang.org/u/fdekerme)\
**Replies:** 1\
**Last updated:** [June 6, 2023, 6:57pm UTC](https://discourse.julialang.org/t/cairomakie-mirrored-axis-sharing/99939 "2023-06-06T18:57:27Z")

</div>

Hello, :smiley: Is it possible to do a “Mirrored axis sharing” in CairoMakie, like on this image for example? (from Axes review · Issue #206 · MakieOrg/Makie.jl (github.com) Thank you ! fdekerm

---

## [Create legend for dodge boxplot in Makie](https://discourse.julialang.org/t/create-legend-for-dodge-boxplot-in-makie/97824)

<div class="topic-metadata">

**Author:** [@vembha](https://discourse.julialang.org/u/vembha)\
**Replies:** 2\
**Last updated:** [April 25, 2023, 11:05am UTC](https://discourse.julialang.org/t/create-legend-for-dodge-boxplot-in-makie/97824 "2023-04-25T11:05:21Z")

</div>

Hello, I am trying to get a legend for a box plot created in Makie. For the example provided in the website Page Redirection (attached is the box plot), how to get a legend inside the figure panel? Like in a scatter plo…

---

## [CairoMakie hlines behaviour](https://discourse.julialang.org/t/cairomakie-hlines-behaviour/93247)

<div class="topic-metadata">

**Author:** [@SDA](https://discourse.julialang.org/u/SDA)\
**Replies:** 2\
**Last updated:** [January 23, 2023, 1:18am UTC](https://discourse.julialang.org/t/cairomakie-hlines-behaviour/93247 "2023-01-23T01:18:05Z")

</div>

Hi everyone, I’m trying to understand the output of the below MWE: using CairoMakie fig = Figure() ax=Axis(fig\[1, 1\]) xmins = zeros(10) xmaxs = \[1:5; 3:7\] ys = 1:10 hlines!(ax, ys, xmin=xmins, xmax=xmaxs) I wa…

---

## [How to plot matrix as gradient grid?](https://discourse.julialang.org/t/how-to-plot-matrix-as-gradient-grid/82187)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 12\
**Last updated:** [June 9, 2022, 9:00pm UTC](https://discourse.julialang.org/t/how-to-plot-matrix-as-gradient-grid/82187 "2022-06-09T21:00:47Z")

</div>

Hello, I have a matrix of floating numbers that I would like to plot as a grid whose cells are shaded according to these numbers. Thus, having julia\> grid = rand(Float32, 5, 5) 5×5 Matrix{Float32}: 0.157996 0.965474 …
