title: Customize color ranges in Gnuplot
body: <p>I have a contour plot running just fine and it is generating an equal amount of color for different values.</p>
  
  <p>What I want is to generate the label on the right side to have a right color for each block.</p>
  
  <p>current result:</p>
  
  <p><a href="https://i.stack.imgur.com/QQg6s.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QQg6s.png" alt="enter image description here"></a></p>
  
  <p>What I want is to have this value on each block:</p>
  
  <p>---- 300</p>
  
  <p>---- 100</p>
  
  <p>---- 70</p>
  
  <p>---- 30</p>
  
  <p>---- 10</p>
  
  <p>---- 1</p>
  
  <p>---- 0</p>
  
  <p>Edit:
  When I add this code:</p>
  
  <pre><code>set cbtics ('300' 300, '100' 100, '30' 30, '10' 10, '1' 1, '0.5' 0.5, '0.1' 0.1, '0.01' 0.01, '0' 0);
  set palette defined (0.1 "#4CAF4F",0.3 "#65B443",0.5 "#7FBA38",0.7 "#98BF2D",0.9 "#B2C521",1.0 "#CBCA16",2 "#E5D00B",3 "#FFD600",4 "#FFC400",5 "#FFB300",6 "#FFA100",7 "#FF9000",8 "#FF7E00",10 "#FF6D00",30 "#F85A00",50 "#F14800",70 "#EA3600",90 "#E32400",100 "#DC1200",300 "#D50000")
  </code></pre>
  
  <p>The result is a <strong>uneven</strong>:</p>
  
  <p><a href="https://i.stack.imgur.com/K5Ui9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/K5Ui9.png" alt="enter image description here"></a></p>
  
  <p>I want the ticks to be even but could not make it.</p>