I have a yearly x-axis 1998-2014. As you can see on the picture below, in front of every year is an 'X'
How can I remove this?
I also want written every year vertical below every bar. And the values of every bar in the red and green part visible...
I wrote this code:
d=read.delim("LW_Einkommen.csv", sep=";", dec=".", header=TRUE, row.names=1)
str(d)
da=data.matrix(d, rownames.force = NA)
da
barplot(da,
main="ø Einkommen CH Landwirtschaftsbetriebe 1998-2014",
xlab="Jahr",
ylab="Einkommen pro Betrieb [CHF]",
ylim=c(0, 100000),
col=c("red","green"),
cex.axis = 0.9, cex.lab = 0.9)
grid(col="black")
legend("bottomleft",
c("Landwirtschaftliches Einkommen","Ausserlandwirtschaftliches Einkommen"),
fill=c("red","green"))