library(timeline) Gen<-c("大正","昭和","平成") Group<-rep("元号",3) StartDate<-as.Date(c("1912/07/30","1926/12/25","1989/01/08") ) EndDate<-c(as.Date(c("1926/12/24","1989/01/07") ),Sys.Date()+365*10) # Gengo<-data.frame(Gen,Group,StartDate,EndDate) # Event<-c("北但馬地震","北丹後地震","日向灘で地震","河内大和地震","日向灘で地震","日向灘で地震","鳥取地震","東南海地震","三河地震","南海地震", "和歌山県南方沖で地震","紀伊水道で地震","福井地震","安芸灘で地震","徳島県南部で地震","日向灘で地震","えびの地震","日向灘で地震","三重県南東沖で地震","日向灘で地震","日向灘で地震", "兵庫県南部地震","鹿児島県北西部地震","鳥取県西部地震","芸予地震","紀伊半島南東沖地震","福岡県西方沖地震","淡路島付近で\n地震","薩摩半島\n西方沖地震","熊本地震","鳥取県中部\nで地震") Date<-as.Date(c("1925/5/23","1927/3/7","1931/11/2","1936/2/21","1939/3/20","1941/11/19","1943/9/10","1944/12/7","1945/1/13","1946/12/21", "1948/4/18","1948/6/15","1948/6/28","1949/7/12","1955/7/27","1961/2/27","1968/2/21","1968/4/1","1984/1/1","1984/8/7","1987/3/18", "1995/1/17","1997/5/13","2000/10/6","2001/3/24","2004/9/5","2005/3/20","2013/4/13","2015/11/14","2016/4/16","2016/10/21") ) Side<-rep("Axis",31) eq.events<-data.frame(Event,Date,Side) #png("eqtimeline01.png",width=800,height=600) timeline(Gengo,eq.events, event.spots=12, num.label.steps = 10, event.label='', event.above=FALSE,event.text.size = 4,event.label.method=1) + labs(title="西日本で起きた主な地震(北但馬地震(1925/5/23) 〜 鳥取県中部地震(2016/10/21))") #dev.off()
|