removing numbers on axis without removing the grid lines
60 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Suleyman Deveci
am 11 Mär. 2013
Kommentiert: Igor Gitelman
am 30 Nov. 2022
Hi all
When I use following command to remove numbers on the -y axis of a graph, it also removes the grid lines. How can I keep the grid lines?
set(gca,'YTick',[])
Regards
Suleyman
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (2)
Achilleas
am 23 Jul. 2018
The aforementioned solution didn't work for me, meaning that I wasn't able to activate the grid minor choice.
So, I used this 'xticklabel',num2str('').
1 Kommentar
C. Nwachoma
am 25 Sep. 2018
How do you reverse the process in case you remove the numbering on the wrong axis?
0 Kommentare
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!