# How to associate colormap with the model

**URL:** https://discourse.slicer.org/t/how-to-associate-colormap-with-the-model/12724
**Category:** Development
**Created:** [July 24, 2020, 5:00pm UTC](https://discourse.slicer.org/t/how-to-associate-colormap-with-the-model/12724 "2020-07-24T17:00:03Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![siaeleni](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@siaeleni](https://discourse.slicer.org/u/siaeleni)
#### Post date: [July 24, 2020, 5:00pm UTC](https://discourse.slicer.org/t/how-to-associate-colormap-with-the-model/12724/1 "2020-07-24T17:00:03Z")

</div>

Hi,

I want to add a colormap in 3DView and show the min-max actual values with the same color as my model. I am generating a model and you can see the output at the image attached.

 ![Capture](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/c/2/c2c303f499a9941d3c5c031d0bb143a3c9cb7d6c.jpeg)  
I can display a color map, but I haven’t figured out yet how to associate it with my model values.  
In other words, I want to show a colormap depending on the “Active Scalar” in the Models module.

I imagine that I should set the color table at Models properties, but I am not sure where exactly.

Thanks

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [July 24, 2020, 5:51pm UTC](https://discourse.slicer.org/t/how-to-associate-colormap-with-the-model/12724/2 "2020-07-24T17:51:08Z")

</div>

To make sure the range of color scalar bar is in sync with the active scalar display, you can choose in Models module: Display / Scalars / Scalar Range Mode -\> Color table (LUT).
