bugGNU Octave - Bugs: bug #45832, surface print contains holes...

 
 

bug #45832: surface print contains holes (Windows only)

Submitted by:  None
Submitted on:  Thu 27 Aug 2015 08:24:22 AM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: ConfirmedAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: OpenRelease: 4.2.0
Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 29 Dec 2016 10:58:14 PM UTC, comment #5:

I have tested this with Octave 4.2.0 under Windows XP.

Using the test code from comment #2 I see:

  • The resulting pdf files do not have "holes" any more.
  • But the figures in the pdf files are now both cropped at the top.
Hartmut <hardy>
Wed 02 Sep 2015 07:21:15 PM UTC, comment #4:

I have run this script on Linux machine (ubuntu) with gl2ps-1.3.8 and there is no problem. May it's a ghostscript problem,
Octave 4.0.0 os bundlesd with 1.3.8.

(BTW: using
print test.ps
with MXE-Octave on windows creates a monochrome postscript, and not
colored).

Avinoam Kalma <avinoam>
Project Member
Mon 31 Aug 2015 03:54:26 PM UTC, comment #3:

I can confirm this on a Windows XP virtual machine. The problem is only with OpenGL, gnuplot printing works fine and can be a workaround for the original bug reporter.

The plot is also fine on a Linux machine that uses gl2ps-1.3.6. MXE Octave is using gl2ps-1.3.8 now which could be the issue. I don't know what version of gl2ps was bundled with 4.0.0.

Rik <rik5>
Project Administrator
Mon 31 Aug 2015 04:03:28 AM UTC, comment #2:

The script is probably:

I presume that the bug is related to gl2ps, because plotting with
gnuplot does not produce this "holes" in the image.
The catogory should be changed to "Plotting with OpenGL".

Avinoam Kalma <avinoam>
Project Member
Thu 27 Aug 2015 06:34:09 PM UTC, comment #1:

Could you upload the sample script, or re-post on the bug tracker but use the verbatim tags?

Sample verbatim usage:

Rik <rik5>
Project Administrator
Thu 27 Aug 2015 08:24:22 AM UTC, original submission:

The script

set (gcf, "papersize", [6.4, 4.8])
set (gcf, "paperposition", [0, 0, 6.4, 4.8])
colormap(jet);
[x,y] = meshgrid(0:.1:5);
z=2.5 + 2.5tanh( (1-(x-3).(x-3)-5.(y-4).(y-4))*5 );
surf(x,y,z);
print -mono test1.pdf
print test2.pdf

leads to pdf's with "holes" as attached.
See e.g. the corner near (5,5)

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #34756:  test1.pdf added by None (141KiB - application/pdf)
file #34757:  test2.pdf added by None (140KiB - application/pdf)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by hardy (Posted a comment)
  • -unavailable- added by avinoam (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  •  

    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
    Fri 30 Dec 2016 12:39:40 AM UTCrik5Release4.0.0=>4.2.0
    Mon 31 Aug 2015 03:54:26 PM UTCrik5CategoryPlotting=>Plotting with OpenGL
      StatusNeed Info=>Confirmed
      Summarysurface print contains holes=>surface print contains holes (Windows only)
    Thu 27 Aug 2015 06:34:09 PM UTCrik5StatusNone=>Need Info
    Thu 27 Aug 2015 08:24:22 AM UTCNoneAttached File-=>Added test1.pdf, #34756
      Attached File-=>Added test2.pdf, #34757

    Back to the top


    Powered by Savane 3.1-cleanup1