bugGNU Octave - Bugs: bug #42766, incorrect color patches for...

 
 

bug #42766: incorrect color patches for countourf with NaNs in data

Submitted by:  None
Submitted on:  Mon 14 Jul 2014 03:42:01 AM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: ConfirmedAssigned to: None
Originator Name: Andreas StahelOriginator Email: -unavailable-
Open/Closed: OpenRelease: dev
Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sat 01 Nov 2014 08:45:20 PM UTC, comment #3:

Thanks for the '-Inf' workaround.
It has proven useful in another case

Sometimes '+inf' is better.

Here is a case where neither '-inf' or '+inf' work.
(in bothsides-inf.png; the upper stripe should be in dark red)

using +inf is worse (resulting in bothsides+inf.png).

(file #32352, file #32353)

John Hunt <huntj>
Sun 03 Aug 2014 05:25:28 PM UTC, comment #2:

Ther is a woraround
Replace all NaN by -Inf and contourf() will produce the expected result

Andreas Stahel <sha1>
Mon 14 Jul 2014 04:37:35 AM UTC, comment #1:

Confirmed. This is almost certainly related to bug #37501.

Rik <rik5>
Project Administrator
Mon 14 Jul 2014 03:42:01 AM UTC, original submission:

For a visualization I use colored contour plots, with some data
being NaN. All versions of Octave I used showed servere
problems when multiple data points were missing
A comercial product produced the correct coloring.
See the enclosed, constructed sample code.

It might be a bug in Octave.
It might be related to bug #37501 and #35033

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #32352:  bothsides-inf.png added by huntj (103kB - image/png)
file #32353:  bothsides+inf.png added by huntj (89kB - image/png)
file #31711:  contourfNaNbug.m added by None (143B - text/x-objcsrc)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by huntj (Updated the item)
  • -unavailable- added by sha1 (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by None (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 01 Nov 2014 08:45:20 PM UTChuntjAttached File-=>Added bothsides-inf.png, #32352
      Attached File-=>Added bothsides+inf.png, #32353
    Mon 14 Jul 2014 04:37:52 AM UTCrik5Dependencies-=>Depends on bugs #37501
    Mon 14 Jul 2014 04:37:35 AM UTCrik5StatusNone=>Confirmed
      Summaryincorrect color patches for countourf=>incorrect color patches for countourf with NaNs in data
    Mon 14 Jul 2014 03:42:01 AM UTCNoneAttached File-=>Added contourfNaNbug.m, #31711

    Back to the top


    Powered by Savane 3.1-cleanup