【发布时间】:2012-05-04 09:57:00
【问题描述】:
我试图让 x 轴标签在条形图上旋转 45 度,但没有运气。这是我下面的代码:
barplot(((data1[,1] - average)/average) * 100,
srt = 45,
adj = 1,
xpd = TRUE,
names.arg = data1[,2],
col = c("#3CA0D0"),
main = "Best Lift Time to Vertical Drop Ratios of North American Resorts",
ylab = "Normalized Difference",
yaxt = 'n',
cex.names = 0.65,
cex.lab = 0.65)
【问题讨论】:
标签: r graph plot bar-chart axis-labels