# \#colorbar

**URL:** https://discourse.julialang.org/tag/colorbar/770.md

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

---

## [Makie: nonlinear color levels in Colorbar](https://discourse.julialang.org/t/makie-nonlinear-color-levels-in-colorbar/118056)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 5\
**Last updated:** [August 18, 2025, 1:44am UTC](https://discourse.julialang.org/t/makie-nonlinear-color-levels-in-colorbar/118056 "2025-08-18T01:44:13Z")

</div>

In a contourf map, I sometimes need to show the structure of the field at small absolute values as well as showing large absolute values. At the same time, I’d like to enable the reader to “read” approximate values off …

---

## [How to implement Value Suppressing Colormaps in Makie](https://discourse.julialang.org/t/how-to-implement-value-suppressing-colormaps-in-makie/129140)

<div class="topic-metadata">

**Author:** [@vladdez](https://discourse.julialang.org/u/vladdez)\
**Replies:** 11\
**Last updated:** [August 7, 2025, 9:15am UTC](https://discourse.julialang.org/t/how-to-implement-value-suppressing-colormaps-in-makie/129140 "2025-08-07T09:15:50Z")

</div>

I would like to implement Value Suppressing Colormap described in this paper https://dl.acm.org/doi/abs/10.1145/3173574.3174216 Which requires: triangular colorbar bivariate colormap, where I can manipulate color h…

---

## [Multiple colobars](https://discourse.julialang.org/t/multiple-colobars/116970)

<div class="topic-metadata">

**Author:** [@ArneSpang](https://discourse.julialang.org/u/ArneSpang)\
**Replies:** 8\
**Last updated:** [July 15, 2024, 10:15am UTC](https://discourse.julialang.org/t/multiple-colobars/116970 "2024-07-15T10:15:53Z")

</div>

I am trying to make a plot with a heatmap in the background and contour plot of a different field on top. I could steal some ideas from this thread (Overlay a contour over a heatmap - #8 by lazarusA) and I get as far as …

---

## [Makie: row 2 colorbar without affecting row 1](https://discourse.julialang.org/t/makie-row-2-colorbar-without-affecting-row-1/106218)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 6\
**Last updated:** [November 15, 2023, 2:11pm UTC](https://discourse.julialang.org/t/makie-row-2-colorbar-without-affecting-row-1/106218 "2023-11-15T14:11:13Z")

</div>

I’m plotting two equal-sized graphs on the first row (fig\[1,1\] and fig\[1,2\]) and a single contour plot on the second row (fig\[2,1\]). My question is, how do you plot the colorbar for the contour plot? What is the standar…

---

## [Makie: Colorbar with the "High" and "Low" labels](https://discourse.julialang.org/t/makie-colorbar-with-the-high-and-low-labels/101604)

<div class="topic-metadata">

**Author:** [@nari](https://discourse.julialang.org/u/nari)\
**Replies:** 2\
**Last updated:** [July 18, 2023, 12:31am UTC](https://discourse.julialang.org/t/makie-colorbar-with-the-high-and-low-labels/101604 "2023-07-18T00:31:56Z")

</div>

When accompanying a heatmap with a color bar, the values at both ends themselves have no physical meaning, only the type and which direction they are used in are sometimes important. In that case, I would prepare a color…

---

## [The scale-change of "cgrad" is invalidated when colorschemes are jointed](https://discourse.julialang.org/t/the-scale-change-of-cgrad-is-invalidated-when-colorschemes-are-jointed/100966)

<div class="topic-metadata">

**Author:** [@Fluorite-Erbite](https://discourse.julialang.org/u/Fluorite-Erbite)\
**Replies:** 2\
**Last updated:** [June 30, 2023, 4:33am UTC](https://discourse.julialang.org/t/the-scale-change-of-cgrad-is-invalidated-when-colorschemes-are-jointed/100966 "2023-06-30T04:33:09Z")

</div>

Julia 1.9.0 downloaded from the official (Sorry for my poor English) I want to join 2 colorschemes, before which each scale is change (:log). Example, cs1 = reverse( cgrad( palette( \[:red, :orange, :yellow, :lawngree…

---

## [How to stick a colorbar to a scaled axis in Makie](https://discourse.julialang.org/t/how-to-stick-a-colorbar-to-a-scaled-axis-in-makie/70358)

<div class="topic-metadata">

**Author:** [@briochemc](https://discourse.julialang.org/u/briochemc)\
**Replies:** 12\
**Last updated:** [May 18, 2023, 4:43pm UTC](https://discourse.julialang.org/t/how-to-stick-a-colorbar-to-a-scaled-axis-in-makie/70358 "2023-05-18T16:43:30Z")

</div>

Here is a MWE of a Makie plot with a wide figure with one square axis and a colorbar “attached” to it: f = Figure(resolution=(900,300)) Axis(f\[1, 1\], aspect = AxisAspect(1)) Box(f\[1, 1\], color = (:blue, 0.2), strokecolo…

---

## [Using only a part of a colormap in Makie](https://discourse.julialang.org/t/using-only-a-part-of-a-colormap-in-makie/89784)

<div class="topic-metadata">

**Author:** [@trashspam7](https://discourse.julialang.org/u/trashspam7)\
**Replies:** 4\
**Last updated:** [November 5, 2022, 6:17am UTC](https://discourse.julialang.org/t/using-only-a-part-of-a-colormap-in-makie/89784 "2022-11-05T06:17:52Z")

</div>

I have a figure where I am plotting a line and want that line to be colored according to some other array. How do I use only part of a colormap? Or even reverse a sub-section of a colormap? I don’t have a MWE, but the r…

---

## [How to combine two different colormaps into one](https://discourse.julialang.org/t/how-to-combine-two-different-colormaps-into-one/87529)

<div class="topic-metadata">

**Author:** [@yhchang96](https://discourse.julialang.org/u/yhchang96)\
**Replies:** 1\
**Last updated:** [September 20, 2022, 7:40pm UTC](https://discourse.julialang.org/t/how-to-combine-two-different-colormaps-into-one/87529 "2022-09-20T19:40:45Z")

</div>

I come across the following colorbar somewhere and would like to implement something similar for my heatmap plot in CairoMakie: So suppose I want ColorSchemes.viridis from -5 to -2, and then ColorSchemes.Greys\_3 from …

---

## [Select color range for heatmap](https://discourse.julialang.org/t/select-color-range-for-heatmap/81589)

<div class="topic-metadata">

**Author:** [@vamp](https://discourse.julialang.org/u/vamp)\
**Replies:** 5\
**Last updated:** [May 26, 2022, 2:55pm UTC](https://discourse.julialang.org/t/select-color-range-for-heatmap/81589 "2022-05-26T14:55:14Z")

</div>

Hello, I want to plot the values of a “big” matrix using plots. The matrix is on a .txt file and I do the following: using DelimitedFiles, Plots, LinearAlgebra, Pyplot writedlm( "MyFile.txt", values, ' ') t1 = readdlm…

---

## [Plots.jl GR add space between the colorbar and the colorbar\_title](https://discourse.julialang.org/t/plots-jl-gr-add-space-between-the-colorbar-and-the-colorbar-title/66785)

<div class="topic-metadata">

**Author:** [@josePereiro](https://discourse.julialang.org/u/josePereiro)\
**Replies:** 4\
**Last updated:** [August 22, 2021, 6:10am UTC](https://discourse.julialang.org/t/plots-jl-gr-add-space-between-the-colorbar-and-the-colorbar-title/66785 "2021-08-22T06:10:51Z")

</div>

Hi, how can I control the space between the colorbar and the colorbar\_title? using Plots p = heatmap(rand(100, 100); colorbar\_title = "colorbar title", thickness\_scaling = 1.6, ) savefig(p, "test.png") Im usi…
