octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #51464] Line plotted over image only partially


From: Martin Kunz
Subject: [Octave-bug-tracker] [bug #51464] Line plotted over image only partially visible when print()ed
Date: Fri, 14 Jul 2017 03:55:21 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <http://savannah.gnu.org/bugs/?51464>

                 Summary: Line plotted over image only partially visible when
print()ed
                 Project: GNU Octave
            Submitted by: mkunz
            Submitted on: Fri 14 Jul 2017 07:55:18 AM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: mkunz
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

The following script


figure (1)
imagesc (magic (4))
hold on
line ([1,1,4,4], [1,4,1,4])
hold off
print -dpng -r0 lineOnImage.png
print -dpdf -r0 lineOnImage.pdf


produces on screen a line with three segments over an image (see
lineOnImageScreenshot.png) as expected. When saving to PNG or PDF, the first
two segments are missing (see other attached files). This happens with all
graphics toolkits.

By taking apart the PDF in Inkscape, I found that the first two lines are
present, but hidden behind the image.

I am using Octave 4.2.1 from https://ftp.gnu.org/gnu/octave/windows/:


>> ver ("Octave")
----------------------------------------------------------------------
GNU Octave Version: 4.2.1
GNU Octave License: GNU General Public License
Operating System: MINGW32_NT-6.1 Windows 7 Service Pack 1 x86_64
----------------------------------------------------------------------






    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 14 Jul 2017 07:55:18 AM UTC  Name: lineOnImageScreenshot.png  Size:
32kB   By: mkunz

<http://savannah.gnu.org/bugs/download.php?file_id=41201>
-------------------------------------------------------
Date: Fri 14 Jul 2017 07:55:18 AM UTC  Name: lineOnImage.png  Size: 4kB   By:
mkunz

<http://savannah.gnu.org/bugs/download.php?file_id=41202>
-------------------------------------------------------
Date: Fri 14 Jul 2017 07:55:18 AM UTC  Name: lineOnImage.pdf  Size: 3kB   By:
mkunz

<http://savannah.gnu.org/bugs/download.php?file_id=41203>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51464>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]