|
From: | Robert T. Short |
Subject: | Re: Slowing scatter down for the sake of Matlab compatibility |
Date: | Sun, 04 Dec 2011 14:05:47 -0800 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4) Gecko/20091017 SeaMonkey/2.0 |
Jordi Gutiérrez Hermoso wrote:
Jordi, we went through this a long time ago. I think the conclusion was that MATLAB does the patch object for each dot only up to some number of dots (100 is the number I recall). If you do a patch object per dot, then scatter becomes totally unusable for more than a few points. Please don't do this.Re this bug: https://savannah.gnu.org/bugs/?34936 It looks to me like it boils down to keeping Matlab compatibility and making a patch object per dot. If we do that, then we really ought to figure out a way to optimise __go_patch__ for each possible backend, because it's a tremendous slowdown to do this for as little as 1000 points. Looks like previous attempts to not create a patch object per point have introduced complexity and errors into the function. Joanna also noticed that my proposed fix only works on fltk, not on gnuplot. - Jordi G. H.
Bob
[Prev in Thread] | Current Thread | [Next in Thread] |