Hi BrowserUK,thanks allot,that really helped,I was able to get some quick results.
However,I will be concerned about the granularity of this,and also,because my values have a peak of 485 now, it's all shown in a blue nuances.
But soon I will probably have higher values , maybe 1000,maybe 10000 ...
it's not as easy as I thought(looking on your code) to deal with those high numbers as well.
I will look more into your code and the color ramping link http://local.wasp.uwa.edu.au/~pbourke/texture_colour/colourramp/
was excellent, thank you :)

P.S. : perlmonks seems to always be full of knowledgeble people , of all the places I'd ask,I didn't expect
the answer would come from here

In reply to Re^2: Mapping function values to colors by spx2
in thread Mapping function values to colors by spx2

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.