How can I disable the background grid of a text box inside the graph in matlab R2019b?.
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
ANIRBAN MAJUMDAR
il 2 Feb 2020
Risposto: Roshni Garnayak
il 7 Feb 2020
I do not want to disable the grid line of entire graph page, only want to disable the grid line of the background of a text box.
0 Commenti
Risposta accettata
Roshni Garnayak
il 7 Feb 2020
The default background color of the textbox is set to 'none' which renders it transparent. You can remove the gridlines by changing the 'BackgroundColor' property of the textbox to 'white' or any color you wish. Let t be the textbox object. The following code will change the background color:
t.BackgroundColor = 'white';
Refer to the following link for more details on the properties of a textbox:
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Annotations in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!