From: Ethan A M. <me...@uw...> - 2021-06-19 23:43:07
|
You are operating on Windows 10? I had hoped you would get a response from someone more familiar with Windows than I am, but it seems rather quiet here lately. My understanding is that this is a known problem when combining specifically gnuplot version 5.4 and Windows version 10. Issue tracker here https://sourceforge.net/p/gnuplot/bugs/2412/ There is a suggestion there that reverting commit 651af626 may fix the problem, or at least return it to the same behavior as gnuplot 5.2. If you are able to build gnuplot from the git source and confirm that reverting that commit works, that would be very useful information. best, Ethan On Thursday, 17 June 2021 02:48:15 PDT hua...@si... wrote: > Dear developers of gnuplot,First I want to thank you very much for developing such powerful tool. > I use gnuplot 5.4 in my own python program to check the results of some searching process. > the related code is like follows: > from subprocess import * gnuplot= Popen(r"C:/Progra~1/gnuplot/bin/wgnuplot_pipes.exe", stdin = PIPE, stderr=PIPE,stdout=PIPE) gnuplot.stdin.write(b"set terminal windows \n") gnuplot.stdin.write(b"plot(sin(x)) \n") gnuplot.stdin.flush() > input('Press the Return key to quit: ') #pause gnuplot.stdin.close() > In the above code, after Popen, the main gnuplot window is successfully launched.However, there is no any response for the next instructions, and nothing has happened.My Python version is 3.8.5 > So how to solve the problem ? > Best regards,Wendong > |