|
From: Craig D. <def...@bo...> - 2012-09-13 09:27:55
|
Dear Gnuplotters, I'm interested in being able to plot images under arbitrary nonlinear distortions: basically, using the full X/Y info implied by the syntax "with image" with the full (x,y,value) tuple. Is there a method for doing this (perhaps via splot)? That ability would be very useful, e.g. for displaying scientific images with the not-so-new-any-more FITS standard for representing nonlinear mappings between world coordinates and pixel coordinates. Currently I am resampling onto a linear grid and then shipping the rectified object off to gnuplot - but that is very slow and also nonoptimal: for example, I have to guess at a final spatial resolution, because only the gnuplot process knows the inherent resolution of the output stage. I'm incorporating this functionality into the PDL::Graphics::Gnuplot module for Perl/PDL, but I can't imagine we're the first group to want to do this with Gnuplot. Thanks, Craig DeForest |