bugGNU Octave - Bugs: bug #33177, contourf with LVL = [0,0]

 
 

bug #33177: contourf with LVL = [0,0]

Submitted by:  Marco Caliari <caliari>
Submitted on:  Thu 28 Apr 2011 02:00:42 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.4.0Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 05 May 2011 03:43:36 AM UTC, comment #1:

Thanks for contributing patches. I know we've been slow in applying some of them, but there's always a lot to take care of. I applied the patch on the stable branch (http://hg.savannah.gnu.org/hgweb/octave/rev/c6378cec77af)

Rik <rik5>
Project Administrator
Thu 28 Apr 2011 02:00:42 PM UTC, original submission:

Dear maintainers,

the following code

draws a red disk (well, an ellipse) for any value of lvl BUT 0. The problem is in the function get_lvl_eps inside _contour_.m, which sets lvl_eps to 0. If you add a sqrt(eps) to lvl_eps as an absolute tolerance, the disk is drawn for lvl = 0, too. I'm enclosing a patch.

Marco

Marco Caliari <caliari>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #23318:  __contour__.m.diff added by caliari (105B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by caliari (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 05 May 2011 03:43:36 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 28 Apr 2011 02:00:42 PM UTCcaliariAttached File-=>Added _contour_.m.diff, #23318

    Back to the top


    Powered by Savane 3.1-cleanup1