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

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

[Octave-bug-tracker] [bug #46425] black fill when saving some plots


From: anonymous
Subject: [Octave-bug-tracker] [bug #46425] black fill when saving some plots
Date: Thu, 12 Nov 2015 01:31:31 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0

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

                 Summary: black fill when saving some plots
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 12 Nov 2015 01:31:30 AM UTC
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: None
             Assigned to: None
         Originator Name: Maksim Grinman
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

octave> plot(rand(3))  % I see a colored plot with 3 lines
octave> print(2,'test.pdf','-debug')
---- begin /tmp/oct-AnIoEw.ps ----
%!PS-Adobe-3.0
<< /Margins [0 0] /.HWMargins [0 0 0 0] /PageOffset [18 180] >> setpagedevice
%%EOF
----- end /tmp/oct-AnIoEw.ps -----
Ghostscript command: '/usr/bin/gs -dQUIET -dNOPAUSE -dBATCH -dSAFER
-sDEVICE=pdfwrite -dLanguageLevel=2 -dEmbedAllFonts=true -dOptimize=true
-dEPSCrop -sPAPERSIZE=letter -dFIXEDMEDIA -sOutputFile="test.pdf"
/tmp/oct-AnIoEw.ps /tmp/oct-wLu5fG.eps'
gnuplot-pipeline: '/usr/bin/gs -dQUIET -dNOPAUSE -dBATCH -dSAFER
-sDEVICE=pdfwrite -dLanguageLevel=2 -dEmbedAllFonts=true -dOptimize=true
-dEPSCrop -sPAPERSIZE=letter -dFIXEDMEDIA -sOutputFile="test.pdf"
/tmp/oct-AnIoEw.ps /tmp/oct-wLu5fG.eps ; rm /tmp/oct-wLu5fG.eps ; rm
/tmp/oct-AnIoEw.ps'

The generated test.pdf shows an x and y axis but the graph is a large black
filled rectangle.

Saving as png or jpg has the same result, but saving as svg does not have this
problem.

Some plots do not have this problem. The following plot does not have this
problem:

octave> clf()
octave> surf(peaks)

Saving that outputs the expected color graph.

My setup:
4.2.3-1-ARCH (Arch Linux)
GNU Octave, version 4.0.0
GPL Ghostscript 9.18 (2015-10-05)





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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