Unwanted black background on a figure

Whenever I run this code, I always get a black background on a figure, but I need it to be white.
load noisdopp; x = noisdopp;
wpt = wpdec(x,3,'db1','shannon');
plot(wpt);
I have no idea why it's like this.

 Risposta accettata

Matt J
Matt J il 9 Giu 2023
Modificato: Matt J il 9 Giu 2023
I have no idea why it's like this.
That seems to be the default color scheme, judging from this doc page,
You can change the axes background color to white by doing,
set(axHandle, 'Color','white')
but the yellow lettering in the left hand subplot will be difficult to read on a white background.

Più risposte (1)

Charles Rice
Charles Rice il 21 Gen 2026
This might be too late, but if you go to Settings>Appearance there is a "Desktop Theme" and a "Figure Theme" farther down the page.

Categorie

Scopri di più su Wavelet Toolbox in Centro assistenza e File Exchange

Prodotti

Release

R2023a

Richiesto:

il 8 Giu 2023

Risposto:

il 21 Gen 2026

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by