Text instead of values in tick
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jakub
am 29 Sep. 2013
Beantwortet: Azzi Abdelmalek
am 29 Sep. 2013
How can I have text for example: a,b,c,d instead of 1,2,3,4 in xtick? Matlab always tells me that these values must be numeric...Thanks
0 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 29 Sep. 2013
set(gca,'xtick',[1 2 3 4],'xticklabel',{'a','b','c','d'})
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!