How can I disable the background grid of a text box inside the graph in matlab R2019b?.
12 views (last 30 days)
Roshni Garnayak on 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: