On Tuesday 16 February 2010, Mandeep Bedi wrote:
> Dear Gnuplot Developers:
>
> My name is Mandeep Bedi and I am emailing you on behalf of the Wavelet
> Auditory Model Group at the University of Maryland. We are working on a
> software project related to sound filtering and are interested in using
> gnuplot for graphing data from our program and allowing user interface. To
> make gnuplot better suited for our project, we were interested in adding a
> few features to it and would appreciate your feedback:
>
> --The ability to "import" functions into gnuplot from from our project
> library.
There is an old patch to gnuplot that implements loading functions from
a shared library:
https://sourceforge.net/tracker/index.php?func=detail&aid=588805&group_id=2055&atid=302055
The patch is quite old, and probably would not apply to the current
source tree without modification. Nevertheless you might find it useful.
The chief concern raised at the time the patch was first proposed was that
it would not be portable to other operating systems.
I think we would be willing to consider a similar patch submitted against
the current cvs source, but still it would be desirable if the patch were
to support more than one operating system (linux, windows, OSX, SunOS, etc).
Ethan
> Our project is predominantly written in Java, and our idea is to
> attach a shared object in the form of a .so file to gnuplot and then execute
> a command that goes something like:
>
> import function f(x) from 'wam.so'
>
> so that we can use the function f(x) in our gnuplot script.
>
> --We are also interested in adding functionality to gnuplot for importing
> tabular data from our project, perhaps by a command like the following:
>
> import datafile 'hello' from 'wam.so'
>
> While gnuplot does already support file-reading, we are hoping to make more
> use of the shared library idea introduced above, and were wondering what you
> thought about this.
>
> Thank you for your time.
>
> Sincerely,
> Mandeep Bedi
>
|