gridx=c(seq(2*dt,0.09,0.01),seq(0.1,0.9,0.1),seq(1,10,1)) gridy=c(seq(0.001,0.009,0.001),seq(0.01,0.09,0.01),seq(0.1,0.9,0.1),seq(1,9,1),seq(10,90,10),seq(100,900,100),seq(1000,10000,1000)) par(mfrow=c(1,3),family="TakaoPMincho") plot(resEW$tk,resEW$resacc,type="l",log="xy",las=1,col="red",xlab="Period (sec)",ylab="",lwd=1.5, panel.first = abline(v=gridx,h=gridy,col="lightgray",lty ="dotted")) lines(resNS$tk,resNS$resacc,col="blue",lwd=1.5) lines(resUD$tk,resUD$resacc,col="green",lwd=1.5) mtext(text=" h=0.05",side=3,line=0,adj=0) title("加速度応答スペクトル") legend( "bottomleft", c("NS","EW","EW"), col = c("blue","red","green"), lty = c(1,1,1), lwd = c(2,2,2), bg = "white" ) plot(resEW$tk,resEW$resvel,type="l",log="xy",,las=1,col="red",xlab="Period (sec)",ylab="",lwd=1.5, panel.first = abline(v=gridx,h=gridy,col="lightgray",lty="dotted")) lines(resNS$tk,resNS$resvel,col="blue",lwd=1.5) lines(resUD$tk,resUD$resvel,col="green",lwd=1.5) mtext(text=" h=0.05",side=3,line=0,adj=0) title("速度応答スペクトル") legend( "bottomright", c("NS","EW","EW"), col = c("blue","red","green"), lty = c(1,1,1), lwd = c(2,2,2), bg = "white" ) plot(resEW$tk,resEW$resdis,type="l",log="xy",,las=1,col="red",xlab="Period (sec)",ylab="",lwd=1.5, panel.first = abline(v=gridx,h=gridy,col="lightgray",lty = "dotted")) lines(resNS$tk,resNS$resdis,col="blue",lwd=1.5) lines(resUD$tk,resUD$resdis,col="green",lwd=1.5) mtext(text=" h=0.05",side=3,line=0,adj=0) title("変位応答スペクトル") legend( "bottomright", c("NS","EW","EW"), col = c("blue","red","green"), lty = c(1,1,1), lwd = c(2,2,2), bg = "white" ) par(mfrow=c(1,1))
|