I have seen this type of request the last years alot.
I never implemented it but you may like to try ...
People often forget that gnuplot can be used in a pipe. So you can write your programm
using pipe() and some defaults hardcoded in your programm. The result will be shown in a window controled by gnuplot.
If you need access to the window, you may try to open a shared memory (no idea if that can be done with GTK).
maybe that help some what
CU
________________________________________
Von: monkeyking9872 <mon...@gm...>
Gesendet: Donnerstag, 2. Juli 2026 20:00:32
An: gnu...@li...
Betreff: [Gnuplot-info] Graphing with GNUPlot with GTK4 UI Library
Hi All,
This is my first time posting here, so my apologies if this has already
been discussed.
I was wondering if anyone has used the graphing/plotting abilities of
GNUPlot with the GTK4 UI library. In particular, I am writing my program in
C.
My first approach is going to be attempting to read in data in gnuplot from
the standard input (stdin), since I believe that is how data is being
re-directed to gnuplot in this example of live-plotting with GNUPlot:
http://hxcaine.com/blog/2013/02/28/running-gnuplot-as-a-live-graph-with-automatic-updates/
Let me know if there are cleaner methods anyone knows of.
Thank you,
MonkeyMan
_______________________________________________
gnuplot-info mailing list
gnu...@li...
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
|