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

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

[Octave-bug-tracker] [bug #52306] Cannot set figure background color whe


From: Etienne Dechamps
Subject: [Octave-bug-tracker] [bug #52306] Cannot set figure background color when print()ing to an image file
Date: Sun, 29 Oct 2017 15:09:59 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0

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

                 Summary: Cannot set figure background color when print()ing
to an image file
                 Project: GNU Octave
            Submitted by: edechamps
            Submitted on: Sun 29 Oct 2017 08:09:58 PM CET
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

On Debian Sid, octave 4.2.1-4+b1:


graphics_toolkit('fltk')
fplot(@(x) sin(x), [0 2*pi])
set(gcf(), 'Color', [1 0 0])
print('foo.jpg', '-djpg')


Expected result: foo.jpg contains a red background.

Actual result: foo.jpg contains a white background.

Additional information:

- In the window output the background color is correct. It's only wrong in the
resulting image file.

- This affects at least JPG, PNG, and SVG output. I have not tested others.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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