What's the corresponding function to "xtickformat" in Matlab R2015a?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Mohamed Nedal
am 11 Mai 2017
Kommentiert: Manoj
am 29 Jul. 2018
Hello, I want to use the function:
xtickformat('hh:mm')
in Matlab R2015a, but it told me:
Undefined function or variable 'xtickformat'.
How can I fix this?
Akzeptierte Antwort
Star Strider
am 11 Mai 2017
3 Kommentare
Walter Roberson
am 11 Mai 2017
What is the class() of your data on the x axis?
Note: you need to re-do the datetick() after each zoom or pan. datetick() sets the axes xticklabel property to particular strings, and is not able to update automatically when the tick locations change due to zoom or pan.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!