Lutz Maibaum said:
> Hello Ian,
> I'm a frequent user of both gnuplot and KDE, and I was happy to read yo=
> to the gnuplot development list. I have little programming experience
> and I'm not sure if I can offer any valuable help. I can always give it=
> shot, though.
> At first sight, I didn't quite understand what you mean by a "KDE
> From your example, it seems like you are not thinking about a gnuplot G=
> frontend (if you do, you probably want to take a look at Xgfe and qgfe,
> both use Qt), but some sort of plotting widget that uses gnuplot as its
> drawing engine (maybe something like Qwt?).
This is more like Xgfe/qgfe than Qwt, since I am using gnuplot via a chil=
process. The difference over *gfe is that I am using bidirectional IO, s=
I can get feedback from gnuplot. I am a big fan of the power of gnuplot,
but the API (or lack there of ;) ) is not so hot.
> If this is so, then maybe you could explain in a little more detail how
> would like to accomplish this. How does the communication between the
> class and gnuplot work (maybe pipes)? How do you display gnuplot's outp=
> the calling application? I vaguely remember a discussion on the
> list about the feasibility of a Qt terminal type. Do you want to use
> in it's interactive mode (zooming, data point labeling, etc.)? I'm sure
> people on the gnuplot-beta list would be interested to know, and can
> give a lot of helpful tips.
Currently the X11 child window is quite impossible to work with, so I am
just dumping a png to a temp file and then drawing it on the widget. I
will probably have to implement the zooming, data point labeling and such
> Other points I can think of right now:
> - gnuplot has a somewhat unusual license, make sure that it is compatib=
> whatever it is you're trying to do.
I'm using it via a child process, but this widget is LGPL at this point.=20
I think that should be okay.
> - gnuplot allows execution of arbitrary shell commands within gnuplot
> which might cause security risks.
I am hiding this part, so this should not be an issue.
-ian reinhart geiser
KDE - Unix is ready for the desktop