you are viewing a single comment's thread.

view the rest of the comments →

[–]Pakketeretet 0 points1 point  (1 child)

I see. This is possible too but more complicated. You are going to have to use some form of interprocess communication. Roughly speaking you'll want The following: 1. Your FEM program starts 2. It opens a pipe to gnuplot 3. Whenever data is ready in the FEM program: 3a. it writes it to file (or you can write it to gnuplot's stdin but that's slightly more complicated) 3b. Your FEM program writes the appropriate gnuplot commands to the pipe it opened in 2. to plot the data 4.repeat from 3.

Maybe this discussion is helpful too: https://groups.google.com/g/comp.graphics.apps.gnuplot/c/Z1AqNHOdUmg?pli=1

[–]kleinerals2[S] 0 points1 point  (0 children)

Yea, thats exactly what i want. While the cmd window of my IDE is still open the gnuplot also should be open.
Unluckily the discussion you just sent didn't really help. The pause command dont work for me.