bugGNU Octave - Bugs: bug #43836, rgbplot composite and image fail...

 
 

bug #43836: rgbplot composite and image fail to plot

Submitted by:  Juan Pablo Carbajal <juanpi>
Submitted on:  Tue 16 Dec 2014 05:13:38 PM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Other
Status: FixedAssigned to: None
Originator Name: juanpiOpen/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 22 Dec 2014 03:44:22 AM UTC, comment #2:

I applied the fix for _go_draw_axes_.m here (http://hg.savannah.gnu.org/hgweb/octave/rev/cdb6bc186c42). I didn't apply the patch with the test because the test passes regardless of the error.

Rik <rik5>
Project Administrator
Tue 16 Dec 2014 06:27:09 PM UTC, comment #1:

This patch adds a test to image.m to test for the bug

(file #32684)

Juan Pablo Carbajal <juanpi>
Project Member
Tue 16 Dec 2014 05:13:38 PM UTC, original submission:

the following code

will produce the same error as this other code

because plot/utils/private/__go_draw_axes__.m doesn't handle 1d images correctly before sending the command to gnuplot.

I attach a patch that solves this issue, but is not a great solution.

Related discussion at
http://octave.1599824.n4.nabble.com/rgbplot-composite-fails-with-gnuplot-td4667820.html

Juan Pablo Carbajal <juanpi>
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 #32684:  1dimages_gnuplot_test.diff added by juanpi (936B - text/x-patch - test for image.m)
file #32683:  1dimages_gnuplot.diff added by juanpi (2KiB - text/x-patch)

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by avinoam
  • -unavailable- added by juanpi (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
    Thu 29 Jan 2015 03:07:43 PM UTCmtmillerDependencies-=>bugs #44114 is dependent
    Mon 22 Dec 2014 03:44:22 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 16 Dec 2014 07:23:26 PM UTCavinoamCarbon-Copy-=>Added avinoam
    Tue 16 Dec 2014 06:27:09 PM UTCjuanpiAttached File-=>Added 1dimages_gnuplot_test.diff, #32684
    Tue 16 Dec 2014 05:13:38 PM UTCjuanpiAttached File-=>Added 1dimages_gnuplot.diff, #32683

    Back to the top


    Powered by Savane 3.1-cleanup1