1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| pdf(file = 'calibrate.pdf', width = 6, height = 6);{plot(cal_0,lwd=2,lty=1, errbar.col='#0072B5AA', xlab='Nomogram-Predicted Probability of DFS', ylab='Actual DFS(proportion)', col='#BC3C29AA', xlim = c(0.1,1),ylim = c(0.1,1), mgp = c(2, 1, 0)) plot(cal_1,lwd=2,lty=1, errbar.col='#20854EAA', col='#E18727AA', add = T, xlim = c(0.1,1),ylim = c(0.1,1), mgp = c(2, 1, 0)) plot(cal_2,lwd=2,lty=1, errbar.col='#6F99ADAA', col='#EE4C97AA', add = T, xlim = c(0.1,1),ylim = c(0.1,1), mgp = c(2, 1, 0)) legend("bottomleft",c('1-year', '3-year', '5-year'), col=c("#BC3C29AA","#E18727AA","#EE4C97AA"),lty=1,lwd=2)};dev.off()
|