Hi,
has quantlib any bindings to gnuplot or xmgrace ? (I haven't found anything in search.) I have some wrapper classes which could be slightly updated to fit into quantlib. Is there an interest in such updates? Marek. |
On 02/11/05 00:11:21, [hidden email] wrote:
> > has quantlib any bindings to gnuplot or xmgrace ? Marek, I'm not really sure of what you mean by "bindings to gnuplot or xmgrace." Can you elaborate? > I have some wrapper classes which could be slightly updated to fit into > quantlib. > > Is there an interest in such updates? Yes, there is. I think plotting is outside the scope of the library, but your wrappers could go in an additional module. Would you be interested in managing it? Later, Luigi ---------------------------------------- Prediction is very difficult, especially of the future. -- Niels Bohr |
Hello Luigi,
>> >> has quantlib any bindings to gnuplot or xmgrace ? > > > Marek, > I'm not really sure of what you mean by "bindings to gnuplot or > xmgrace." Can you elaborate? Elaborate , hmm ... for instance: You price an option for range of volatilities and you are interested how does it look look. You export it into file or use your bindings to other softs to create figure (e.g. postscript). I throught that one could support the production of postscript figures during run-time and create ".gpt"-gnuplot script file as well. This can be run, if one wants, in gnuplot environment. In simple words you'll write: gnuWrite(x,y,...); which writes output (display or file) with default properties. or gnuWrite(const vector<vector<data> > &x, const vector<vector<data> > &y,...) for several graphs or graphs in several files and so on. Of course you can set 2D/3D plots, title labels, size of figure/graph, style of data, style of ticks, ... or you can write own specification. still more? Then in what sense to elaborate? >> quantlib. >> >> Is there an interest in such updates? > > I have some wrapper classes which could be slightly updated to fit into > > Yes, there is. I think plotting is outside the scope of the library, > but your wrappers could go in an additional module. Would you be > interested in managing it? Well, I've seen there is (unix) support to matlab/octave or gnumeric, but I usually use gnuplot or xmgrace to create figures into articles. Managing it? Why not. Marek. > > Later, > Luigi > > ---------------------------------------- > > Prediction is very difficult, especially of the future. > -- Niels Bohr > > > -- +---------------------------------------------------+ | Dr. Marek Gajdos | | Universität Wien | | Institut für Materialphysik | | Sensengasse 8/12 | | 1090 Wien | | | | Tel: 0043-1-4277-51403 | | Skype: archimg | | | | [hidden email] | | http://cms.mpi.univie.ac.at/mgajdos | +---------------------------------------------------+ |
On 11 February 2005 at 14:45, Dr. Marek Gajdos wrote:
| >> has quantlib any bindings to gnuplot or xmgrace ? | > | > | > Marek, | > I'm not really sure of what you mean by "bindings to gnuplot or =20 | > xmgrace." Can you elaborate? | | Elaborate , hmm ... | | for instance: | You price an option for range of volatilities and you are interested how=20 | does it look look. You export it into file or use | your bindings to other softs to create figure (e.g. postscript). My RQuantLib bindings do that -- they provide an interface between QuantLib and R. R, as an implementation of the S language that was designed 'for programming with data' is quite handy for analysis, visualisation, ... See http://dirk.eddelbuettel.com/code/rquantlib.html and the links therein. As an aside, R can create charts in pdf, eps, png, gif, jpeg, svg, opengl, ... (svg and opengl need add-on packages from CRAN). RQuantLib could benefit tremendously from the new ObjectHandler code. I won't have time to dig deeply into that in the foreseeable future -- but I'd love to help anyone who would like to extend the (still rather limited) RQuantLib bindings. Hth, Dirk -- Better to have an approximate answer to the right question than a precise answer to the wrong question. -- John Tukey as quoted by John Chambers |
Free forum by Nabble | Edit this page |