TEMPLATE FOR PLOTTING