I am not sure if this possible in Perl. I have made heatmaps or 2D contour surface plots using GNUPlot and Chart::Gnuplot. I was wondering if it was interactively possible to change the scale of the rgb palette. For example -I have an RGB 2d surface plot with range of @x,@y and z= -120:120. I want to be able to change the scale of the axis and hence change the colors of my plot. The point is to be able to compare different rbg 2d surface plots with different range values. Suppose I have another heatmap with same @x and @y coordinates but different z values = -20:20. I want to be able to change the scale to -120:120 so I could compare both the 2D surface plots. Is such a thing possible? I hope my question is clear. Thanks Monks!

In reply to Edited:Using Chart::Gnuplot to creat an interactive scale for palette? by Ppeoc

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.