Not yet. It's been on my mind for a while, I just haven't implemented it. I would like to add support for no axis ticks, and then produce a color bar by simply creating another plot. For example, a vertical color bar would be a very thin plot with y-axis ticks but not x-axis ticks. That by itself is not too terribly hard. The larger problem, however, is that Prima does not have proper support for drawing a widget *and* *its* *children* to an image, either raster or postscript, except by hand. I've been working on a package to address this, called Prima::Subcanvas, but I only have a partial implementation.
David On Tue, Feb 11, 2014 at 12:18 PM, Ingo Schmid <[email protected]> wrote: > Hi, > > is there a simple way to add a colour code to a plot? You know, the bar > running from e.g. black to white with 0...100 written next to it? > > I'm trying to do some science here, not just showing colourful images ;-) > > Ingo > > -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." -- Brian Kernighan
_______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
