Code and Graphs for Appendix