dflplot 0.01

Eldar Insafutdinov e.insafutdinov at gmail.com
Sun Jul 11 02:20:01 PDT 2010


dsimcha Wrote:

> Interesting, though from looking at your SimplePlot code and browsing the Qwt
> website, it looks like Qwt was designed much more as a set of low-level mechanisms
> with the "everything must be possible" philosophy.
> 
> dflplot was designed more with the goal of being as easy to use as, for example,
> Matlab, in an exploratory context.  It has a "simple things must be simple"
> philosophy.  It contains a significant amount of policies as well as mechanisms
> and has defaults for basically everything, and simple plots can be created in a
> single line of code.
> 
> Going off on a tangent a little, my work with dstats and dflplot has convinced me
> that, given the power of D's metaprogramming facilities, builtin strings and
> arrays, and fast compile times, there's no reason why, once dflplot and Lars
> Kyllingstad's SciD mature (I already consider dstats fairly mature), D can't rival
> Matlab and R in terms of ease of use for scientific and statistical computing,
> while at the same time being able to do "real" down-and-dirty programming in the
> same language.  I feel dstats has already accomplished this for the small area of
> 1-d statistics and dflplot is another step in that direction.  This vision is
> what's made me stick with D through all the compiler bugs, breaking spec changes
> and people looking at me funny when I tell them it's my language of choice.
> 
> That said, it might be interesting to eventually port my high-level stuff to Qwt,
> or port it all to qtD.  Unless DFL goes cross-platform soon, eventual goal for
> dflplot is to abstract away most of the GUI code (compile time abstraction;
> runtime abstraction would create way too much cruft) and port it to whichever
> cross-platform GUI lib becomes dominant in the D community.  The GUI backend would
> simply be set by a version statement.

To be honest, I've never used packages like Matlab or R, so I can't tell much, but I definitely understand what your intention is. I think it should be possible to use Qwt as a backend for your high level utilities. Let me know if you have any issues with it.


More information about the Digitalmars-d-announce mailing list