title: colorful plot using persp
body: <p>I am using ´persp´ to generate 3D-Plot. it is the result:</p>
  
  <pre><code>persp(TestMatrix ,theta = 30, phi = 30, expand = 0.19,scale=FALSE,shade=0.4,border=NA,box=FALSE)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/kqfdH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kqfdH.png" alt="enter image description here"></a></p>
  
  <p>in my diagram. I would like to change the color continuous from blue to red. </p>
  
  <p>what should I do?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I would like generate a diagram like this:
  <a href="https://i.stack.imgur.com/jdZoq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jdZoq.png" alt="enter image description here"></a></p>