bugGNU Octave - Bugs: bug #41872, fltk: 'patch' object covers grid...

 
 

bug #41872: fltk: 'patch' object covers grid when printed to image file

Submitted by:  sergey plotnikov <nul0m>
Submitted on:  Fri 14 Mar 2014 04:27:49 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: DuplicateAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.8.1Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 15 Apr 2014 08:32:54 AM UTC, comment #4:

Sorry, I've just found this is being discussed as bug #35648. Could anyone close this as a duplicate?
Will copy my comment there.

sergey plotnikov <nul0m>
Tue 15 Apr 2014 08:21:47 AM UTC, comment #3:

This looks like a problem of sorting when rendering an image with gl2ps. We chose not to sort primitives of 2D images and according to gl2ps documentation they are output in stream in the order they appear in the feedback buffer.

In case we don't switch off the sorting for 2D images (comment out the line 71 (my cset is 6a4b7ccc60b1) of lininterp/corefcn/gl2ps-renderer.cc) output image has grid before the patch object.

As to the issue noticed by Ma Jun, it's still there and I'm going to make another bug report if this wasn't yet reported.

sergey plotnikov <nul0m>
Sun 16 Mar 2014 09:19:53 AM UTC, comment #2:

Actually, this message was supposed to show bug with printing to an image, but you're right there's one more issue with patch object: at axes created in Octave patch object appears behind grid, when in Matlab it by default covers grid lines.

Just to concentrate on the problem I initially wanted to highlight, please use the following piece of code.

When run in Matlab this will make both Matlab figure and eps-file with grid before the patch. But in eps-file created by Octave grid lines appears behind the patch notwithstanding at the corresponding Octave figure grid is drawn on the top layer.

sergey plotnikov <nul0m>
Sun 16 Mar 2014 07:55:02 AM UTC, comment #1:

I tried this on MATLAB, that patch apperas before the grid, too.
but if you plot patch([1 1 1.5 2],[1 2 3 1], [1 0.8 1]) instead, you can see the grids in the blank.

Ma Jun <yefllower>
Fri 14 Mar 2014 04:27:49 PM UTC, original submission:

Despite it is shown behind axes at original figure, when printed to image file 'patch' object appears before the grid.

sergey plotnikov <nul0m>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

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 yefllower (Posted a comment)
  • -unavailable- added by nul0m (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 16 Apr 2014 12:42:53 AM UTCrik5StatusNone=>Duplicate
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1