bugGNU Octave - Bugs: bug #38927, fill(x, y, "EdgeColor",...

 
 

bug #38927: fill(x, y, "EdgeColor", "red")

Submitted by:  Muhali <muhali>
Submitted on:  Tue 07 May 2013 01:31:20 PM UTC  
 
Category: Plotting with OpenGLSeverity: 4 - Important
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating 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.

 

Tue 08 Oct 2013 10:53:52 PM UTC, comment #2:

I applied your patch, with a few minor style tweaks, here http://hg.savannah.gnu.org/hgweb/octave/rev/ec31ca0a5812.

I followed it with a patch that changes the facecolor property from "interp" to "flat" based on the orientation of the color data vector since that is what Matlab does (http://hg.savannah.gnu.org/hgweb/octave/rev/3f8b3588a9f0).

Closing report.

Rik <rik5>
Project Administrator
Thu 09 May 2013 02:26:12 PM UTC, comment #1:

According to the documentation (also tested in Matlab) this example is not supposed to work. fill expects at least 3 arguments before the option/value pairs. The function should thus send an error.

Attached is a patch that fixes the input checking and avoids the endless loop.

(file #28054)

Pantxo Diribarne <pantxo>
Tue 07 May 2013 01:31:20 PM UTC, original submission:

When using fill with edgecolor, as in

octave stalls. Same with e.g. "EdgeColo" (no error message).

This is with OpenGL. With gnuplot I get

error: _go_draw_axes_: A(I): index out of bounds; value 1 out of bound 0

Muhali <muhali>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #28054:  fill_fixinputcheck.patch added by pantxo (3kB - 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 (Updated the item)
  • -unavailable- added by pantxo (Updated the item)
  • -unavailable- added by muhali (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 08 Oct 2013 10:53:52 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 08 Oct 2013 04:56:20 AM UTCrik5Severity3 - Normal=>4 - Important
    Thu 09 May 2013 02:26:12 PM UTCpantxoAttached File-=>Added fill_fixinputcheck.patch, #28054

    Back to the top


    Powered by Savane 3.1-cleanup