Plot1 code and file