# eliminate color transition for line whose two points have different color

**URL:** https://discourse.paraview.org/t/eliminate-color-transition-for-line-whose-two-points-have-different-color/8197
**Category:** Development
**Created:** [October 16, 2021, 3:26am UTC](https://discourse.paraview.org/t/eliminate-color-transition-for-line-whose-two-points-have-different-color/8197 "2021-10-16T03:26:37Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sharon](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/67e7ee/32.png) [@sharon](https://discourse.paraview.org/u/sharon)
#### Post date: [October 16, 2021, 3:26am UTC](https://discourse.paraview.org/t/eliminate-color-transition-for-line-whose-two-points-have-different-color/8197/1 "2021-10-16T03:26:37Z")

</div>

Dear All,  
when i set color scalar value for all line points, lines that have two different colors will have color transition effect automatically, but in my situation, i want line to be one of defined color not transition color, any good ideas how to do this?  
Thanks in advance!

![image](https://discourse.paraview.org/uploads/default/original/2X/1/12c59f5f4643c6b5013dafb7ed721de2127a7bf9.png)
