# Create a discrete visualizationscale with differen

**URL:** https://discourse.paraview.org/t/create-a-discrete-visualizationscale-with-differen/14378
**Category:** ParaView Support
**Created:** [April 10, 2024, 3:30pm UTC](https://discourse.paraview.org/t/create-a-discrete-visualizationscale-with-differen/14378 "2024-04-10T15:30:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Hammerstale](https://discourse.paraview.org/user_avatar/discourse.paraview.org/hammerstale/32/14145_2.png) [@Hammerstale](https://discourse.paraview.org/u/Hammerstale)
#### Post date: [April 10, 2024, 3:30pm UTC](https://discourse.paraview.org/t/create-a-discrete-visualizationscale-with-differen/14378/1 "2024-04-10T15:30:23Z")

</div>

Hi,

I did a flow simulation in a pipeline network and I would like to be able to present the results is a really understable way.

Based on the flow speed in each part of the pipeline network, different kinds of valve will need to be used. I have the working range of each valve and so I would like to create on Paraview a specific visualization scale. Here is an example of what I would like to obtain :

 ![image](https://discourse.paraview.org/uploads/default/original/2X/4/4d58fde1fb99a65edf6dd5d1febc2e9b82ec447a.png)

But when I try to create such a scale, it doesn’t work. Here is what I tried :

1. I create a “discrete scale” with 6 intervals (I have 6 intervals in the scale above), but each interval of value is the same and I cannot change this : 3 intervals between 0 and 9 mean one value for 0-3, another one for 3-6 and another one for 6-9

2. I create a “discrete scale” with 45 intervals, I wanted to put the 1-2, 2-3 and 3-4 of the same color, the same for the 8 intervals between 4 and 12, … But I end up with not perfect colors for each interval but a fading from one color to another, and that is not clear anymore.

3 I tried to set my own color scale with a .json file (idea found from this forum) but I also had a fading between the colors.

Does anyone have an idea on how to do this ? I think this problem is really old as I found similar topics without answers that work.

Thank you.
