Plotting - Writing data (100%)