# Move "Label" on top of the colorbar using Makie

**URL:** https://discourse.julialang.org/t/move-label-on-top-of-the-colorbar-using-makie/123813
**Category:** Visualization
**Created:** [December 13, 2024, 2:43pm UTC](https://discourse.julialang.org/t/move-label-on-top-of-the-colorbar-using-makie/123813 "2024-12-13T14:43:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Van\_Sy\_Tnut](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/van_sy_tnut/32/217602_2.png) [@Van\_Sy\_Tnut](https://discourse.julialang.org/u/Van_Sy_Tnut)
#### Post date: [December 13, 2024, 2:43pm UTC](https://discourse.julialang.org/t/move-label-on-top-of-the-colorbar-using-makie/123813/1 "2024-12-13T14:43:14Z")

</div>

Hello everyone! I would like to move the label to the top of the Colorbar by using Makie.  
Can anyone help me how to do this ?  
Thank you so much

> using Makie  
> using GLMakie  
> fig = Figure()
> 
> # Create an axis
> 
> Axis(fig[1, 1])  
> Colorbar(fig[1, 2], limits = (-1, 1), colormap = :jet, label = “Label”)
> 
> # Display the figure
> 
> display(fig)

 ![Makie_Label](https://global.discourse-cdn.com/julialang/original/3X/3/c/3c5b82352e2504d06b28274ef186b90449218420.jpeg)

---

<div class="post-metadata">

### Author: ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)
#### Post date: [December 13, 2024, 3:19pm UTC](https://discourse.julialang.org/t/move-label-on-top-of-the-colorbar-using-makie/123813/2 "2024-12-13T15:19:23Z")

</div>

You can’t move the label itself but you can do `Label(fig[1, 2, Top()], "Label")` with maybe some `padding = (left, right, bottom, top)`

---

<div class="post-metadata">

### Author: ![Van\_Sy\_Tnut](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/van_sy_tnut/32/217602_2.png) [@Van\_Sy\_Tnut](https://discourse.julialang.org/u/Van_Sy_Tnut)
#### Post date: [December 13, 2024, 5:39pm UTC](https://discourse.julialang.org/t/move-label-on-top-of-the-colorbar-using-makie/123813/3 "2024-12-13T17:39:25Z")

</div>

Thank you so much for your help. It works perfectly!  
Best regards,
