# Change colorbar position and decimal points in the legend (Plots.jl with gr)

**URL:** https://discourse.julialang.org/t/change-colorbar-position-and-decimal-points-in-the-legend-plots-jl-with-gr/122471
**Category:** Visualization
**Tags:** plots
**Created:** [November 10, 2024, 8:27pm UTC](https://discourse.julialang.org/t/change-colorbar-position-and-decimal-points-in-the-legend-plots-jl-with-gr/122471 "2024-11-10T20:27:53Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)
#### Post date: [November 11, 2024, 9:23pm UTC](https://discourse.julialang.org/t/change-colorbar-position-and-decimal-points-in-the-legend-plots-jl-with-gr/122471/2 "2024-11-11T21:23:16Z")

</div>

Please see [this thread](https://discourse.julialang.org/t/specify-digits-in-contour-plot-scale/71384) for a Plots.jl solution to control the number of digits in the colorbar.

On the other hand, a simple way to move the colorbar title away from the colorbar numbers is to add line breaks, e.g:

```julia
colorbar_title="\n\nlog10(SSE)"

```

---

_[View the full topic](https://discourse.julialang.org/t/change-colorbar-position-and-decimal-points-in-the-legend-plots-jl-with-gr/122471)._
