# Display color scalar bar matching model scalars

**URL:** <https://discourse.slicer.org/t/display-color-scalar-bar-matching-model-scalars/3620>\
**Category:** Development\
**Created:** [July 31, 2018, 6:41pm UTC](https://discourse.slicer.org/t/display-color-scalar-bar-matching-model-scalars/3620 "2018-07-31T18:41:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam\_Horvath](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sam_horvath/32/3092_2.png) [@Sam\_Horvath](https://discourse.slicer.org/u/Sam_Horvath)\
**Post date:** [July 31, 2018, 6:41pm UTC](https://discourse.slicer.org/t/display-color-scalar-bar-matching-model-scalars/3620/1 "2018-07-31T18:41:13Z")

</div>

I would like to display a scalar bar that matches the color node/data range of the scalars on a model I am viewing. I can use the colors module to display a scalar bar, but the range is fixed at max… What is the best way to create the scalar bar that I need?

---

<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:** [August 2, 2018, 8:35am UTC](https://discourse.slicer.org/t/display-color-scalar-bar-matching-model-scalars/3620/2 "2018-08-02T08:35:56Z")

</div>

Set scalar range of the color node to match the scalar range you use in Models module. You need to create an editable copy of the color node (click the “Copy” button next to the node selector in Colors module) to edit the scalar range of the color node.
