man<-c(288.6,253.3,257.7,301.6,266.9,268.2,284.3,312.3,319.6,305.8,320.6,322.3,413.8,364.4,287.4,302.7, 308.5,304.2,312.0,306.2,303.7,316.8,337.8,318.9,319.5,330.0,352.2,312.7,323.9,296.1,273.6,272.7,300.0, 309.3,287.9,286.7,299.1,288.7,283.9,308.6,267.5,276.4,281.6,283.8,267.6,283.0,251.4) woman<-c(209.4,187.2,194.6,215.8,198.4,198.8,210.5,229.2,221.3,217.3,238.3,248.9,298.0,265.2,212.5,223.2, 225.5,215.4,225.2,219.8,217.6,231.9,240.0,225.4,227.2,247.6,257.8,240.3,246.6,219.7,216.2,213.4,220.2, 227.2,213.5,217.9,215.4,214.0,211.5,224.3,194.6,198.5,203.0,211.9,200.4,204.8,193.6) kyuyo<-data.frame(man,woman) rownames(kyuyo)<-c("北海道","青森","岩手","宮城","秋田","山形","福島","茨城","栃木","群馬","埼玉","千葉","東京","神奈川", "新潟","富山","石川","福井","山梨","長野","岐阜","静岡","愛知","三重","滋賀","京都","大阪","兵庫", "奈良","和歌山","鳥取","島根","岡山","広島","山口","徳島","香川","愛媛","高知","福岡","佐賀","長崎", "熊本","大分","宮崎","鹿児島","沖縄") head(kyuyo);tail(kyuyo) png("bou03.png",width=1000,height=800) b<-barplot(t(kyuyo), col = c("lightblue", "pink"), beside = TRUE,las=1,names=rep("",47)) text((b[2,1:47]+b[1,1:47])/2,-5,labels=tate(colnames(t(kyuyo))),srt=0,xpd=TRUE,pos=1,col=c(rep("black",30),"red",rep("black",16))) abline(h=seq(100,400,50),col="gray",lty=3) legend("topleft", legend =c("男性","女性"),bg = "white", fill = c("lightblue", "pink")) title("平成26年賃金構造基本統計調査:都道府県別・男女別所定内給与額(千円)")
|