Using datetick in boxplot
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi! I try to get time labels on the x-axis of an boxplot but there seems to be a bug. I got a data array data4plot(18,23) and the time in datenum-format time4plot(18,1). In the simple plot routine everything looks nice, but trying this with boxplot, the dates seem to be set back to 1.1.0000 and I got wrong labels.
if true
plot(time4plot, data4plot)
datetick('x', 15)
boxplot(data4plot',time4plot)
datetick('x', 15)
end
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171095/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171096/image.jpeg)
0 Kommentare
Antworten (1)
Siehe auch
Kategorien
Mehr zu Axis Labels finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!