[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #31305] slow contour plot
From: |
Ben Abbott |
Subject: |
[Octave-bug-tracker] [bug #31305] slow contour plot |
Date: |
Fri, 29 Oct 2010 01:50:14 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7 |
Follow-up Comment #21, bug #31305 (project octave):
If I remember correctly, this was working when the contour_fix2.patch was
applied, but now with contour_fix.patch.
Diffing the two I get ...
$ diff contour_fix.patch contour_fix2.patch
4c4,13
< @@ -232,138 +232,111 @@
---
> @@ -211,6 +211,8 @@
>
> add_patch_children (hg);
>
> + axis tight
> +
> if (!isempty (opts))
> set (hg, opts{:});
> endif
> @@ -232,138 +234,115 @@
82,88d90
< - lvl_bel_idx = tmp(1);
< - ## Set color of patches found.
< - cont_lev(ma_idx) = cont_lev(lvl_bel_idx);
< - else
< - ## Set lowest level contour to NaN.
< - cont_lev(ma_idx) = NaN;
< - endif
122,124c124,131
< + lvl_bel_idx = tmp(1);
< + ## Set color of patches found.
< + cont_lev(ma_idx) = cont_lev(lvl_bel_idx);
---
> + if (! isempty (tmp))
> lvl_bel_idx = tmp(1);
> ## Set color of patches found.
> cont_lev(ma_idx) = cont_lev(lvl_bel_idx);
> else
> - ## Set lowest level contour to NaN.
> cont_lev(ma_idx) = NaN;
> endif
I'm a bit embarrassed to admit it, but I don't understand why this worked. I
came about this change by experimenting.
In any event, perhaps it gives some hints?
_______________________________________________________
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, (continued)
- [Octave-bug-tracker] [bug #31305] slow contour plot, Ben Abbott, 2010/10/12
- [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
- [Octave-bug-tracker] [bug #31305] slow contour plot, Ben Abbott, 2010/10/12
- [Octave-bug-tracker] [bug #31305] slow contour plot, Shai Ayal, 2010/10/23
- [Octave-bug-tracker] [bug #31305] slow contour plot, Ben Abbott, 2010/10/23
- [Octave-bug-tracker] [bug #31305] slow contour plot, David Bateman, 2010/10/23
- [Octave-bug-tracker] [bug #31305] slow contour plot, David Bateman, 2010/10/27
- [Octave-bug-tracker] [bug #31305] slow contour plot, Ben Abbott, 2010/10/28
- [Octave-bug-tracker] [bug #31305] slow contour plot, David Bateman, 2010/10/28
- [Octave-bug-tracker] [bug #31305] slow contour plot,
Ben Abbott <=
- [Octave-bug-tracker] [bug #31305] slow contour plot, Ben Abbott, 2010/10/28
- [Octave-bug-tracker] [bug #31305] slow contour plot, Ben Abbott, 2010/10/29
- [Octave-bug-tracker] [bug #31305] slow contour plot, Ben Abbott, 2010/10/29
- [Octave-bug-tracker] [bug #31305] slow contour plot, David Bateman, 2010/10/29
- [Octave-bug-tracker] [bug #31305] slow contour plot, Ben Abbott, 2010/10/29
- [Octave-bug-tracker] [bug #31305] slow contour plot, Ben Abbott, 2010/10/29
- [Octave-bug-tracker] [bug #31305] slow contour plot, Ben Abbott, 2010/10/29
- [Octave-bug-tracker] [bug #31305] slow contour plot, Ben Abbott, 2010/10/29
- [Octave-bug-tracker] [bug #31305] slow contour plot, Ben Abbott, 2010/10/29
- [Octave-bug-tracker] [bug #31305] slow contour plot, Ben Abbott, 2010/10/30