[Top][All Lists]

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

[Octave-bug-tracker] [bug #49243] printing causes error when figure axes

From: Rik
Subject: [Octave-bug-tracker] [bug #49243] printing causes error when figure axes has color "none"
Date: Sun, 2 Oct 2016 14:31:50 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #3, bug #49243 (project octave):

We could check what Matlab does when both the figure and axes color properties
are set to "none".  But, this is such an extreme corner case I'm not that
worried if we aren't compatible or don't fix it.  OpenGl seems to choose a
black pixel when there is nothing to display.  I guess the other choice would
be a white pixel, but I'm not sure why one choice would be better than

At least for printing, with "inverthardcopy" set to "off", the figures seem
correct with the white of the page showing through.

Test code:

close all
graphics_toolkit fltk
plot (1:10, "o-b", "linewidth", 5)
set (gca, "linewidth", 5, "xcolor", "r", "ycolor", "g");
set (gca, "color", "none");
set (gcf, "color", "none");
set (gcf, "inverthardcopy", "off");
print -dpsc2 tst.ps


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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