gnuplot-cpp icon indicating copy to clipboard operation
gnuplot-cpp copied to clipboard

Keep Gnuplot window active

Open Muxed0 opened this issue 4 years ago • 0 comments

After plotting some data, say a 3d surface, usually Gnuplot will allow you to orbit pan and zoom, but when using this through a c++ program, the window just exists and you cannot interact with the figure. Keeping my program from exiting will not prevent this as it seems that the window generates as the pipe goes out of scope but immediately stops responding to any and all interaction.

Would it be possible to make it so the window stays active until it is manually closed? I know that matplotlib does something like this where the program will halt when the window is generated and keep going once it is closed again.

Muxed0 avatar Jan 20 '22 20:01 Muxed0