Grid and fill color with background
Posted: Mon May 24, 2010 9:43 am
Hi,
I ran into two unsuspected behaviors when having a background image in the plot:
1) When setting grid color to fully (! rgb 255-255-255) white then the grid becomes black instead of white (also without background image).
2a) Fill between curves: when choosing User Defined then the selected pattern color is not 100% saturated but blended with the background image and grid. It looks like it's a "Multiply" blending type.
I used a "dot" or rather "filled circle" pattern when I found this behavior.
2b) See 2a; when color "white" is selected then the pattern gets invisible instead of "white". Strangely this is not the case with the non-User Defined patterns.
I suppose the white issue in 2 is just a workaround to avoid the no-color blocks (white) in the pattern designer to be visible. Image editors deal with that by using a fourth "alpha" (transparency) channel (next to the three R, G and B channels).
However, with avoiding the use of alpha channels I suppose it's better to choose an uncomon color for the "no color blocks" (e.g. 255,255,254) instead of white so a pure white-colored pattern can be drawn.
Roberto
I ran into two unsuspected behaviors when having a background image in the plot:
1) When setting grid color to fully (! rgb 255-255-255) white then the grid becomes black instead of white (also without background image).
2a) Fill between curves: when choosing User Defined then the selected pattern color is not 100% saturated but blended with the background image and grid. It looks like it's a "Multiply" blending type.
I used a "dot" or rather "filled circle" pattern when I found this behavior.
2b) See 2a; when color "white" is selected then the pattern gets invisible instead of "white". Strangely this is not the case with the non-User Defined patterns.
I suppose the white issue in 2 is just a workaround to avoid the no-color blocks (white) in the pattern designer to be visible. Image editors deal with that by using a fourth "alpha" (transparency) channel (next to the three R, G and B channels).
However, with avoiding the use of alpha channels I suppose it's better to choose an uncomon color for the "no color blocks" (e.g. 255,255,254) instead of white so a pure white-colored pattern can be drawn.
Roberto