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

 
 

bug #43836: rgbplot composite and image fail to plot

Submitter:  Juan Pablo Carbajal <juanpi>
Submitted:  Tue 16 Dec 2014 05:13:38 PM UTC
   
 
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  juanpi Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group Member
Tue 16 Dec 2014 05:13:38 PM UTC, original submission:  

the following code


close all
graphics_toolkit gnuplot
rgbplot(jet(16),'composite')


will produce the same error as this other code


close all
graphics_toolkit gnuplot
image(1:8)


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>
Group Member

 

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

Attach Files:
   
   
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
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by avinoam
  • -email is unavailable- added by juanpi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-01-29 mtmiller Dependencies- bugs #44114 is dependent
    2014-12-22 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
    2014-12-16 avinoam Carbon-Copy- Added avinoam
    2014-12-16 juanpi Attached File- Added 1dimages_gnuplot_test.diff, #32684
    2014-12-16 juanpi Attached File- Added 1dimages_gnuplot.diff, #32683

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code