Can I change default settings of plot
Ältere Kommentare anzeigen
I am new to MATLAB. When I use plot command, it displays the graph but by default grid is OFF. I have to use grid on command, each & every time I use the plot command. Is there a way that will turn grid on with the plot command?
Akzeptierte Antwort
Weitere Antworten (1)
Arvind Srivastav
am 31 Okt. 2019
0 Stimmen
Why does it show only verticle lines?
1 Kommentar
Steven Lord
am 31 Okt. 2019
Because Stephen only changed the default value for the axes object's XGrid property.
Setting DefaultAxesXGrid changes the
Default value of
(future) Axes objects'
XGrid property
There are corresponding YGrid and ZGrid properties.
Kategorien
Mehr zu Graphics Object Properties finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
