Re: Graphing with GNUPlot with GTK4 UI Library

Walter Harms via gnuplot-info <[email protected]>
Newsgroups gmane.comp.graphics.gnuplot.user
Message-ID <[email protected]>
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 <[email protected]>
Gesendet: Donnerstag, 2. Juli 2026 20:00:32
An: [email protected]
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
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info


_______________________________________________
gnuplot-info mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.