From: Matt B. <ba...@br...> - 2009-01-25 00:17:40
|
Hi, I am trying to use Gnuplot.py as part of a Python script which I am developing on a Mac running Leopard (the latest version). It works exactly as expected when I use Aquaterm as my terminal, though plotting matrices 100x100 or larger can get very slow. I am trying to move away from AQT since it is old and does not support interactive viewing, e.g. rotation or zooming. I can start gnuplot itself from X11, set the terminal to be x11, and then make pretty plots that are fully interactive. However, if I run my python script (which uses gnuplot.py) through x11, I run into two problems: if my gnuplot constructor does not have the persist=1 option, then the plot window disappears as soon as it appears. However, when I do use the constructor (e.g. as g = Gnuplot.Gnuplot(persist=1)) then the plot window does persist but it's not interactive! I don't think that I am asking a lot to have an interactive and persistent gnuplot window. How can I do this on my Mac? I am perfectly happy to use something other than AQT or X11 if it gets the job done. Thanks! Matt |