# Any suggestions for beginners :) on improving color mappings

**URL:** https://discourse.vtk.org/t/any-suggestions-for-beginners-on-improving-color-mappings/7495
**Category:** Support
**Created:** [December 24, 2021, 8:50am UTC](https://discourse.vtk.org/t/any-suggestions-for-beginners-on-improving-color-mappings/7495 "2021-12-24T08:50:27Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Kostas\_Politis](https://discourse.vtk.org/user_avatar/discourse.vtk.org/kostas_politis/32/4328_2.png) [@Kostas\_Politis](https://discourse.vtk.org/u/Kostas_Politis)
#### Post date: [December 24, 2021, 8:50am UTC](https://discourse.vtk.org/t/any-suggestions-for-beginners-on-improving-color-mappings/7495/1 "2021-12-24T08:50:27Z")

</div>

Hello all,  
I’ve just started using VTK so I’m trying some mapper options for biquadratic quads in a relatively coarse mesh(1600 cells). Without and with interpolation (option aVtkMapper-\>InterpolateScalarsBeforeMappingOn) I get the following :

 ![WithoutInterpolation](https://discourse.vtk.org/uploads/default/original/2X/f/fdce55a2354fa4fe02aab5bbe615cd46b492701b.png)  
 ![Interpolation](https://discourse.vtk.org/uploads/default/original/2X/a/adc8b99fb4780689d9cbb9320b3a928fb6b1b560.png)

Without changing the mesh resolution (a finer mesh), do you have any suggestions about how could I improve the quality of my visuals?  
Many thanks!

---

<div class="post-metadata">

### Author: ![Paulo\_Carvalho](https://discourse.vtk.org/user_avatar/discourse.vtk.org/paulo_carvalho/32/370_2.png) [@Paulo\_Carvalho](https://discourse.vtk.org/u/Paulo_Carvalho)
#### Post date: [December 26, 2021, 10:33pm UTC](https://discourse.vtk.org/t/any-suggestions-for-beginners-on-improving-color-mappings/7495/2 "2021-12-26T22:33:34Z")

</div>

Hi, Kostas,

I’d check the `vtkLookupTable` object first. Judging from your figures, its number of colors is low giving it a contour-like look. Try seeting it’s color resolution to 64 or more via `vtkLookupTable::SetNumberOfTableValues(tableSize)`. Maybe the number of colors is good but the min. and max. of the color table is not adequate for the range of values in your dataset (see `vtkLookupTable::SetTableRange(min, max)`)

regards,

Paulo
