[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: color "none" for figures
From: |
Thorsten Meyer |
Subject: |
Re: color "none" for figures |
Date: |
Sun, 07 Feb 2010 16:29:41 +0100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.22 (X11/20090706) |
David Bateman wrote:
> Thorsten Meyer wrote:
>> Hi,
>>
>> attached is a little patch, which allows a value of "none" for the
>> "color"
>> property of a figure.
>> Example:
>> plot(1,1)
>> set(gcf, "color", [1 0 0]); # yellow background
>> set(gcf, "color", "none"); # transparent background
>>
> This should also be done for the axes as the axes and figures are
> treated separately. Shouldn't "none" be the default color for the
> figure and axes?
For axes, there already is a color value "none" and it leads to
transparent axes (which is particularly useful, when plotting two axes
on top of each other).
Before the changes in 1e38d9ed1e28 (and related), no color was drawn for
axes and figure in the gnuplot backend which is equivalent to "none".
I would also be happy with "none" as default. Only the matlab default
happens to be light gray for the figure background and white for axes.
Thorsten