I would like to change the color of the background for the whole plot (including axes, titles, legend etc). Actually there are no problems with making different the part of background that lies beyond the plot itself.
How can I do the same with the margins?
All white areas on the picture should become gray.