From: Benny M. <ben...@gm...> - 2008-01-31 21:29:27
|
Is this on windows or linux? benny 2008/1/31, kk...@ma... <kk...@ma...>: > > When I try to open more than 6 gnuplot windows at the same time I get > following issues: > - new windows aren't opened > - gnuplot 'save' doesn't work > > I suppose that problem is in gnuplot perfomance. I mean that gnuplot get > new > request before old request is not yet proccessed. Or maybe it is SMP issue > cause I have Intel Core Duo. Anyway, I've found some workaround: > I've modified __call__ method with short delay. I know it's ugly but it > works > > def __call__(self, s): > """Send a command string to gnuplot. > > Send the string s as a command to gnuplot, followed by a > newline. All communication with the gnuplot process (except > for inline data) is through this method. > > """ > > self.gnuplot(s) > if self.debug: > # also echo to stderr for user to see: > sys.stderr.write('gnuplot> %s\n' % (s,)) > time.sleep(0.1); > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gnuplot-py-users mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-py-users > |