How can I disable the background grid of a text box inside the graph in matlab R2019b?.
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
ANIRBAN MAJUMDAR
el 2 de Feb. de 2020
Comentada: Caroline Hamilton Smith
el 18 de Nov. de 2024 a las 2:22
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 comentarios
Respuesta aceptada
Roshni Garnayak
el 7 de Feb. de 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:
1 comentario
Más respuestas (0)
Ver también
Categorías
Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!