Geo-GNUPlot
view release on metacpan or search on metacpan
lib/Geo/GNUPlot.pm view on Meta::CPAN
This program utilizes gnuplot by generating temporary gnuplot
configuration files and then running gnuplot on these files.
The knowledge of what xrange and yrange to use in the gnuplot
configuration files is determined by a user defined radius function,
an x and y padding, and an x and y scaling of the radius function.
The radius function is controlled by user defined node values
on a user defined irregular grid. Values between the nodes
are computed using two dimensional linear interpolation. I used
Numerical Recipes in Fortran 77 page 117 equations 3.6.3, 3.6.4, and
3.6.5 as a reference. It is a simple formula and can be derived
from scratch without too much effort. If you don't like this approach
then simply override the radius_function method with your own. Better
yet, provide your improved version to the current maintainer of this
package. In the event Jimmy Carpenter (myself) is still the maintainer,
offer to take over!
The irregular grid and node values are set in the grid_file file.
An example is shown below:
#xtics must be numerically ascending
( run in 1.165 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )