axis off sets background color back to white despite set(gca....
54 views (last 30 days)
Biraj Khanal on 26 Jan 2022
Edited: Biraj Khanal on 26 Jan 2022
The axis off does not set your 'background color' to default. It removes the axes from the figure making it practically hide it. This is why you see the default background. Just turn the axis on to see the axis of which you set the color to black.