write_plot_file function

Create the OGRDB style plot file