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!