[Haskell-beginners] EasyPlot on Windows
Gregory Guthrie
guthrie at mum.edu
Fri May 11 13:10:28 UTC 2018
Thanks; good idea - but nope.
I'd file a report to EasyPlot, but not sure where to do that.
Older discussions on this issue note that there is a "persist" option for gnuplot, but I didn't yet see how to pass that to try it.
-----Original Message-----
My first hunch was that, since the program ends right after plotting, it cleans up the plot window and exits. But trying it on an X11 system, I got a persistent window despite the program exiting. That may be a difference between Unix and Windows child process handling; I don't have a Windows machine handy right now to test, but you could try this:
main = do
plot Windows $ Data2D [Title "Demo Title"] [] tData
_ <- getLine
return ()
If that doesn't fix it, my only guess is there's either a difference between the Unix and Windows versions of gnuplot, or a bug in easyplot's Windows handling.
More information about the Beginners
mailing list