Greg Novak wrote: > Much of the data that I would like to plot lives on machines other > than my desktop. I'd like to log in to the remote machine, start > Python, and then let Matplotlib pop up an Xwindow on my desktop > machine. The problem I'm running into is that this is quite painfully > slow. Even over a 100 Mbit link, screen updates take several seconds.
I would not have expect the problem to be so severe with that link speed. I wonder whether something else is slowing down the transactions? > This rules out interactively playing with plots and is hard to use > even if I just want to see the plot (not interact with it). > > I've used IDL in the same way, and it's generally very fast over the > network, seemingly because it makes plots using simple line strokes > which Xwindows handles pretty well. Matplotlib renders the whole plot > and then sends the pixel data. This results in very nice looking > plots and fonts, but apparently slows things down. > > I'm by no means suggesting any changes to Matplotlib. Rather, I'm > just fishing for suggestions from anyone who's in the same boat. Do > some backends work better than others in this situation? Any other > suggestions to make this work better? Try using the gtk or wx backends; they are much faster in this use case. With or without those backends, you can also try using the -C option to ssh to compress the data, although normally it would be only for slower connections. But if you are not getting fast response with the gtk or wx backends, then I suspect there is a networking problem, probably involving a latency or lost packets. Eric ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users