bugGNU Octave - Bugs: bug #48760, image() output in figure...

 
 

bug #48760: image() output in figure incorrectly placed when printing with pdflatex

Submitter:  Matt Turner <mdturner>
Submitted:  Fri 12 Aug 2016 02:33:19 AM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 04 Sep 2016 05:17:43 PM UTC, comment #4: 

The patch has been merged upstream. I think we can close this report.

Pantxo Diribarne <pantxo>
Group Member
Fri 02 Sep 2016 03:57:05 PM UTC, comment #3: 

Changing status to Postponed.  This is an upstream bug that will be fixed when gl2ps is updated.

Rik <rik5>
Group administrator
Fri 02 Sep 2016 09:58:47 AM UTC, comment #2: 

Hi,

This is a bug in the PDF terminal of gl2ps which we actually only use for pdflatex output. Regular PDF files are the result of EPS to PDF conversion. I posted a patch on gl2ps mailing list and will post back here when I have news.

Pantxo Diribarne <pantxo>
Group Member
Fri 12 Aug 2016 11:08:45 PM UTC, comment #1: 

Confirmed.  This seems to only affect image primitive objects.  I checked with line(), patch(), and surface() and those objects correctly show up in the pdf file.

Rik <rik5>
Group administrator
Fri 12 Aug 2016 02:33:19 AM UTC, original submission:  

I created a figure using image() and then used the pdflatex output to save it.  In the resulting PDF the axes are placed properly, but the image is placed outside of the axes.


MWE:

close all;
M = 20*rand(100,100);
image(M);
print -dpdflatex test


Output attached.

Matt Turner <mdturner>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #38186:  test-inc.pdf added by mdturner (32KiB - application/pdf - PDF output by MWE)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mdturner (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
    2016-09-05 rik5 Open/ClosedOpen Closed
    2016-09-04 pantxo StatusPostponed Fixed
    2016-09-02 rik5 StatusConfirmed Postponed
    2016-08-12 rik5 StatusNone Confirmed
        Release4.0.0 dev
    2016-08-12 mdturner Attached File- Added test-inc.pdf, #38186

    Back to the top

    Powered by Savane 3.14-8aba.
    Corresponding source code