bugGNU Octave - Bugs: bug #44114, image: plotting a 1D image fails...

 
 

bug #44114: image: plotting a 1D image fails with gnuplot

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Thu 29 Jan 2015 03:46:54 AM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: DuplicateAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.8.2Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 29 Jan 2015 03:07:43 PM UTC, comment #5:

Thanks for catching this Avinoam! I was only testing with stable and gui-release, neglected to try in the default branch. Closing as a duplicate of bug #43836. The fix for this bug will be released with Octave 4.2.

Mike Miller <mtmiller>
Project Administrator
Thu 29 Jan 2015 02:21:15 PM UTC, comment #4:

Hi,

I think that this bug has already been fixed.
Please see bug 43836

Avinoam Kalma <avinoam>
Project Member
Thu 29 Jan 2015 06:26:51 AM UTC, comment #3:

Much nicer...

Lachlan Andrew <lachlan>
Project Member
Thu 29 Jan 2015 06:02:10 AM UTC, comment #2:

I think since this works already when plotting with OpenGL, the appropriate place to fix it is in the Gnuplot plotting routines.

How about the attached patch instead, which works for me and produces the same axis that I get with FLTK.

(file #32933)

Mike Miller <mtmiller>
Project Administrator
Thu 29 Jan 2015 04:41:06 AM UTC, comment #1:

Good timing! I was just about to report that error.

Try the attached patch.

(file #32932)

Lachlan Andrew <lachlan>
Project Member
Thu 29 Jan 2015 03:46:54 AM UTC, original submission:

The following two examples work with FLTK:

but not with Gnuplot. The error prints something like this from Gnuplot to the console:

Mike Miller <mtmiller>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #32933:  gnuplot-1d-image.diff added by mtmiller (949B - text/x-patch)
file #32932:  image.patch added by lachlan (752B - text/x-patch)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by avinoam (Posted a comment)
  • -unavailable- added by lachlan (Updated the item)
  • -unavailable- added by mtmiller (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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 29 Jan 2015 03:08:00 PM UTCmtmillerStatusPatch Submitted=>Duplicate
    Thu 29 Jan 2015 03:07:43 PM UTCmtmillerOpen/ClosedOpen=>Closed
      Dependencies-=>Depends on bugs #43836
    Thu 29 Jan 2015 06:02:10 AM UTCmtmillerAttached File-=>Added gnuplot-1d-image.diff, #32933
      StatusNone=>Patch Submitted
      Operating SystemGNU/Linux=>Any
    Thu 29 Jan 2015 04:41:06 AM UTClachlanAttached File-=>Added image.patch, #32932

    Back to the top


    Powered by Savane 3.1-cleanup1