# What is the equivalent of vmin and vmax in Makie?

**URL:** <https://discourse.julialang.org/t/what-is-the-equivalent-of-vmin-and-vmax-in-makie/69387>\
**Category:** Visualization\
**Tags:** question, plotting, makie\
**Created:** [October 7, 2021, 7:01pm UTC](https://discourse.julialang.org/t/what-is-the-equivalent-of-vmin-and-vmax-in-makie/69387 "2021-10-07T19:01:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![juliohm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/juliohm/32/215266_2.png) [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Post date:** [October 7, 2021, 7:01pm UTC](https://discourse.julialang.org/t/what-is-the-equivalent-of-vmin-and-vmax-in-makie/69387/1 "2021-10-07T19:01:45Z")

</div>

In Plots.jl we can pass the keyword arguments `vmin=0.0, vmax=1.0` in plot commands like `heatmap` to set the range of the colormap. Is there an equivalent in Makie?

---

<div class="post-metadata">

**Author:** ![lazarusA](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lazarusa/32/6571_2.png) [@lazarusA](https://discourse.julialang.org/u/lazarusA)\
**Post date:** [October 7, 2021, 7:50pm UTC](https://discourse.julialang.org/t/what-is-the-equivalent-of-vmin-and-vmax-in-makie/69387/2 "2021-10-07T19:50:23Z")

</div>

`colorrange = (min, max)` and if you want different colors in both ends, you do `highclip = :black, lowclip = :white`.
