octave-bug-tracker
[Top][All Lists]
Advanced

[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: Sat, 23 Oct 2010 10:31:17 +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 #16, bug #31305 (project octave):

The color looks great for smooth surfaces. However ...

octave:1> contour (rand (5))
error: add_patch_children: A(I): index out of bounds; value 1 out of bound 0
error: called from:
error:  
/Users/bpabbott/Development/mercurial/local_clone/scripts/plot/private/__contour__.m
at line 292, column 23
error:  
/Users/bpabbott/Development/mercurial/local_clone/scripts/plot/private/__contour__.m
at line 212, column 3
error:  
/Users/bpabbott/Development/mercurial/local_clone/scripts/plot/contour.m at
line 62, column 19

I can't claim to understand how this function works, but I made a feeble
attempt to fix it. The result works for me.

I also added "axis tight". I think this is the right thing to do. Matlab's
contours have both xlimmode and ylimmode set to "manual" after a contour is
rendered.


(file #21762)
    _______________________________________________________

Additional Item Attachment:

File name: contour_fix2.patch             Size:7 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31305>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]