title: Show a color gradient in a SAS graph
body: <p>I would like to draw a box using SAS/GRAPH with a color gradient (say going from red to green). I've found references online to a macro called <code>%colorscale</code> that apparently helps with this, but can't find the code itself. Is there a way to do this?</p>
  
  <p>For example, the following draws a green box. But how can I make the color blend from one color to another?</p>
  
  <pre><code>data box;
     length function style color $ 8 text $ 15;
     xsys="3"; ysys="3";
  
     color="green";
     function="move"; x=10; y=65; output;
     function="bar";  x=30; y=95; style="solid"; output;
  run;
  
  proc ganno annotate=box;
  run;
  quit;
  </code></pre>