我似乎無法獲得我需要在x軸上出現的所有日期。日期跨度從1996 - 2017年,但我只能讓R顯示2000 - 2015年。我對R相當陌生,對類似問題的其他答案沒有多大幫助。將所有元素添加到x軸,R
breaks <- seq(1996,2017,1)
with(gamePlot, hist(gamePlot$Date, breaks,
las=2,
col=rainbow(20),
xlim=c(1996,2017),
cex.axis=0.6,
xlab="Year Released",
main="Frequency of top rated games by year"))