[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #31305] slow contour plot
From: |
David Bateman |
Subject: |
[Octave-bug-tracker] [bug #31305] slow contour plot |
Date: |
Mon, 11 Oct 2010 20:06:36 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009091010 Iceweasel/3.0.14 (Debian-3.0.14-1) |
Update of bug #31305 (project octave):
Status: None => Need Info
_______________________________________________________
Follow-up Comment #1:
Using __go_patch__ rather than patch will save the sending up of the listener
functions that mean that changes to the patch xdata etc affects the vertices
and faces variables. As the patch objects are wrapped in a contourgroup where
the user is supposed to change the variables, that seems pretyy save. Doing
that on my atom bring the execution time of contour(rand(15)) down from 8.3sec
to 3.5sec on my atom machine, which is nice but not enough.
I suppose we can do what is done in the scatter function to treat all the
patches with the same contourlevel as the same patch. However before doing
this it would be interesting the known the behavior of matlab in these case. I
suspect they also group contours in this manner. Could you run
a=[-1,0,1,0,-1,0,1,0,-1];
[c,h]=contour(kron(a,a'),-0.75:0.25:0.75);
length(get(h,'children')
in matlab and tell me what it gives? If it plots a patch for each contour it
should give "87" as Octave currently does.
D.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31305>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #31305] slow contour plot, Ben Abbott, 2010/10/11
- [Octave-bug-tracker] [bug #31305] slow contour plot,
David Bateman <=
- [Octave-bug-tracker] [bug #31305] slow contour plot, David Bateman, 2010/10/11
- [Octave-bug-tracker] [bug #31305] slow contour plot, Ben Abbott, 2010/10/11
- [Octave-bug-tracker] [bug #31305] slow contour plot, Ben Abbott, 2010/10/11
- [Octave-bug-tracker] [bug #31305] slow contour plot, David Bateman, 2010/10/11
- [Octave-bug-tracker] [bug #31305] slow contour plot, David Bateman, 2010/10/11
- [Octave-bug-tracker] [bug #31305] slow contour plot, Ben Abbott, 2010/10/11
- [Octave-bug-tracker] [bug #31305] slow contour plot, David Bateman, 2010/10/11
- [Octave-bug-tracker] [bug #31305] slow contour plot, Ben Abbott, 2010/10/11
- [Octave-bug-tracker] [bug #31305] slow contour plot, Shai Ayal, 2010/10/12
- [Octave-bug-tracker] [bug #31305] slow contour plot, Ben Abbott, 2010/10/12